Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Rain Script(local)
- script.Parent=nil
- sz=400
- rt=10 flg=true
- height=400
- game:FindFirstChildOfClass("Players").LocalPlayer.Chatted:connect(function(msg)if tostring(msg)=="!stoprain"then flg=false script:Remove()end end)
- while wait()and flg do
- for i=1,rt do
- local part=Instance.new("Part")part.Size=Vector3.new(0,0,0)part.Material="Neon"part.Shape="Ball"part.Color=Color3.new(1,1,1)part.CanCollide=false part.Transparency=1
- local a1=Instance.new("Attachment",part)a1.Position=Vector3.new(.1,0,0)local a2=Instance.new("Attachment",part)a2.Position=Vector3.new(-.1,0,0)
- local Trail=Instance.new("Trail",part)Trail.Attachment0=a1 Trail.Attachment1=a2 part.Position=Vector3.new(math.random(sz)-math.random(sz),height,math.random(sz)-math.random(sz))
- Trail.FaceCamera=true Trail.Transparency=NumberSequence.new(0,1)Trail.Lifetime=.1 Trail.Color=ColorSequence.new(Color3.new(.2,.4,1))Trail.LightEmission=0
- part.Touched:connect(function()part.Anchored=true wait(.1)part:Destroy()end)
- part.Parent=workspace.CurrentCamera
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement