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

How do you disable the player's force field?

I did this once before, I think using the StarterPlayer options, but now I can't find it. Can someone help me?

1 comment

0

player.Character:FindFirstChild('ForceField'):Destroy()

3 answers

Find your spawn location in studio and find its forcefield area in its properties. Then change its duration to 0.

1 comment

0

nevder seen that

Code:

game:GetService("Players").PlayerAdded:connect(function(plr) --When a player joins
	plr.CharacterAdded:connect(function(chr) --When the player's character loads
		wait(0.55) --Waits for half a second DONT REMOVE
		local ff = chr:FindFirstChild("ForceField") --Finds the FF (ForceField)
		if ff then --Checks if the FF is there
			ff:Desroy() --Deletes the FF
		else
			plr:Kick("Your device is too slow!") --Kicks the player if their device is too slow
		end
	end)
end)

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