#Need Help Created A Safezone

7 messages · Page 1 of 1 (latest)

hollow wigeon
#

This is a local script

#

They put it in the startergui so I just did the same

#

makeForceFieldRemote.OnServerEvent:Connect(function(player, MakeForceField)
    
    if MakeForceField == true then
        
        local forceField = Instance.new("ForceField")
        forceField.Parent = player.Character
        
    else
        
        player.Character:FindFirstChild("ForceField"):Destroy()
    end
end)
#

And then this is a regular script in serverscriptservice

#

there is a remoteevent in the replicatedstorage called MakeForceField

#

I mean sometimes it does this tho