Advertisement
moathon

scriptPart6

Apr 29th, 2019
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. script.Name = "cooleffects"
  2. script.Parent = game.Workspace.firemomo45["Za Wardo"]
  3. light = script.Parent.Handle.PointLight
  4. light.Enabled = true
  5. local newcolor = Color3.new(255,0,4)
  6. local smesh = script.Parent.SphereMesh:Clone()
  7. local point = Instance.new("Part",script.Parent)
  8. point.Reflectance = 0.1
  9. point.Transparency = 0.1
  10. point.Position = script.Parent.Handle.Position
  11. point.Anchored = true
  12. point.CanCollide = false
  13. smesh.Parent = point
  14. smesh.Decal.Parent = point
  15. wait()
  16. for i=1,23 do
  17. smesh.Scale = smesh.Scale + Vector3.new(3,3,3)
  18. if light.Range < 60 then
  19. light.Range = light.Range + 15
  20. end
  21. point.Color = newcolor
  22. light.Color = newcolor
  23. newcolor = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  24. wait(.1)
  25. end
  26. for i=1,5 do
  27. light.Range = light.Range-15
  28. point.Transparency = point.Transparency + .25
  29. smesh.Scale = smesh.Scale + Vector3.new(30,30,30)
  30. light.Range = light.Range - 15
  31. point.Color = newcolor
  32. light.Color = newcolor
  33. newcolor = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
  34. wait(.1)
  35. end
  36. wait()
  37. light.Enabled = false
  38. point:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement