Advertisement
Chxp

Untitled

Aug 24th, 2015
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. p = Instance.new("Part",workspace) --Means create a part in the workspace and call it p
  2. p.Anchored = true --We named it p so we can keep doing stuff to it by doing this
  3. p.CFrame = CFrame.new(10,2,10) --Changes it's Coordinate Frame simple terms: Position
  4. local colors = {
  5. Color3.new(255, 0, 0),
  6. Color3.new(255, 102, 0),
  7. Color3.new(255, 255, 0),
  8. Color3.new(0, 255, 0),
  9. Color3.new(0, 0, 255),
  10. Color3.new(75, 0, 130),
  11. Color3.new(111, 0, 255)
  12. }
  13.  
  14. for i,v in pairs(colors) do
  15. local particle = Instance.new("ParticleEmitter", character.Torso)
  16. particle.Name = "Sparkely"
  17. particle.Size = NumberSequence.new(0.2, 0.2)
  18. particle.LightEmission = -10
  19. particle.Texture = "http://www.roblox.com/asset/?id=288956816"
  20. particle.Lifetime = NumberRange.new(5, 5)
  21. particle.Rate = 100
  22. particle.Speed = NumberRange.new(10, 10)
  23. particle.VelocitySpread = 100
  24. particle.Color = ColorSequence.new(v, v)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement