Like for example, if a person joined, they would get an ff. How can I do that?`
Simple. You use the PlayerAdded
event. But fist, we must make a function that creates the force field.
function CreateFF(player) Instance.new("ForceField",player.Character) --Creates a new force field in the player's character end
Now that we've done that, all we need to do is connect()
the function to the PlayerAdded
event.
function CreateFF(player) Instance.new("ForceField",player.Character) end game.Players.PlayerAdded:connect(CreateFF)
Hope I helped!
~I went from 15 to 0 reputation for no apparent reason. If I helped you, please vote me up and accept my answer and we will both get points!~