getgenv().Config = {
AutoFarmStages = true,
}
local function GetCharacter()
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
return LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
end
local function GetHRP()
return GetCharacter():WaitForChild("HumanoidRootPart")
end
local TP = workspace.Arrow:GetChildren()
task.spawn(function() -- by AGAIN
while task.wait() do
if not getgenv().Config.AutoFarmStages then continue end
if getgenv().Config.AutoFarmStages then
for _, Pos in ipairs(TP) do
if Pos:IsA("BasePart") then
local Hrp = GetHRP()
Hrp.CFrame = Pos.CFrame
end
end
end
end
end)
Comments
No comments yet
Be the first to share your thoughts!