i want to add several instances of Sparkles to the torso of every player that enters my game and i', extremely new at scripting so can you help me please?
COMMUNITY QUESTION
how do you find a player's torso?
2 answers
Or you could do it when the enter the game immediately.
game.Players.PlayerAdded:connect(function(sparkles)
wait(4) --Gives enough time for player to load, or you could wait for the character using a function.
local torso = sparkles.LocalPlayer.Torso
local spark = Instance.new("Sparkles", torso)
spark.Name = "Sparkles"
--Just copy the local spark thing but rename spark to spark2 or spark3 or spark4 etc..
end)
Here's how you find a Player's Torso in a LocalScript.
local Player = game.Players.LocalPlayer
Torso = Player.Character.Torso
This discussion is preserved as it was. New answers, comments, and votes are closed.
