Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you disable the player's force field?

Asked by 6 years ago

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

0
player.Character:FindFirstChild('ForceField'):Destroy() hellmatic 1523 — 6y

3 answers

Log in to vote
0
Answered by 6 years ago

Instance:Destroy()

Ad
Log in to vote
0
Answered by 6 years ago

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

0
nevder seen that ILikeTofuuJoe 1 — 6y
Log in to vote
0
Answered by 6 years ago

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)

Answer this question