speed = 16
function run(torso)
torso.Velocity = torso.CFrame.lookVector * speed
end
function onRespawn(player)
player.Character.Humanoid.Running:connect(function() run(player.Character.Torso) end)
end
function onEntered(player)
player.Changed:connect(function(property)
if property == "Character" then
onRespawn(player)
end
end)
end
game.Players.PlayerAdded:connect(onEntered)
------------------------------------------------------------
?-Anaminus-? |