Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Name = "cooleffects"
- script.Parent = game.Workspace.firemomo45["Za Wardo"]
- light = script.Parent.Handle.PointLight
- light.Enabled = true
- local newcolor = Color3.new(255,0,4)
- local smesh = script.Parent.SphereMesh:Clone()
- local point = Instance.new("Part",script.Parent)
- point.Reflectance = 0.1
- point.Transparency = 0.1
- point.Position = script.Parent.Handle.Position
- point.Anchored = true
- point.CanCollide = false
- smesh.Parent = point
- smesh.Decal.Parent = point
- wait()
- for i=1,23 do
- smesh.Scale = smesh.Scale + Vector3.new(3,3,3)
- if light.Range < 60 then
- light.Range = light.Range + 15
- end
- point.Color = newcolor
- light.Color = newcolor
- newcolor = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- wait(.1)
- end
- for i=1,5 do
- light.Range = light.Range-15
- point.Transparency = point.Transparency + .25
- smesh.Scale = smesh.Scale + Vector3.new(30,30,30)
- light.Range = light.Range - 15
- point.Color = newcolor
- light.Color = newcolor
- newcolor = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- wait(.1)
- end
- wait()
- light.Enabled = false
- point:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement