of     1   

Spoookd
#183020706Friday, February 05, 2016 3:06 AM GMT

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)
Kyfhor
#183021297Friday, February 05, 2016 3:16 AM GMT

didnt test this so yea, local enabled = true game.Players.PlayerAdded:connect(function(Player) if Player and enabled then enabled = false Player.CharacterAdded:connect(function(Char) local bodyForce = Instance.new("BodyForce", Char.Torso) bodyForce.force = Vector3.new(0, 2000, 0) wait(3) enabled = true end) end end)
Spoookd
#183028414Friday, February 05, 2016 5:38 AM GMT

Thanks! It worked!

    of     1