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.
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)