Thank you for using our website
Your script:
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local orbsFolder = game.Workspace:WaitForChild("Orbs")
game:GetService("RunService").Heartbeat:Connect(function()
for _, orb in pairs(orbsFolder:GetChildren()) do
local mainPart = orb:FindFirstChild("Main")
if mainPart and mainPart:IsA("BasePart") then
mainPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
end
end
end)
game:GetService("RunService").Heartbeat:Connect(function()
for _, orb in pairs(orbsFolder:GetChildren()) do
local hitbox = orb:FindFirstChild("Hitbox")
if hitbox and hitbox:IsA("BasePart") then
hitbox.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
end
end
end)