I am trying to change the gravity of a player when the player joins but it doesnt work and nothing shows up in the output.
enabled = true
game.Players.PlayerAdded:connect(function(joined)
wait(1)
if joined and enabled then
enabled = false
local bodyForce = Instance.new("BodyForce", joined.Torso)
bodyForce.force = Vector3.new(0, 2000, 0)
wait(3)
enabled = true
end
end) |