Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = Instance.new("Part",workspace) --Means create a part in the workspace and call it p
- p.Anchored = true --We named it p so we can keep doing stuff to it by doing this
- p.CFrame = CFrame.new(10,2,10) --Changes it's Coordinate Frame simple terms: Position
- local colors = {
- Color3.new(255, 0, 0),
- Color3.new(255, 102, 0),
- Color3.new(255, 255, 0),
- Color3.new(0, 255, 0),
- Color3.new(0, 0, 255),
- Color3.new(75, 0, 130),
- Color3.new(111, 0, 255)
- }
- for i,v in pairs(colors) do
- local particle = Instance.new("ParticleEmitter", character.Torso)
- particle.Name = "Sparkely"
- particle.Size = NumberSequence.new(0.2, 0.2)
- particle.LightEmission = -10
- particle.Texture = "http://www.roblox.com/asset/?id=288956816"
- particle.Lifetime = NumberRange.new(5, 5)
- particle.Rate = 100
- particle.Speed = NumberRange.new(10, 10)
- particle.VelocitySpread = 100
- particle.Color = ColorSequence.new(v, v)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement