Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a script, where when you spawn you are automatically unFF?

While building an obby in ROBLOX Studio, I have discovered I need a script to unFF people.

3 answers

Insert a Spawn and Change the properties to your liking.

On player login remove the "ForceField" instance like this:

game.Players.PlayerAdded:connect(function(p)
	p.Character:connect(function(c) -- On character loaded
		local ff = c:FindFirstChild("ForceField")
		while not ff do wait() end -- While it doesn't exists the game just waits for it to be loaded
		ff:Destroy()
	end)
end)

You do not need to have a script to remove your FF. Inside the spawn, there are properties to set how long your FF is going to last, you can set that to zero and no ff.

This discussion is preserved as it was. New answers, comments, and votes are closed.