local Players, RunService, ReplicatedStorage = game:GetService("Players"), game:GetService("RunService"), game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local speedEvent = ReplicatedStorage.Modules.Shared.RemoteEventService.AddSpeedRemoteEvent
_G.AutoSpeed, _G.AutoTP = true, true
if getconnections then
for _, c in pairs(getconnections(LocalPlayer.leaderstats.Speed.Changed)) do c:Disable() end
end
task.spawn(function()
while task.wait() do if _G.AutoSpeed then speedEvent:FireServer() end end
end)
local function startTP()
local char = LocalPlayer.Character
if not char then return end
local root, target = char:WaitForChild("HumanoidRootPart"), workspace.Wins["14"]
root.CFrame = target:GetPivot()
task.wait(2)
local cached = target:WaitForChild("Touch").CFrame
local conn
conn = RunService.Heartbeat:Connect(function()
if not _G.AutoTP or not char.Parent then conn:Disconnect() return end
root.CFrame = cached
root.AssemblyLinearVelocity = Vector3.zero
end)
end
LocalPlayer.CharacterAdded:Connect(function() task.wait(1) startTP() end)
if LocalPlayer.Character then startTP() end
Comments
how do i make it stop?
how do i make it stop