Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Speed changes to 24 but the character is still as fast as 16? [SOLVED: ROBLOX STUDIO BUG]

Asked by 3 years ago
Edited 3 years ago

So uhhh, Roblox Studio was being very buggy and they had a weird bug but it is now fixed and roblox studio just needed an update.

1 answer

Log in to vote
0
Answered by 3 years ago

Hope this helps! :D Just tell me if you have any questions.

local TeleportPart = workspace.YourPartHere
script.Parent.Touched:Connect(function(hit)
    if hit.Parent:findFirstChild("Humanoid") then
        hit.Parent.Humanoid.WalkSpeed = 24
        wait(10)
        hit.Parent.HumanoidRootPart.CFrame = TeleportPart.CFrame
        hit.Parent.Humanoid.WalkSpeed = 16
        script:Destroy()
    end
end)
Ad

Answer this question