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

How do I make particles fly in place in the sky?

Asked by
Hwk3r 0
6 years ago
game.Players.PlayerAdded:connect(function(plr) --Define Player
    plr.CharacterAdded:connect(function(char) --Define Character
    local name = plr.Name
    if name == "(roblox updated, so the name for the players using it will vary)" then
        local sparkles = Instance.new("Sparkles", char.Torso)
        sparkles.Enabled = true
        sparkles.SparkleColor = Color3.new(255, 255, 0)
     end
    end)
end)
0
I was given this, but its for the player. not the game Hwk3r 0 — 6y
0
Hm..I dont really understand this HeComesAt_Night 116 — 6y

1 answer

Log in to vote
0
Answered by
zyrun 168
6 years ago

I don't know what you're asking. If you want particles in the "sky" (game.Workspace?), not the player, thne you could use a particle emitter, or if you're intent on using sparkles just do this:

local SparklePart = Instance.new("Part", game.Workspace) -- This is the part with the sparkles
    Part.Anchored = true -- Makes the part stay in place
    Part.CFrame = CFrame.new(0, 0, 0) -- The exact placement that you want the sparkles. The 0s are X, Y, and Z. 

local sparkles = Instance.new("Sparkles", SparklePart)
    sparkles.Enabled = true
    sparkles.SparkleColor = Color3.new(255, 255, 0)

If you're looking for particle emitters, look up "Particle Emitters ROBLOX" or something... Hope This helped! - Zyrun

Ad

Answer this question