If i were to set a forcefields duration off of a spawn location to the maximum amount of time and then when the game begins I want them to fall onto a brick and it removes it. How would I do that? Please help it means the whole world to people who take time to. <3 to helpers c:
1 | game.Players.PlayerAdded:connect( function (plr) --detect when a player joins |
2 | plr.CharacterAdded:connect( function (chr) --when a player respawns |
3 | while chr:FindFirstChild( "Force Field" ) ~ = nil do wait() end --wait for forcefield to load |
4 | local ff = chr:FindFirstChild( "Force Field" ) --create a variable |
5 | ff:remove() --remove forcefield |
6 | end ) |
7 | end ) |