View difference between Paste ID: bXgPNH3b and RNExWFAd
SHOW: | | - or go back to the newest paste.
1
-----No names needed-----
2
3
local player=game.Players.LocalPlayer
4
local char=player.Character
5
repeat wait() until player and char
6
local torso=char.Torso
7
local head=char.Head
8
local human=char.Humanoid
9
local hat
10
for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
11
local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
12
local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
13
local c=function(f) coroutine.resume(coroutine.create(f)) end
14
pcall(function() torso.roblox:clone().Parent=fake.Torso torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end)
15
local add={
16
	Part=function(par, a, c, col, t, s, cf)
17
		local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
18
		return p
19
	end,
20
	Weld=function(par, p1, cf)
21
		local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
22
		return w
23
	end,
24
	Mesh=function(ins, par, s, of, t)
25
		local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end)
26
		return m
27
	end
28
}
29
local scriptname="Flash"
30
pcall(function() char[scriptname]:remove() end)
31
local model=Instance.new("Model", char) model.Name=scriptname
32
local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
33-
local skincolor="local red, green, blue = Utility.GetRainbowRGB(tick())
33+
local skincolor="Really black"
34-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)"
34+
35
local weld={}
36
local mesh={}
37
fake.arm={}
38
fake.leg={}
39
fake.torso=nil
40
fake.Mesh={} fake.Weld={}
41
--====--
42
weld.arm={}
43
weld.leg={}
44
weld.torso=nil
45
--====--
46
mesh.arm={}
47
mesh.leg={}
48
--==FAKE, MESH, WELDZ==--
49
fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(0, 0, 0), nil)
50-
fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
50+
fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(0, 0, 0), nil)
51-
fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
51+
fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(0, 0, 0), nil)
52-
fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
52+
fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(0, 0, 0), nil)
53-
fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
53+
fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(0, 0, 0), nil)
54-
fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
54+
55
-------------------------
56
mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(0, 0, 0), Vector3.new(0, -.5, 0), nil)
57-
mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
57+
mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(0, 0, 0), Vector3.new(0, -.5, 0), nil)
58-
mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
58+
mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(0, 0, 0), Vector3.new(0, -.5, 0), nil)
59-
mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
59+
mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(0, 0, 0), Vector3.new(0, -.5, 0), nil)
60-
mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
60+
61
weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0))
62
weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0))
63
weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0))
64
weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0))
65
weld.torso=add.Weld(torso, fake.torso, nil)
66
weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0))
67
pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end)
68
--==MANA==--
69
local gui=Instance.new("ScreenGui", player.PlayerGui)
70
local label=Instance.new("TextLabel", gui)
71
label.Text="--==100%==--"
72
label.Position=UDim2.new(0, 0, 0, 200)
73
label.Size=UDim2.new(0, 200, 0, 20)
74
label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.Black()
75-
label.BorderColor=BrickColor.local red, green, blue = Utility.GetRainbowRGB(tick())
75+
label.TextColor=BrickColor.Black()
76-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)() label.BackgroundColor=BrickColor.local red, green, blue = Utility.GetRainbowRGB(tick())
76+
77-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)()
77+
78-
label.TextColor=BrickColor.local red, green, blue = Utility.GetRainbowRGB(tick())
78+
79-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)()
79+
80
charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Black() charge.Transparency=.5
81
----------------------------------------------------------------------------------------------
82
local walkspeed=110 --Flash :D
83
local dmg=math.random(45, 78)
84-
charge.BorderColor=BrickColor.local red, green, blue = Utility.GetRainbowRGB(tick())
84+
85-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)k() charge.BackgroundColor=BrickColor.local red, green, blue = Utility.GetRainbowRGB(tick())
85+
86-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)() charge.Transparency=.5
86+
87
88
function hit(h)
89
	local humanoid=h.Parent:findFirstChild("Humanoid")
90
	if humanoid and h.Parent~=char and hDeb==false then
91
		hDeb=true
92
		--c(function()
93
			local fakeP=add.Part(workspace, true, false, "Black", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
94
			local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
95
			c(function()
96
				for i=0, 1, .05 do
97
					wait()
98
					fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0)
99-
			local fakeP=add.Part(workspace, true, false, "local red, green, blue = Utility.GetRainbowRGB(tick())
99+
100-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
100+
101
			end)
102
			c(function()
103
				for i=0, 1, .05 do
104
					wait()
105
					fakeP.Transparency=0.5
106
				end
107
			end)
108
			humanoid.Health=humanoid.Health-dmg
109
			local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
110
			local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
111
			local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head"
112
			local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil)
113
			local bp=Instance.new("BodyPosition", fakeP) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
114
			game.Debris:addItem(fakeM, 2)
115
			pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end)
116
			pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end)
117
		wait()
118
		hDeb=false
119
		--end)
120
	end
121
end
122
123
function trail(pos, cf, col)
124
	c(function()
125
		local old=(pos.CFrame*cf).p
126
		while tdeb==true do
127
			wait()
128
			local new=(pos.CFrame*cf).p
129
			local mag=(old-new).magnitude
130
			local dis=(old+new)/2
131
			local trail=add.Part(workspace, true, false, col, 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))*CFrame.Angles(math.pi/2, 0, 0))
132
			local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
133
			trail.Touched:connect(hit)
134
			old=new
135
			c(function()
136
				for i=1, 0, -.2 do
137
					wait()
138
					trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i)
139
				end
140
				trail:remove()
141
			end)
142
			c(function()
143
				for i=0, 1, .2 do
144
					wait()
145
					trail.Transparency=i
146
				end
147
			end)
148
		end
149
	end)
150
end
151
bin.Selected:connect(function(mouse)
152
	for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Black") end
153
	c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end)
154
	human.WalkSpeed=walkspeed
155
	human.MaxHealth=math.huge
156
	human.Running:connect(function(speed)
157
		if speed>0 then
158
			for i=0, 1, .1 do
159-
	for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "local red, green, blue = Utility.GetRainbowRGB(tick())
159+
160-
                                frame.BackgroundColor3 = Color3.new(0.6 * red, 0.6 * green, 0.65 * blue)") end
160+
161
				weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i)
162
				weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i)
163
			end
164
			while speed>0 do
165
				wait()
166
				for i=0, 1, .1 do
167
					wait()
168
					weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
169
					weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
170
					weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
171
					weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
172
				end
173
				for i=1, 0, -.1 do
174
					wait()
175
					weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0)
176
					weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0)
177
					weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45))
178
					weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45))
179
				end
180
			end
181
		end
182
	end)
183
end)--mediafire