View difference between Paste ID: Eef6DtLw and ft8f7xf6
SHOW: | | - or go back to the newest paste.
1
--Rain Script by Matteo
2
local Player=game:GetService("Players").LocalPlayer
3
local char=Player.Character
4
5
6
local basey = game.Workspace
7
8
if game.Workspace:findFirstChild("Baseplate") then
9
	basey = game.Workspace.Baseplate
10
end
11
12
if game.Workspace:findFirstChild("BasePlate") then
13
	basey = game.Workspace.BasePlate
14
end
15
16
if game.Workspace:findFirstChild("Base") then
17
	basey = game.Workspace.Base
18
end
19
20
if game.Workspace:findFirstChild("base") then
21
	basey = game.Workspace.base
22
end
23
24
local Cloud = Instance.new("Part",workspace)
25
Cloud.BottomSurface = "Smooth"
26
Cloud.TopSurface = "Smooth"
27
Cloud.formFactor = "Custom"
28
Cloud.Size = Vector3.new(4, 1, 2)
29
Cloud.Transparency = 0
30
Cloud.Anchored = true
31
Cloud.Name = "Cloud"
32
33
local s=Instance.new("Sound")
34
s.SoundId="http://www.roblox.com/asset/?id=236148388"
35
s.PlayOnRemove=false
36
s.Volume=1
37
s.Looped=true
38
s.Pitch = 1
39
s.Parent=Cloud
40
s:Play()
41
42
local cloudmesh = Instance.new("SpecialMesh",Cloud)
43
cloudmesh.MeshType="FileMesh"
44
cloudmesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
45
cloudmesh.TextureId = "http://www.roblox.com/asset/?id=39246613"
46
cloudmesh.Scale = Vector3.new(10, 10, 10)
47
48
local vf = Vector3.new(basey.Position.x,10,-4.2)
49
Cloud.CFrame = CFrame.new(char["Left Leg"].Position + vf)
50
Cloud.CFrame = CFrame.new(Cloud.CFrame.x,Cloud.CFrame.y,Cloud.CFrame.z) * CFrame.Angles(0,0,3)
51
52
local emit = Instance.new('ParticleEmitter', Cloud)
53
	    emit.Size = NumberSequence.new(5,5,5)
54-
		emit.Texture = "http://www.roblox.com/asset/?id=266002131"
54+
		emit.Texture = "http://www.roblox.com/asset/?id=8482185"
55
		emit.LightEmission = 0.3
56
		emit.Lifetime = NumberRange.new(10)
57
		emit.Rate = 35
58
		emit.Speed = NumberRange.new(16)
59
		emit.VelocitySpread = 1