View difference between Paste ID: jqhdCQCt and 9zsKTaqZ
SHOW: | | - or go back to the newest paste.
1
script.Parent = nil
2
3
4
function weld(w, p, p0, p1, a, b, c, x, y, z)
5
w.Parent = p
6
w.Part0 = p0
7
w.Part1 = p1
8
w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
9
end
10
11
12
function clouds(player)
13
	local ring = Instance.new("Part",player.Character)
14
	ring.Size = Vector3.new(1,1,1)
15
	ring.CanCollide = false
16
	ring.Transparency = 0.1
17
	ring.BrickColor = BrickColor.new("Bright yellow")
18
	local mes = Instance.new("SpecialMesh",ring)
19
	mes.MeshId = "http://www.roblox.com/asset/?id=3270017"
20
	mes.Scale = Vector3.new(1.4,1.4,1.4)
21
	ring:BreakJoints()
22
	local w = Instance.new("Weld")
23
	weld(w,player.Character.Head,player.Character.Head,ring,1.57,0,0,0,-1.2,0)
24
	local xd = Instance.new("BodyVelocity",player.Character.Torso)
25
	xd.maxForce = Vector3.new(math.huge,math.huge,math.huge)
26
	xd.velocity = Vector3.new(0,10,0)
27
	for _,v in pairs(player.Character:children()) do
28
		if v.className == "Hat" then
29
			v:remove()
30
		end
31
	end
32
	local mainpos = player.Character.Torso.Position + Vector3.new(0,200,0)
33
	player.Character.Humanoid.PlatformStand = true
34
	local rw = Instance.new("Weld")
35
	weld(rw,player.Character.Torso,player.Character.Torso,player.Character["Right Arm"],-2.7,0.3,1,-1.8,-0.9,0)
36
	local lw = Instance.new("Weld")
37
	weld(lw,player.Character.Torso,player.Character.Torso,player.Character["Left Arm"],-2.7,-0.3,-1,1.8,-0.9,0)
38
	for i=1, math.random(25,60) do
39
		local rpx = math.random(-140,140)
40
		local rpz = math.random(-230,230)
41
		local sca = math.random(30,70)
42
		local cloud = Instance.new("Part",workspace)
43
		cloud.CanCollide = false
44
		cloud.Transparency = 1
45
		cloud.BrickColor = BrickColor.new("Light blue")
46
		cloud.CanCollide = false
47
		cloud.CFrame = CFrame.new(mainpos) * CFrame.new(rpx,math.random(-40,40),rpz)
48
		cloud:BreakJoints()
49
		local mesh = Instance.new("SpecialMesh",cloud)
50
		mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
51
		mesh.Scale = Vector3.new(sca*2,sca*1.3,sca*2.2)
52
		local bv = Instance.new("BodyVelocity",cloud)
53
		bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
54
		if rpz > 0 then
55
			bv.velocity = Vector3.new(0,0,math.random(-26,-14))
56
		else
57
			bv.velocity = Vector3.new(0,0,math.random(14,26))
58
		end
59
		coroutine.resume(coroutine.create(function()
60
			for o=1, 0.1, -0.04 do
61
				wait(0.2)
62
				cloud.Transparency = o
63
			end
64
			wait(6)
65
			bv:remove()
66
			cloud.Anchored = true
67
			wait(16)
68
			for o=0.1, 1, 0.05 do
69
				wait(0.04)
70
				cloud.Transparency = o
71
			end
72
			cloud:remove()
73
		end))
74
	end
75
	wait(26)
76
	xd:remove()
77
	ring:remove()
78
end
79
80
function goto(plr)
81
	local mk = true
82
	if plr.Character then
83
		local hum = plr.Character:findFirstChild("Humanoid")
84
		if hum ~= nil then
85
			hum.HealthChanged:connect(function(hp)
86
				if hp < 9 then
87
					if mk then
88
						mk = false
89
						hum.MaxHealth = math.huge
90
						hum.Health = math.huge
91
						clouds(plr)
92
						wait(28)
93
						mk = true
94
					end
95
				end
96
			end)
97
		end
98
	end
99
end
100
101
function change(plr)
102
	plr.Changed:connect(function(prop)
103
		if prop == "Character" then
104
			goto(plr)
105
		end
106
	end)
107
end
108
109-
goto(game.Players.xSoulStealerx)
109+
goto(game.Players.timetodie23232223)
110-
change(game.Players.xSoulStealerx)
110+
change(game.Players.timetodie23232223)