SHOW:
|
|
- or go back to the newest paste.
1 | --Edited by vEvent | |
2 | local p = game.Players.LocalPlayer | |
3 | local char = p.Character | |
4 | local mouse = p:GetMouse() | |
5 | local larm = char["Left Arm"] | |
6 | local rarm = char["Right Arm"] | |
7 | local lleg = char["Left Leg"] | |
8 | local rleg = char["Right Leg"] | |
9 | local hed = char.Head | |
10 | local torso = char.Torso | |
11 | local hum = char.Humanoid | |
12 | local cam = game.Workspace.CurrentCamera | |
13 | local root = char.HumanoidRootPart | |
14 | hed.BrickColor = BrickColor.new("Bright red") | |
15 | s = Instance.new('Sound',char) | |
16 | s.SoundId = "rbxassetid://183907931" | |
17 | s.Volume=3 | |
18 | s.Pitch = 1 | |
19 | s.Looped = true | |
20 | s:Play() | |
21 | local deb = false | |
22 | local shot = 0 | |
23 | local debris=game:service"Debris" | |
24 | local l = game:GetService("Lighting") | |
25 | local rs = game:GetService("RunService").RenderStepped | |
26 | hum.MaxHealth = math.huge | |
27 | hum.Health = math.huge | |
28 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
29 | math.randomseed(os.time()) | |
30 | for i,v in pairs(char:children()) do | |
31 | if v:IsA("Hat") then | |
32 | v:Destroy() | |
33 | end | |
34 | end | |
35 | for i,v in pairs (hed:GetChildren()) do | |
36 | if v:IsA("Sound") then | |
37 | v:Destroy() | |
38 | end | |
39 | end | |
40 | ||
41 | ||
42 | ---------------------------------------------------- | |
43 | Debounces = { | |
44 | CanAttack = true; | |
45 | NoIdl = false; | |
46 | Slashing = false; | |
47 | Slashed = false; | |
48 | RPunch = false; | |
49 | RPunched = false; | |
50 | LPunch = false; | |
51 | LPunched = false; | |
52 | } | |
53 | local Touche = {char.Name, } | |
54 | ---------------------------------------------------- | |
55 | hed.face.Texture = "rbxassetid://26434948" | |
56 | ---------------------------------------------------- | |
57 | ypcall(function() | |
58 | char.Shirt:Destroy() | |
59 | char.Pants:Destroy() | |
60 | shirt = Instance.new("Shirt", char) | |
61 | shirt.Name = "Shirt" | |
62 | pants = Instance.new("Pants", char) | |
63 | pants.Name = "Pants" | |
64 | char.Shirt.ShirtTemplate = "rbxassetid://377144207" | |
65 | char.Pants.PantsTemplate = "rbxassetid://232859458" | |
66 | end) | |
67 | ---------------------------------------------------- | |
68 | function lerp(a, b, t) -- Linear interpolation | |
69 | return a + (b - a)*t | |
70 | end | |
71 | ||
72 | function slerp(a, b, t) --Spherical interpolation | |
73 | dot = a:Dot(b) | |
74 | if dot > 0.99999 or dot < -0.99999 then | |
75 | return t <= 0.5 and a or b | |
76 | else | |
77 | r = math.acos(dot) | |
78 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
79 | end | |
80 | end | |
81 | ||
82 | function matrixInterpolate(a, b, t) | |
83 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
84 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
85 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
86 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
87 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
88 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
89 | local t = v1:Dot(v2) | |
90 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
91 | return CFrame.new() | |
92 | end | |
93 | return CFrame.new( | |
94 | v0.x, v0.y, v0.z, | |
95 | v1.x, v1.y, v1.z, | |
96 | v2.x, v2.y, v2.z, | |
97 | v3.x, v3.y, v3.z) | |
98 | end | |
99 | ---------------------------------------------------- | |
100 | function genWeld(a,b) | |
101 | local w = Instance.new("Weld",a) | |
102 | w.Part0 = a | |
103 | w.Part1 = b | |
104 | return w | |
105 | end | |
106 | function weld(a, b) | |
107 | local weld = Instance.new("Weld") | |
108 | weld.Name = "W" | |
109 | weld.Part0 = a | |
110 | weld.Part1 = b | |
111 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
112 | weld.Parent = a | |
113 | return weld; | |
114 | end | |
115 | ---------------------------------------------------- | |
116 | function Lerp(c1,c2,al) | |
117 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
118 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
119 | for i,v in pairs(com1) do | |
120 | com1[i] = v+(com2[i]-v)*al | |
121 | end | |
122 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
123 | end | |
124 | ---------------------------------------------------- | |
125 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
126 | local wld = Instance.new("Weld", wp1) | |
127 | wld.Part0 = wp0 | |
128 | wld.Part1 = wp1 | |
129 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
130 | end | |
131 | ---------------------------------------------------- | |
132 | function weld5(part0, part1, c0, c1) | |
133 | weeld=Instance.new("Weld", part0) | |
134 | weeld.Part0=part0 | |
135 | weeld.Part1=part1 | |
136 | weeld.C0=c0 | |
137 | weeld.C1=c1 | |
138 | return weeld | |
139 | end | |
140 | ---------------------------------------------------- | |
141 | function HasntTouched(plrname) | |
142 | local ret = true | |
143 | for _, v in pairs(Touche) do | |
144 | if v == plrname then | |
145 | ret = false | |
146 | end | |
147 | end | |
148 | return ret | |
149 | end | |
150 | ---------------------------------------------------- | |
151 | newWeld(torso, larm, -1.5, 0.5, 0) | |
152 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
153 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
154 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
155 | newWeld(torso, hed, 0, 1.5, 0) | |
156 | newWeld(torso, lleg, -0.5, -1, 0) | |
157 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
158 | newWeld(torso, rleg, 0.5, -1, 0) | |
159 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
160 | newWeld(root, torso, 0, -1, 0) | |
161 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
162 | ---------------------------------------------------- | |
163 | --[[z = Instance.new("Sound", char) | |
164 | z.SoundId = "rbxassetid://183907931"--183907931 | |
165 | z.Looped = true | |
166 | z.Pitch = 1 | |
167 | z.Volume = 1 | |
168 | wait(.1) | |
169 | z:Play()]] | |
170 | ---------------------------------------------------- | |
171 | local Transforming = true | |
172 | hum.WalkSpeed = 0 | |
173 | local fx = Instance.new("Part",torso) | |
174 | fx.Anchored = true | |
175 | fx.Material = "Neon" | |
176 | fx.CanCollide = false | |
177 | fx.Locked = true | |
178 | fx.Transparency = 1 | |
179 | fx.Material = "Granite" | |
180 | fx.Size = Vector3.new(1,1,1) | |
181 | fx.TopSurface = "SmoothNoOutlines" | |
182 | fx.BottomSurface = "SmoothNoOutlines" | |
183 | fx.BrickColor = BrickColor.new("Bright red") | |
184 | fxm = Instance.new("SpecialMesh",fx) | |
185 | fxm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
186 | fxm.Scale = Vector3.new(1,1,1) | |
187 | for i = 1, 20 do rs:wait() | |
188 | fx.Transparency = fx.Transparency - (1/20) | |
189 | fx.CFrame = torso.CFrame | |
190 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
191 | rs:wait() | |
192 | end | |
193 | ---------------------------------------------------- | |
194 | lleg.Transparency = 0.5 | |
195 | rleg.Transparency = 0.5 | |
196 | larm.Transparency = 0.5 | |
197 | rarm.Transparency = 0.5 | |
198 | torso.Transparency = 0.5 | |
199 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
200 | larm1 = Instance.new("Part", char) | |
201 | larm1.Name = "Middle" | |
202 | larm1.BrickColor = BrickColor.new("Bright red") | |
203 | larm1.Size = Vector3.new(1, 2, 1) | |
204 | larm1.CanCollide = false | |
205 | larm1.BottomSurface = "Smooth" | |
206 | larm1.TopSurface = "Smooth" | |
207 | larm1.Material = "Neon" | |
208 | Weld = Instance.new("Weld",larm) | |
209 | Weld.Part0 = larm | |
210 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
211 | Weld.Part1 = larm1 | |
212 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
213 | ||
214 | larm2 = Instance.new("Part", char) | |
215 | larm2.BrickColor = BrickColor.new("Bright red") | |
216 | larm2.Material = "Granite" | |
217 | larm2.Size = Vector3.new(1, 0.4, 1) | |
218 | larm2.CanCollide = false | |
219 | larm2.BottomSurface = "Smooth" | |
220 | larm2.TopSurface = "Smooth" | |
221 | Weld = Instance.new("Weld",larm) | |
222 | Weld.Part0 = larm | |
223 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
224 | Weld.Part1 = larm2 | |
225 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
226 | ||
227 | larm3 = Instance.new("Part", char) | |
228 | larm3.BrickColor = BrickColor.new("Bright red") | |
229 | larm3.Material = "Granite" | |
230 | larm3.Size = Vector3.new(1, 0.4, 1) | |
231 | larm3.CanCollide = false | |
232 | larm3.BottomSurface = "Smooth" | |
233 | larm3.TopSurface = "Smooth" | |
234 | Weld = Instance.new("Weld",larm) | |
235 | Weld.Part0 = larm | |
236 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
237 | Weld.Part1 = larm3 | |
238 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
239 | ||
240 | larm4 = Instance.new("Part", char) | |
241 | larm4.BrickColor = BrickColor.new("Bright red") | |
242 | larm4.Material = "Granite" | |
243 | larm4.Size = Vector3.new(1, 0.4, 1) | |
244 | larm4.CanCollide = false | |
245 | larm4.BottomSurface = "Smooth" | |
246 | larm4.TopSurface = "Smooth" | |
247 | Weld = Instance.new("Weld",larm) | |
248 | Weld.Part0 = larm | |
249 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
250 | Weld.Part1 = larm4 | |
251 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
252 | ||
253 | larm5 = Instance.new("Part", char) | |
254 | larm5.BrickColor = BrickColor.new("Bright red") | |
255 | larm5.Material = "Granite" | |
256 | larm5.Size = Vector3.new(1, 0.4, 1) | |
257 | larm5.CanCollide = false | |
258 | larm5.BottomSurface = "Smooth" | |
259 | larm5.TopSurface = "Smooth" | |
260 | Weld = Instance.new("Weld",larm) | |
261 | Weld.Part0 = larm | |
262 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
263 | Weld.Part1 = larm5 | |
264 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
265 | ||
266 | larm6 = Instance.new("Part", char) | |
267 | larm6.BrickColor = BrickColor.new("Bright red") | |
268 | larm6.Material = "Granite" | |
269 | larm6.Size = Vector3.new(1, 0.4, 1) | |
270 | larm6.CanCollide = false | |
271 | larm6.BottomSurface = "Smooth" | |
272 | larm6.TopSurface = "Smooth" | |
273 | Mesh = Instance.new("SpecialMesh", larm6) | |
274 | Mesh.MeshType = "Brick" | |
275 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
276 | Weld = Instance.new("Weld",larm) | |
277 | Weld.Part0 = larm | |
278 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
279 | Weld.Part1 = larm6 | |
280 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
281 | ||
282 | larm7 = Instance.new("Part", char) | |
283 | larm7.BrickColor = BrickColor.new("Really red") | |
284 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
285 | larm7.CanCollide = false | |
286 | larm7.BottomSurface = "Smooth" | |
287 | larm7.TopSurface = "Smooth" | |
288 | larm7.Material = "Neon" | |
289 | Weld = Instance.new("Weld",larm) | |
290 | Weld.Part0 = larm | |
291 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
292 | Weld.Part1 = larm7 | |
293 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
294 | ||
295 | larm8 = Instance.new("Part", char) | |
296 | larm8.BrickColor = BrickColor.new("Bright red") | |
297 | larm8.Material = "Granite" | |
298 | larm8.Size = Vector3.new(1, 0.4, 1) | |
299 | larm8.CanCollide = false | |
300 | larm8.BottomSurface = "Smooth" | |
301 | larm8.TopSurface = "Smooth" | |
302 | Weld = Instance.new("Weld",larm) | |
303 | Weld.Part0 = larm | |
304 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
305 | Weld.Part1 = larm8 | |
306 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
307 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
308 | rarm1 = Instance.new("Part", char) | |
309 | rarm1.Name = "Middle" | |
310 | rarm1.BrickColor = BrickColor.new("Really red") | |
311 | rarm1.Size = Vector3.new(1, 2, 1) | |
312 | rarm1.CanCollide = false | |
313 | rarm1.BottomSurface = "Smooth" | |
314 | rarm1.TopSurface = "Smooth" | |
315 | rarm1.Material = "Neon" | |
316 | Weld = Instance.new("Weld",rarm) | |
317 | Weld.Part0 = rarm | |
318 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
319 | Weld.Part1 = rarm1 | |
320 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
321 | ||
322 | rarm2 = Instance.new("Part", char) | |
323 | rarm2.BrickColor = BrickColor.new("Bright red") | |
324 | rarm2.Material = "Granite" | |
325 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
326 | rarm2.CanCollide = false | |
327 | rarm2.BottomSurface = "Smooth" | |
328 | rarm2.TopSurface = "Smooth" | |
329 | Weld = Instance.new("Weld",rarm) | |
330 | Weld.Part0 = rarm | |
331 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
332 | Weld.Part1 = rarm2 | |
333 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
334 | ||
335 | rarm3 = Instance.new("Part", char) | |
336 | rarm3.BrickColor = BrickColor.new("Bright red") | |
337 | rarm3.Material = "Granite" | |
338 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
339 | rarm3.CanCollide = false | |
340 | rarm3.BottomSurface = "Smooth" | |
341 | rarm3.TopSurface = "Smooth" | |
342 | Weld = Instance.new("Weld",rarm) | |
343 | Weld.Part0 = rarm | |
344 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
345 | Weld.Part1 = rarm3 | |
346 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
347 | ||
348 | rarm4 = Instance.new("Part", char) | |
349 | rarm4.BrickColor = BrickColor.new("Bright red") | |
350 | rarm4.Material = "Granite" | |
351 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
352 | rarm4.CanCollide = false | |
353 | rarm4.BottomSurface = "Smooth" | |
354 | rarm4.TopSurface = "Smooth" | |
355 | Weld = Instance.new("Weld",rarm) | |
356 | Weld.Part0 = rarm | |
357 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
358 | Weld.Part1 = rarm4 | |
359 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
360 | ||
361 | rarm5 = Instance.new("Part", char) | |
362 | rarm5.BrickColor = BrickColor.new("Bright red") | |
363 | rarm5.Material = "Granite" | |
364 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
365 | rarm5.CanCollide = false | |
366 | rarm5.BottomSurface = "Smooth" | |
367 | rarm5.TopSurface = "Smooth" | |
368 | Mesh = Instance.new("SpecialMesh", rarm5) | |
369 | Mesh.MeshType = "Brick" | |
370 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
371 | Weld = Instance.new("Weld",rarm) | |
372 | Weld.Part0 = rarm | |
373 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
374 | Weld.Part1 = rarm5 | |
375 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
376 | ||
377 | rarm6 = Instance.new("Part", char) | |
378 | rarm6.BrickColor = BrickColor.new("Bright red") | |
379 | rarm6.Material = "Granite" | |
380 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
381 | rarm6.CanCollide = false | |
382 | rarm6.BottomSurface = "Smooth" | |
383 | rarm6.TopSurface = "Smooth" | |
384 | Weld = Instance.new("Weld",rarm) | |
385 | Weld.Part0 = rarm | |
386 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
387 | Weld.Part1 = rarm6 | |
388 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
389 | ||
390 | rarm7 = Instance.new("Part", char) | |
391 | rarm7.BrickColor = BrickColor.new("Really red") | |
392 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
393 | rarm7.CanCollide = false | |
394 | rarm7.BottomSurface = "Smooth" | |
395 | rarm7.TopSurface = "Smooth" | |
396 | rarm7.Material = "Neon" | |
397 | Weld = Instance.new("Weld",rarm) | |
398 | Weld.Part0 = rarm | |
399 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
400 | Weld.Part1 = rarm7 | |
401 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
402 | ||
403 | rarm8 = Instance.new("Part", char) | |
404 | rarm8.BrickColor = BrickColor.new("Bright red") | |
405 | rarm8.Material = "Granite" | |
406 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
407 | rarm8.CanCollide = false | |
408 | rarm8.BottomSurface = "Smooth" | |
409 | rarm8.TopSurface = "Smooth" | |
410 | Weld = Instance.new("Weld",rarm) | |
411 | Weld.Part0 = rarm | |
412 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
413 | Weld.Part1 = rarm8 | |
414 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
415 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
416 | lleg1 = Instance.new("Part", char) | |
417 | lleg1.Name = "Middle" | |
418 | lleg1.BrickColor = BrickColor.new("Really red") | |
419 | lleg1.Size = Vector3.new(1, 2, 1) | |
420 | lleg1.CanCollide = false | |
421 | lleg1.BottomSurface = "Smooth" | |
422 | lleg1.TopSurface = "Smooth" | |
423 | lleg1.Material = "Neon" | |
424 | Weld = Instance.new("Weld",lleg) | |
425 | Weld.Part0 = lleg | |
426 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
427 | Weld.Part1 = lleg1 | |
428 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
429 | ||
430 | lleg2 = Instance.new("Part", char) | |
431 | lleg2.BrickColor = BrickColor.new("Bright red") | |
432 | lleg2.Material = "Granite" | |
433 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
434 | lleg2.CanCollide = false | |
435 | lleg2.BottomSurface = "Smooth" | |
436 | lleg2.TopSurface = "Smooth" | |
437 | Weld = Instance.new("Weld",lleg) | |
438 | Weld.Part0 = lleg | |
439 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
440 | Weld.Part1 = lleg2 | |
441 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
442 | ||
443 | lleg3 = Instance.new("Part", char) | |
444 | lleg3.BrickColor = BrickColor.new("Bright red") | |
445 | lleg3.Material = "Granite" | |
446 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
447 | lleg3.CanCollide = false | |
448 | lleg3.BottomSurface = "Smooth" | |
449 | lleg3.TopSurface = "Smooth" | |
450 | Weld = Instance.new("Weld",lleg) | |
451 | Weld.Part0 = lleg | |
452 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
453 | Weld.Part1 = lleg3 | |
454 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
455 | ||
456 | lleg4 = Instance.new("Part", char) | |
457 | lleg4.BrickColor = BrickColor.new("Bright red") | |
458 | lleg4.Material = "Granite" | |
459 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
460 | lleg4.CanCollide = false | |
461 | lleg4.BottomSurface = "Smooth" | |
462 | lleg4.TopSurface = "Smooth" | |
463 | Weld = Instance.new("Weld",lleg) | |
464 | Weld.Part0 = lleg | |
465 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
466 | Weld.Part1 = lleg4 | |
467 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
468 | ||
469 | lleg5 = Instance.new("Part", char) | |
470 | lleg5.BrickColor = BrickColor.new("Bright red") | |
471 | lleg5.Material = "Granite" | |
472 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
473 | lleg5.CanCollide = false | |
474 | lleg5.BottomSurface = "Smooth" | |
475 | lleg5.TopSurface = "Smooth" | |
476 | Weld = Instance.new("Weld",lleg) | |
477 | Weld.Part0 = lleg | |
478 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
479 | Weld.Part1 = lleg5 | |
480 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
481 | ||
482 | lleg6 = Instance.new("Part", char) | |
483 | lleg6.BrickColor = BrickColor.new("Bright red") | |
484 | lleg6.Material = "Granite" | |
485 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
486 | lleg6.CanCollide = false | |
487 | lleg6.BottomSurface = "Smooth" | |
488 | lleg6.TopSurface = "Smooth" | |
489 | Weld = Instance.new("Weld",lleg) | |
490 | Weld.Part0 = lleg | |
491 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
492 | Weld.Part1 = lleg6 | |
493 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
494 | ||
495 | lleg7 = Instance.new("Part", char) | |
496 | lleg7.BrickColor = BrickColor.new("Bright red") | |
497 | lleg7.Material = "Granite" | |
498 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
499 | lleg7.CanCollide = false | |
500 | lleg7.BottomSurface = "Smooth" | |
501 | lleg7.TopSurface = "Smooth" | |
502 | Weld = Instance.new("Weld",lleg) | |
503 | Weld.Part0 = lleg | |
504 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
505 | Weld.Part1 = lleg7 | |
506 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
507 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
508 | rleg1 = Instance.new("Part", char) | |
509 | rleg1.Name = "Middle" | |
510 | rleg1.BrickColor = BrickColor.new("Really red") | |
511 | rleg1.Size = Vector3.new(1, 2, 1) | |
512 | rleg1.CanCollide = false | |
513 | rleg1.BottomSurface = "Smooth" | |
514 | rleg1.TopSurface = "Smooth" | |
515 | rleg1.Material = "Neon" | |
516 | Weld = Instance.new("Weld",rleg) | |
517 | Weld.Part0 = rleg | |
518 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
519 | Weld.Part1 = rleg1 | |
520 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
521 | ||
522 | rleg2 = Instance.new("Part", char) | |
523 | rleg2.BrickColor = BrickColor.new("Bright red") | |
524 | rleg2.Material = "Granite" | |
525 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
526 | rleg2.CanCollide = false | |
527 | rleg2.BottomSurface = "Smooth" | |
528 | rleg2.TopSurface = "Smooth" | |
529 | Weld = Instance.new("Weld",rleg) | |
530 | Weld.Part0 = rleg | |
531 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
532 | Weld.Part1 = rleg2 | |
533 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
534 | ||
535 | rleg3 = Instance.new("Part", char) | |
536 | rleg3.BrickColor = BrickColor.new("Bright red") | |
537 | rleg3.Material = "Granite" | |
538 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
539 | rleg3.CanCollide = false | |
540 | rleg3.BottomSurface = "Smooth" | |
541 | rleg3.TopSurface = "Smooth" | |
542 | Weld = Instance.new("Weld",rleg) | |
543 | Weld.Part0 = rleg | |
544 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
545 | Weld.Part1 = rleg3 | |
546 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
547 | ||
548 | rleg4 = Instance.new("Part", char) | |
549 | rleg4.BrickColor = BrickColor.new("Bright red") | |
550 | rleg4.Material = "Granite" | |
551 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
552 | rleg4.CanCollide = false | |
553 | rleg4.BottomSurface = "Smooth" | |
554 | rleg4.TopSurface = "Smooth" | |
555 | Weld = Instance.new("Weld",rleg) | |
556 | Weld.Part0 = rleg | |
557 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
558 | Weld.Part1 = rleg4 | |
559 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
560 | ||
561 | rleg5 = Instance.new("Part", char) | |
562 | rleg5.BrickColor = BrickColor.new("Bright red") | |
563 | rleg5.Material = "Granite" | |
564 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
565 | rleg5.CanCollide = false | |
566 | rleg5.BottomSurface = "Smooth" | |
567 | rleg5.TopSurface = "Smooth" | |
568 | Weld = Instance.new("Weld",rleg) | |
569 | Weld.Part0 = rleg | |
570 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
571 | Weld.Part1 = rleg5 | |
572 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
573 | ||
574 | rleg6 = Instance.new("Part", char) | |
575 | rleg6.BrickColor = BrickColor.new("Bright red") | |
576 | rleg6.Material = "Granite" | |
577 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
578 | rleg6.CanCollide = false | |
579 | rleg6.BottomSurface = "Smooth" | |
580 | rleg6.TopSurface = "Smooth" | |
581 | Weld = Instance.new("Weld",rleg) | |
582 | Weld.Part0 = rleg | |
583 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
584 | Weld.Part1 = rleg6 | |
585 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
586 | ||
587 | rleg7 = Instance.new("Part", char) | |
588 | rleg7.BrickColor = BrickColor.new("Bright red") | |
589 | rleg7.Material = "Granite" | |
590 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
591 | rleg7.CanCollide = false | |
592 | rleg7.BottomSurface = "Smooth" | |
593 | rleg7.TopSurface = "Smooth" | |
594 | Weld = Instance.new("Weld",rleg) | |
595 | Weld.Part0 = rleg | |
596 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
597 | Weld.Part1 = rleg7 | |
598 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
599 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
600 | Chest1 = Instance.new("Part", char) | |
601 | Chest1.Name = "Ball" | |
602 | Chest1.BrickColor = BrickColor.new("Really red") | |
603 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
604 | Chest1.CanCollide = false | |
605 | Chest1.BottomSurface = "Smooth" | |
606 | Chest1.TopSurface = "Smooth" | |
607 | Chest1.Material = "Neon" | |
608 | Mesh = Instance.new("SpecialMesh", Chest1) | |
609 | Mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
610 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
611 | Weld = Instance.new("Weld",torso) | |
612 | Weld.Part0 = torso | |
613 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
614 | Weld.Part1 = Chest1 | |
615 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
616 | ||
617 | Chest2 = Instance.new("Part", char) | |
618 | Chest2.BrickColor = BrickColor.new("Really red") | |
619 | Chest2.Name = "Middle" | |
620 | Chest2.Size = Vector3.new(2, 2, 1) | |
621 | Chest2.CanCollide = false | |
622 | Chest2.BottomSurface = "Smooth" | |
623 | Chest2.TopSurface = "Smooth" | |
624 | Chest2.Material = "Neon" | |
625 | Weld = Instance.new("Weld",torso) | |
626 | Weld.Part0 = torso | |
627 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
628 | Weld.Part1 = Chest2 | |
629 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
630 | ||
631 | Chest3 = Instance.new("Part", char) | |
632 | Chest3.BrickColor = BrickColor.new("Bright red") | |
633 | Chest3.Material = "Granite" | |
634 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
635 | Chest3.CanCollide = false | |
636 | Chest3.BottomSurface = "Smooth" | |
637 | Chest3.TopSurface = "Smooth" | |
638 | Weld = Instance.new("Weld",torso) | |
639 | Weld.Part0 = torso | |
640 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
641 | Weld.Part1 = Chest3 | |
642 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
643 | ||
644 | Chest4 = Instance.new("Part", char) | |
645 | Chest4.BrickColor = BrickColor.new("Bright red") | |
646 | Chest4.Material = "Granite" | |
647 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
648 | Chest4.CanCollide = false | |
649 | Chest4.BottomSurface = "Smooth" | |
650 | Chest4.TopSurface = "Smooth" | |
651 | Weld = Instance.new("Weld",torso) | |
652 | Weld.Part0 = torso | |
653 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
654 | Weld.Part1 = Chest4 | |
655 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
656 | ||
657 | Chest5 = Instance.new("Part", char) | |
658 | Chest5.BrickColor = BrickColor.new("Bright red") | |
659 | Chest5.Material = "Granite" | |
660 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
661 | Chest5.CanCollide = false | |
662 | Chest5.BottomSurface = "Smooth" | |
663 | Chest5.TopSurface = "Smooth" | |
664 | Weld = Instance.new("Weld",torso) | |
665 | Weld.Part0 = torso | |
666 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
667 | Weld.Part1 = Chest5 | |
668 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
669 | ||
670 | Chest6 = Instance.new("Part", char) | |
671 | Chest6.BrickColor = BrickColor.new("Bright red") | |
672 | Chest6.Material = "Granite" | |
673 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
674 | Chest6.CanCollide = false | |
675 | Chest6.BottomSurface = "Smooth" | |
676 | Chest6.TopSurface = "Smooth" | |
677 | Weld = Instance.new("Weld",torso) | |
678 | Weld.Part0 = torso | |
679 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
680 | Weld.Part1 = Chest6 | |
681 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
682 | ||
683 | Chest7 = Instance.new("Part", char) | |
684 | Chest7.BrickColor = BrickColor.new("Bright red") | |
685 | Chest7.Material = "Granite" | |
686 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
687 | Chest7.CanCollide = false | |
688 | Chest7.BottomSurface = "Smooth" | |
689 | Chest7.TopSurface = "Smooth" | |
690 | Weld = Instance.new("Weld",torso) | |
691 | Weld.Part0 = torso | |
692 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
693 | Weld.Part1 = Chest7 | |
694 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
695 | ||
696 | Chest8 = Instance.new("Part", char) | |
697 | Chest8.BrickColor = BrickColor.new("Bright red") | |
698 | Chest8.Material = "Granite" | |
699 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
700 | Chest8.CanCollide = false | |
701 | Chest8.BottomSurface = "Smooth" | |
702 | Chest8.TopSurface = "Smooth" | |
703 | Weld = Instance.new("Weld",torso) | |
704 | Weld.Part0 = torso | |
705 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
706 | Weld.Part1 = Chest8 | |
707 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
708 | ||
709 | Chest9 = Instance.new("Part", char) | |
710 | Chest9.BrickColor = BrickColor.new("Bright red") | |
711 | Chest9.Material = "Granite" | |
712 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
713 | Chest9.CanCollide = false | |
714 | Chest9.BottomSurface = "Smooth" | |
715 | Chest9.TopSurface = "Smooth" | |
716 | Weld = Instance.new("Weld",torso) | |
717 | Weld.Part0 = torso | |
718 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
719 | Weld.Part1 = Chest9 | |
720 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
721 | ||
722 | Chest10 = Instance.new("Part", char) | |
723 | Chest10.BrickColor = BrickColor.new("Bright red") | |
724 | Chest10.Material = "Granite" | |
725 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
726 | Chest10.CanCollide = false | |
727 | Chest10.BottomSurface = "Smooth" | |
728 | Chest10.TopSurface = "Smooth" | |
729 | Mesh = Instance.new("SpecialMesh", Chest10) | |
730 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
731 | Weld = Instance.new("Weld",torso) | |
732 | Weld.Part0 = torso | |
733 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
734 | Weld.Part1 = Chest10 | |
735 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
736 | ||
737 | Chest11 = Instance.new("Part", char) | |
738 | Chest11.BrickColor = BrickColor.new("Bright red") | |
739 | Chest11.Material = "Granite" | |
740 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
741 | Chest11.CanCollide = false | |
742 | Chest11.BottomSurface = "Smooth" | |
743 | Chest11.TopSurface = "Smooth" | |
744 | Weld = Instance.new("Weld",torso) | |
745 | Weld.Part0 = torso | |
746 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
747 | Weld.Part1 = Chest11 | |
748 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
749 | ||
750 | Chest12 = Instance.new("Part", char) | |
751 | Chest12.BrickColor = BrickColor.new("Bright red") | |
752 | Chest12.Material = "Granite" | |
753 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
754 | Chest12.CanCollide = false | |
755 | Chest12.BottomSurface = "Smooth" | |
756 | Chest12.TopSurface = "Smooth" | |
757 | Weld = Instance.new("Weld",torso) | |
758 | Weld.Part0 = torso | |
759 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
760 | Weld.Part1 = Chest12 | |
761 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
762 | ||
763 | Chest13 = Instance.new("Part", char) | |
764 | Chest13.BrickColor = BrickColor.new("Bright red") | |
765 | Chest13.Material = "Granite" | |
766 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
767 | Chest13.CanCollide = false | |
768 | Chest13.BottomSurface = "Smooth" | |
769 | Chest13.TopSurface = "Smooth" | |
770 | Weld = Instance.new("Weld",torso) | |
771 | Weld.Part0 = torso | |
772 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
773 | Weld.Part1 = Chest13 | |
774 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
775 | ||
776 | Chest14 = Instance.new("Part", char) | |
777 | Chest14.BrickColor = BrickColor.new("Bright red") | |
778 | Chest14.Material = "Granite" | |
779 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
780 | Chest14.CanCollide = false | |
781 | Chest14.BottomSurface = "Smooth" | |
782 | Chest14.TopSurface = "Smooth" | |
783 | Weld = Instance.new("Weld",torso) | |
784 | Weld.Part0 = torso | |
785 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
786 | Weld.Part1 = Chest14 | |
787 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
788 | ||
789 | Chest15 = Instance.new("Part", char) | |
790 | Chest15.BrickColor = BrickColor.new("Royal purple") | |
791 | Chest15.Material = "Granite" | |
792 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
793 | Chest15.CanCollide = false | |
794 | Chest15.BottomSurface = "Smooth" | |
795 | Chest15.TopSurface = "Smooth" | |
796 | Weld = Instance.new("Weld",torso) | |
797 | Weld.Part0 = torso | |
798 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
799 | Weld.Part1 = Chest15 | |
800 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
801 | ||
802 | Chest16 = Instance.new("Part", char) | |
803 | Chest16.BrickColor = BrickColor.new("Bright red") | |
804 | Chest16.Material = "Granite" | |
805 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
806 | Chest16.CanCollide = false | |
807 | Chest16.BottomSurface = "Smooth" | |
808 | Chest16.TopSurface = "Smooth" | |
809 | Weld = Instance.new("Weld",torso) | |
810 | Weld.Part0 = torso | |
811 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
812 | Weld.Part1 = Chest16 | |
813 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
814 | ||
815 | Chest17 = Instance.new("Part", char) | |
816 | Chest17.BrickColor = BrickColor.new("Bright red") | |
817 | Chest17.Material = "Granite" | |
818 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
819 | Chest17.CanCollide = false | |
820 | Chest17.BottomSurface = "Smooth" | |
821 | Chest17.TopSurface = "Smooth" | |
822 | Weld = Instance.new("Weld",torso) | |
823 | Weld.Part0 = torso | |
824 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
825 | Weld.Part1 = Chest17 | |
826 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
827 | ||
828 | Chest18 = Instance.new("Part", char) | |
829 | Chest18.BrickColor = BrickColor.new("Bright red") | |
830 | Chest18.Material = "Granite" | |
831 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
832 | Chest18.CanCollide = false | |
833 | Chest18.BottomSurface = "Smooth" | |
834 | Chest18.TopSurface = "Smooth" | |
835 | Weld = Instance.new("Weld",torso) | |
836 | Weld.Part0 = torso | |
837 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
838 | Weld.Part1 = Chest18 | |
839 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
840 | ||
841 | Chest19 = Instance.new("Part", char) | |
842 | Chest19.BrickColor = BrickColor.new("Bright red") | |
843 | Chest19.Material = "Granite" | |
844 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
845 | Chest19.CanCollide = false | |
846 | Chest19.BottomSurface = "Smooth" | |
847 | Chest19.TopSurface = "Smooth" | |
848 | Weld = Instance.new("Weld",torso) | |
849 | Weld.Part0 = torso | |
850 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
851 | Weld.Part1 = Chest19 | |
852 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
853 | ||
854 | Chest20 = Instance.new("Part", char) | |
855 | Chest20.BrickColor = BrickColor.new("Bright red") | |
856 | Chest20.Material = "Granite" | |
857 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
858 | Chest20.CanCollide = false | |
859 | Chest20.BottomSurface = "Smooth" | |
860 | Chest20.TopSurface = "Smooth" | |
861 | Mesh = Instance.new("SpecialMesh",Chest20) | |
862 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
863 | Weld = Instance.new("Weld",torso) | |
864 | Weld.Part0 = torso | |
865 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
866 | Weld.Part1 = Chest20 | |
867 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
868 | ||
869 | Chest21 = Instance.new("Part", char) | |
870 | Chest21.BrickColor = BrickColor.new("Bright red") | |
871 | Chest21.Material = "Granite" | |
872 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
873 | Chest21.CanCollide = false | |
874 | Chest21.BottomSurface = "Smooth" | |
875 | Chest21.TopSurface = "Smooth" | |
876 | Weld = Instance.new("Weld",torso) | |
877 | Weld.Part0 = torso | |
878 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
879 | Weld.Part1 = Chest21 | |
880 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
881 | ||
882 | Chest22 = Instance.new("Part", char) | |
883 | Chest22.BrickColor = BrickColor.new("Bright red") | |
884 | Chest22.Material = "Granite" | |
885 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
886 | Chest22.CanCollide = false | |
887 | Chest22.BottomSurface = "Smooth" | |
888 | Chest22.TopSurface = "Smooth" | |
889 | Weld = Instance.new("Weld",torso) | |
890 | Weld.Part0 = torso | |
891 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
892 | Weld.Part1 = Chest22 | |
893 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
894 | ||
895 | Chest23 = Instance.new("Part", char) | |
896 | Chest23.BrickColor = BrickColor.new("Bright red") | |
897 | Chest23.Material = "Granite" | |
898 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
899 | Chest23.CanCollide = false | |
900 | Chest23.BottomSurface = "Smooth" | |
901 | Chest23.TopSurface = "Smooth" | |
902 | Weld = Instance.new("Weld",torso) | |
903 | Weld.Part0 = torso | |
904 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
905 | Weld.Part1 = Chest23 | |
906 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
907 | ||
908 | Chest24 = Instance.new("Part", char) | |
909 | Chest24.BrickColor = BrickColor.new("Bright red") | |
910 | Chest24.Material = "Granite" | |
911 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
912 | Chest24.CanCollide = false | |
913 | Chest24.BottomSurface = "Smooth" | |
914 | Chest24.TopSurface = "Smooth" | |
915 | Weld = Instance.new("Weld",torso) | |
916 | Weld.Part0 = torso | |
917 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
918 | Weld.Part1 = Chest24 | |
919 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
920 | ||
921 | p1 = Instance.new("Part",char) | |
922 | p1.BrickColor = BrickColor.new("Bright red") | |
923 | p1.FormFactor = Enum.FormFactor.Custom | |
924 | p1.Size = Vector3.new(2, 2, 2) | |
925 | p1.CanCollide = false | |
926 | p1.Locked = true | |
927 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
928 | p1.TopSurface = Enum.SurfaceType.Smooth | |
929 | SMesh = Instance.new("SpecialMesh", p1) | |
930 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
931 | SMesh.TextureId = "" | |
932 | SMesh.MeshType = Enum.MeshType.FileMesh | |
933 | SMesh.Name = "Mesh" | |
934 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
935 | SMesh.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
936 | w1 = Instance.new("Weld", hed) | |
937 | w1.Part0 = hed | |
938 | w1.C0 = CFrame.new(0,-1.5,0) | |
939 | w1.Part1 = p1 | |
940 | w1.C1 = CFrame.new(1.75514506e-005, -2.06990719, 0.00210596342, -0.999966383, -1.62210035e-005, -0.00820016116, -9.25059425e-008, 0.999998093, -0.00196684781, 0.00820017792, -0.00196678098, -0.999964535) | |
941 | p2 = Instance.new("Part",char) | |
942 | p2.BrickColor = BrickColor.new("Really red") | |
943 | p2.FormFactor = Enum.FormFactor.Custom | |
944 | p2.Size = Vector3.new(1, 1, 1) | |
945 | p2.CanCollide = false | |
946 | p2.Locked = true | |
947 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
948 | p2.TopSurface = Enum.SurfaceType.Smooth | |
949 | SMesh = Instance.new("SpecialMesh", p2) | |
950 | SMesh.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
951 | SMesh.TextureId = "" | |
952 | SMesh.MeshType = Enum.MeshType.FileMesh | |
953 | SMesh.Name = "Mesh" | |
954 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
955 | SMesh.Scale = Vector3.new(1, 0.9, 1) | |
956 | w1 = Instance.new("Weld", hed) | |
957 | w1.Part0 = hed | |
958 | w1.C0 = CFrame.new(0,-1.5,0) | |
959 | w1.Part1 = p2 | |
960 | w1.C1 = CFrame.new(0.00981426239, -1.86002111, 0.000148773193, 1, 4.98469959e-008, 4.58955765e-006, -4.98459833e-008, 1, -2.23582518e-007, -4.58955765e-006, 2.23582191e-007, 1) | |
961 | p3 = Instance.new("Part",char) | |
962 | p3.BrickColor = BrickColor.new("Really red") | |
963 | p3.FormFactor = Enum.FormFactor.Custom | |
964 | p3.Size = Vector3.new(1, 1, 1) | |
965 | p3.CanCollide = false | |
966 | p3.Locked = true | |
967 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
968 | p3.TopSurface = Enum.SurfaceType.Smooth | |
969 | SMesh = Instance.new("SpecialMesh", p3) | |
970 | SMesh.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
971 | SMesh.TextureId = "" | |
972 | SMesh.MeshType = Enum.MeshType.FileMesh | |
973 | SMesh.Name = "Mesh" | |
974 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
975 | SMesh.Scale = Vector3.new(1, 1, 1) | |
976 | w1 = Instance.new("Weld", hed) | |
977 | w1.Part0 = hed | |
978 | w1.C0 = CFrame.new(0,-1.5,0) | |
979 | w1.Part1 = p3 | |
980 | w1.C1 = CFrame.new(0.059677124, -1.98001814, -0.199489594, 0.99999994, 1.02864064e-008, 4.82797577e-006, -1.02842179e-008, 1, -4.61996478e-007, -4.82797577e-006, 4.61996365e-007, 0.99999994) | |
981 | p4 = Instance.new("Part",char) | |
982 | p4.BrickColor = BrickColor.new("Really red") | |
983 | p4.FormFactor = Enum.FormFactor.Custom | |
984 | p4.Size = Vector3.new(1, 1, 1) | |
985 | p4.CanCollide = false | |
986 | p4.Locked = true | |
987 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
988 | p4.TopSurface = Enum.SurfaceType.Smooth | |
989 | SMesh = Instance.new("SpecialMesh", p4) | |
990 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
991 | SMesh.TextureId = "" | |
992 | SMesh.MeshType = Enum.MeshType.FileMesh | |
993 | SMesh.Name = "Mesh" | |
994 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
995 | SMesh.Scale = Vector3.new(1.02, 1.05, 1.05) | |
996 | w1 = Instance.new("Weld", hed) | |
997 | w1.Part0 = hed | |
998 | w1.C0 = CFrame.new(0,-1.5,0) | |
999 | w1.Part1 = p4 | |
1000 | w1.C1 = CFrame.new(0.0104255676, -1.94979095, 0.129776001, 0.99999994, -2.00533847e-008, 5.2192072e-006, -3.74953743e-007, 0.995037675, 0.0995008945, -4.8863717e-006, -0.0995009243, 0.995037436) | |
1001 | p5 = Instance.new("Part",char) | |
1002 | p5.BrickColor = BrickColor.new("Really red") | |
1003 | p5.FormFactor = Enum.FormFactor.Custom | |
1004 | p5.Size = Vector3.new(1, 1, 1) | |
1005 | p5.CanCollide = false | |
1006 | p5.Locked = true | |
1007 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
1008 | p5.TopSurface = Enum.SurfaceType.Smooth | |
1009 | SMesh = Instance.new("SpecialMesh", p5) | |
1010 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1011 | SMesh.TextureId = "" | |
1012 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1013 | SMesh.Name = "Mesh" | |
1014 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1015 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1016 | w1 = Instance.new("Weld", hed) | |
1017 | w1.Part0 = hed | |
1018 | w1.C0 = CFrame.new(0,-1.5,0) | |
1019 | w1.Part1 = p5 | |
1020 | w1.C1 = CFrame.new(0.00938796997, -2.00957298, 1.44282532, 1, -1.34962974e-007, 5.35256595e-006, -3.26552458e-006, 0.729885638, 0.683569431, -3.88335775e-006, -0.68356967, 0.729885519) | |
1021 | p6 = Instance.new("Part",char) | |
1022 | p6.BrickColor = BrickColor.new("Really red") | |
1023 | p6.FormFactor = Enum.FormFactor.Custom | |
1024 | p6.Size = Vector3.new(1, 1, 1) | |
1025 | p6.CanCollide = false | |
1026 | p6.Locked = true | |
1027 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
1028 | p6.TopSurface = Enum.SurfaceType.Smooth | |
1029 | SMesh = Instance.new("SpecialMesh", p6) | |
1030 | SMesh.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
1031 | SMesh.TextureId = "" | |
1032 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1033 | SMesh.Name = "Mesh" | |
1034 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1035 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1036 | w1 = Instance.new("Weld", hed) | |
1037 | w1.Part0 = hed | |
1038 | w1.C0 = CFrame.new(0,-1.5,0) | |
1039 | w1.Part1 = p6 | |
1040 | w1.C1 = CFrame.new(0.00993537903, -2.2400105, -0.079624176, 1.00000012, -2.98023064e-008, -1.54972145e-006, 2.980231e-008, 1, -4.94502617e-009, 1.54972145e-006, 4.94494401e-009, 1.00000012) | |
1041 | p7 = Instance.new("Part",char) | |
1042 | p7.BrickColor = BrickColor.new("Really red") | |
1043 | p7.FormFactor = Enum.FormFactor.Custom | |
1044 | p7.Size = Vector3.new(1, 1, 1) | |
1045 | p7.CanCollide = false | |
1046 | p7.Locked = true | |
1047 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
1048 | p7.TopSurface = Enum.SurfaceType.Smooth | |
1049 | SMesh = Instance.new("SpecialMesh", p7) | |
1050 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1051 | SMesh.TextureId = "" | |
1052 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1053 | SMesh.Name = "Mesh" | |
1054 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1055 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1056 | w1 = Instance.new("Weld", hed) | |
1057 | w1.Part0 = hed | |
1058 | w1.C0 = CFrame.new(0,-1.5,0) | |
1059 | w1.Part1 = p7 | |
1060 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1061 | p8 = Instance.new("Part",char) | |
1062 | p8.BrickColor = BrickColor.new("Really red") | |
1063 | p8.FormFactor = Enum.FormFactor.Custom | |
1064 | p8.Size = Vector3.new(1, 1, 1) | |
1065 | p8.CanCollide = false | |
1066 | p8.Locked = true | |
1067 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
1068 | p8.TopSurface = Enum.SurfaceType.Smooth | |
1069 | SMesh = Instance.new("SpecialMesh", p8) | |
1070 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1071 | SMesh.TextureId = "" | |
1072 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1073 | SMesh.Name = "Mesh" | |
1074 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1075 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1076 | w1 = Instance.new("Weld", hed) | |
1077 | w1.Part0 = hed | |
1078 | w1.C0 = CFrame.new(0,-1.5,0) | |
1079 | w1.Part1 = p8 | |
1080 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1081 | p9 = Instance.new("Part",char) | |
1082 | p9.BrickColor = BrickColor.new("Really red") | |
1083 | p9.FormFactor = Enum.FormFactor.Custom | |
1084 | p9.Size = Vector3.new(1, 1, 1) | |
1085 | p9.CanCollide = false | |
1086 | p9.Locked = true | |
1087 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1088 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1089 | SMesh = Instance.new("SpecialMesh", p9) | |
1090 | SMesh.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
1091 | SMesh.TextureId = "" | |
1092 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1093 | SMesh.Name = "Mesh" | |
1094 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1095 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1096 | w1 = Instance.new("Weld", hed) | |
1097 | w1.Part0 = hed | |
1098 | w1.C0 = CFrame.new(0,-1.5,0) | |
1099 | w1.Part1 = p9 | |
1100 | w1.C1 = CFrame.new(0.110746384, -1.71002722, -0.198999405, 0.999999881, 1.02863646e-008, 4.70876603e-006, -1.02842392e-008, 1, -4.61996422e-007, -4.70876603e-006, 4.61996336e-007, 0.999999881) | |
1101 | p10 = Instance.new("Part",char) | |
1102 | p10.BrickColor = BrickColor.new("Really red") | |
1103 | p10.FormFactor = Enum.FormFactor.Custom | |
1104 | p10.Size = Vector3.new(1, 1, 1) | |
1105 | p10.CanCollide = false | |
1106 | p10.Locked = true | |
1107 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
1108 | p10.TopSurface = Enum.SurfaceType.Smooth | |
1109 | SMesh = Instance.new("SpecialMesh", p10) | |
1110 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
1111 | SMesh.TextureId = "" | |
1112 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1113 | SMesh.Name = "Mesh" | |
1114 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1115 | SMesh.Scale = Vector3.new(1.05, 1.05, 1.05) | |
1116 | w1 = Instance.new("Weld", hed) | |
1117 | w1.Part0 = hed | |
1118 | w1.C0 = CFrame.new(0,-1.5,0) | |
1119 | w1.Part1 = p10 | |
1120 | w1.C1 = CFrame.new(0.00981426239, -2.11002183, 0.000148773193, 1.00000012, 2.98023295e-008, 1.66892983e-006, -2.98023295e-008, 1, 4.94492847e-009, -1.66892983e-006, -4.94500441e-009, 1.00000012) | |
1121 | ---------------------------------------------------- | |
1122 | GroundWave1 = function() | |
1123 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1124 | local Colors = {"Really red", "Royal purple"} | |
1125 | local wave = Instance.new("Part", torso) | |
1126 | wave.BrickColor = BrickColor.new('Really red') | |
1127 | wave.Anchored = true | |
1128 | wave.CanCollide = false | |
1129 | wave.Locked = true | |
1130 | wave.Size = Vector3.new(1, 1, 1) | |
1131 | wave.TopSurface = "Smooth" | |
1132 | wave.BottomSurface = "Smooth" | |
1133 | wave.Transparency = 0.35 | |
1134 | wave.CFrame = HandCF | |
1135 | wm = Instance.new("SpecialMesh", wave) | |
1136 | wm.MeshId = "rbxassetid://3270017" | |
1137 | coroutine.wrap(function() | |
1138 | for i = 1, 30, 1 do | |
1139 | wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1) | |
1140 | wave.Size = wm.Scale | |
1141 | wave.CFrame = HandCF | |
1142 | wave.Transparency = i/10 | |
1143 | wait() | |
1144 | end | |
1145 | wait() | |
1146 | wave:Destroy() | |
1147 | end)() | |
1148 | end | |
1149 | ---------------------------------------------------- | |
1150 | GroundWave = function() | |
1151 | if Transforming == true then | |
1152 | local wave = Instance.new("Part", torso) | |
1153 | wave.BrickColor = BrickColor.new("Bright red") | |
1154 | wave.Anchored = true | |
1155 | wave.CanCollide = false | |
1156 | wave.Locked = true | |
1157 | wave.Size = Vector3.new(1, 1, 1) | |
1158 | wave.TopSurface = "Smooth" | |
1159 | wave.BottomSurface = "Smooth" | |
1160 | wave.Transparency = 0.35 | |
1161 | wave.CFrame = fx.CFrame | |
1162 | wm = Instance.new("SpecialMesh", wave) | |
1163 | wm.MeshType = "Sphere" | |
1164 | wm.Scale = Vector3.new(1,1,1) | |
1165 | coroutine.wrap(function() | |
1166 | for i = 1, 18, 1 do | |
1167 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1168 | --wave.Size = wm.Scale | |
1169 | wave.CFrame = fx.CFrame | |
1170 | wave.Transparency = i/14 | |
1171 | wait() | |
1172 | end | |
1173 | wait() | |
1174 | wave:Destroy() | |
1175 | end)() | |
1176 | elseif Transforming == false then | |
1177 | wait() | |
1178 | end | |
1179 | end | |
1180 | ||
1181 | for i = 1, 100 do rs:wait() | |
1182 | fx.CFrame = torso.CFrame | |
1183 | end | |
1184 | ||
1185 | Spawn(function() | |
1186 | while wait(1) do | |
1187 | GroundWave() | |
1188 | end | |
1189 | end) | |
1190 | ||
1191 | wait(4) | |
1192 | ||
1193 | Transforming = false | |
1194 | ||
1195 | for i = 1, 20 do rs:wait() | |
1196 | fx.Transparency = fx.Transparency + (1/20) | |
1197 | fx.CFrame = torso.CFrame | |
1198 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
1199 | rs:wait() | |
1200 | end | |
1201 | ||
1202 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1203 | local wave = Instance.new("Part", torso) | |
1204 | wave.BrickColor = BrickColor.new("Institutional white") | |
1205 | wave.Anchored = true | |
1206 | wave.CanCollide = false | |
1207 | wave.Locked = true | |
1208 | wave.Size = Vector3.new(1, 1, 1) | |
1209 | wave.TopSurface = "Smooth" | |
1210 | wave.BottomSurface = "Smooth" | |
1211 | wave.Transparency = 0.35 | |
1212 | wave.CFrame = HandCF | |
1213 | wm = Instance.new("SpecialMesh", wave) | |
1214 | wm.MeshId = "rbxassetid://3270017" | |
1215 | coroutine.wrap(function() | |
1216 | for i = 1, 14, 1 do | |
1217 | wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10) | |
1218 | wave.Size = wm.Scale | |
1219 | wave.CFrame = HandCF | |
1220 | wave.Transparency = i/14 | |
1221 | wait() | |
1222 | end | |
1223 | wait() | |
1224 | wave:Destroy() | |
1225 | end)() | |
1226 | hum.WalkSpeed = 20 | |
1227 | ---------------------------------------------------- | |
1228 | Blast = function() | |
1229 | local Colors = {"Really red", "Bright red"} | |
1230 | local wave = Instance.new("Part", torso) | |
1231 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1232 | wave.Anchored = true | |
1233 | wave.CanCollide = false | |
1234 | wave.Locked = true | |
1235 | wave.Size = Vector3.new(1, 1, 1) | |
1236 | wave.TopSurface = "Smooth" | |
1237 | wave.BottomSurface = "Smooth" | |
1238 | wave.Transparency = 0.35 | |
1239 | wave.CFrame = rarm.CFrame | |
1240 | wm = Instance.new("SpecialMesh", wave) | |
1241 | wm.MeshType = "Sphere" | |
1242 | wm.Scale = Vector3.new(1,1,1) | |
1243 | z = Instance.new("Sound",wave) | |
1244 | z.SoundId = "rbxassetid://237035051" | |
1245 | z.Volume = 1 | |
1246 | z.Pitch = .9 | |
1247 | z:Play() | |
1248 | coroutine.wrap(function() | |
1249 | for i = 1, 30, 1 do | |
1250 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1251 | --wave.Size = wm.Scale | |
1252 | wave.CFrame = rarm.CFrame | |
1253 | wave.Transparency = (1/14) | |
1254 | rs:wait() | |
1255 | end | |
1256 | rs:wait() | |
1257 | wave:Destroy() | |
1258 | z:Destroy() | |
1259 | end)() | |
1260 | end | |
1261 | ---------------------------------------------------- | |
1262 | rarm.Touched:connect(function(ht) | |
1263 | hit = ht.Parent | |
1264 | if ht and hit:IsA("Model") then | |
1265 | if hit:FindFirstChild("Humanoid") then | |
1266 | if hit.Name ~= p.Name then | |
1267 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1268 | Debounces.RPunched = true | |
1269 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1270 | if Debounces.ks==true then | |
1271 | z = Instance.new("Sound",hed) | |
1272 | z.SoundId = "rbxassetid://169380525" | |
1273 | z.Pitch = ptz[math.random(1,#ptz)] | |
1274 | z.Volume = 1 | |
1275 | z:Play() | |
1276 | end | |
1277 | wait(.2) | |
1278 | Debounces.RPunched = false | |
1279 | end | |
1280 | end | |
1281 | end | |
1282 | elseif ht and hit:IsA("Hat") then | |
1283 | if hit.Parent.Name ~= p.Name then | |
1284 | if hit.Parent:FindFirstChild("Humanoid") then | |
1285 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1286 | Debounces.RPunched = true | |
1287 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1288 | if Debounces.ks==true then | |
1289 | z = Instance.new("Sound",hed) | |
1290 | z.SoundId = "rbxassetid://169380525" | |
1291 | z.Pitch = ptz[math.random(1,#ptz)] | |
1292 | z.Volume = 1 | |
1293 | z:Play() | |
1294 | end | |
1295 | wait(.2) | |
1296 | Debounces.RPunched = false | |
1297 | end | |
1298 | end | |
1299 | end | |
1300 | end | |
1301 | end) | |
1302 | larm.Touched:connect(function(ht) | |
1303 | hit = ht.Parent | |
1304 | if ht and hit:IsA("Model") then | |
1305 | if hit:FindFirstChild("Humanoid") then | |
1306 | if hit.Name ~= p.Name then | |
1307 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1308 | Debounces.LPunched = true | |
1309 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1310 | if Debounces.ks2==true then | |
1311 | z = Instance.new("Sound",hed) | |
1312 | z.SoundId = "rbxassetid://169380525" | |
1313 | z.Pitch = ptz[math.random(1,#ptz)] | |
1314 | z.Volume = 1 | |
1315 | z:Play() | |
1316 | end | |
1317 | wait(.2) | |
1318 | Debounces.LPunched = false | |
1319 | end | |
1320 | end | |
1321 | end | |
1322 | elseif ht and hit:IsA("Hat") then | |
1323 | if hit.Parent.Name ~= p.Name then | |
1324 | if hit.Parent:FindFirstChild("Humanoid") then | |
1325 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1326 | Debounces.LPunched = true | |
1327 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1328 | if Debounces.ks2==true then | |
1329 | z = Instance.new("Sound",hed) | |
1330 | z.SoundId = "rbxassetid://169380525" | |
1331 | z.Pitch = ptz[math.random(1,#ptz)] | |
1332 | z.Volume = 1 | |
1333 | z:Play() | |
1334 | end | |
1335 | wait(.2) | |
1336 | Debounces.LPunched = false | |
1337 | end | |
1338 | end | |
1339 | end | |
1340 | end | |
1341 | end) | |
1342 | ---------------------------------------------------- | |
1343 | mod4 = Instance.new("Model",char) | |
1344 | ||
1345 | ptez = {0.7, 0.8, 0.9, 1} | |
1346 | ||
1347 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1348 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1349 | local List = {} | |
1350 | for i,v in pairs(workspace:GetChildren())do | |
1351 | if v:IsA("Model")then | |
1352 | if v:findFirstChild("Torso")then | |
1353 | if v ~= char then | |
1354 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1355 | table.insert(List,v) | |
1356 | end | |
1357 | end | |
1358 | end | |
1359 | end | |
1360 | end | |
1361 | return List | |
1362 | end | |
1363 | ||
1364 | function Punch() | |
1365 | part=Instance.new('Part',mod4) | |
1366 | part.Anchored=true | |
1367 | part.CanCollide=false | |
1368 | part.FormFactor='Custom' | |
1369 | part.Size=Vector3.new(.2,.2,.2) | |
1370 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1371 | part.Transparency=.7 | |
1372 | part.BrickColor=BrickColor.new('Really red') | |
1373 | mesh=Instance.new('SpecialMesh',part) | |
1374 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1375 | mesh.Scale=Vector3.new(3,3,3) | |
1376 | part2=Instance.new('Part',mod4) | |
1377 | part2.Anchored=true | |
1378 | part2.CanCollide=false | |
1379 | part2.FormFactor='Custom' | |
1380 | part2.Size=Vector3.new(.2,.2,.2) | |
1381 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1382 | part2.Transparency=.7 | |
1383 | part2.BrickColor=BrickColor.new('Really red') | |
1384 | mesh2=Instance.new('SpecialMesh',part2) | |
1385 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1386 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1387 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1388 | if v:FindFirstChild('Humanoid') then | |
1389 | v.Humanoid:TakeDamage(math.huge) | |
1390 | end | |
1391 | end | |
1392 | coroutine.resume(coroutine.create(function() | |
1393 | for i=0,0.62,0.4 do | |
1394 | wait() | |
1395 | part.CFrame=part.CFrame | |
1396 | part.Transparency=i | |
1397 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1398 | part2.CFrame=part2.CFrame | |
1399 | part2.Transparency=i | |
1400 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1401 | end | |
1402 | part.Parent=nil | |
1403 | part2.Parent=nil | |
1404 | end)) | |
1405 | end | |
1406 | ---------------------------------------------------- | |
1407 | rarm.Touched:connect(function(ht) | |
1408 | hit = ht.Parent | |
1409 | if ht and hit:IsA("Model") then | |
1410 | if hit:FindFirstChild("Humanoid") then | |
1411 | if hit.Name ~= p.Name then | |
1412 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1413 | Debounces.RPunched = true | |
1414 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1415 | if Debounces.ks==true then | |
1416 | z = Instance.new("Sound",hed) | |
1417 | z.SoundId = "rbxassetid://169380525" | |
1418 | z.Pitch = ptz[math.random(1,#ptz)] | |
1419 | z.Volume = 1 | |
1420 | z:Play() | |
1421 | end | |
1422 | wait(.2) | |
1423 | Debounces.RPunched = false | |
1424 | end | |
1425 | end | |
1426 | end | |
1427 | elseif ht and hit:IsA("Hat") then | |
1428 | if hit.Parent.Name ~= p.Name then | |
1429 | if hit.Parent:FindFirstChild("Humanoid") then | |
1430 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1431 | Debounces.RPunched = true | |
1432 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1433 | if Debounces.ks==true then | |
1434 | z = Instance.new("Sound",hed) | |
1435 | z.SoundId = "rbxassetid://169380525" | |
1436 | z.Pitch = ptz[math.random(1,#ptz)] | |
1437 | z.Volume = 1 | |
1438 | z:Play() | |
1439 | end | |
1440 | wait(.2) | |
1441 | Debounces.RPunched = false | |
1442 | end | |
1443 | end | |
1444 | end | |
1445 | end | |
1446 | end) | |
1447 | larm.Touched:connect(function(ht) | |
1448 | hit = ht.Parent | |
1449 | if ht and hit:IsA("Model") then | |
1450 | if hit:FindFirstChild("Humanoid") then | |
1451 | if hit.Name ~= p.Name then | |
1452 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1453 | Debounces.LPunched = true | |
1454 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1455 | if Debounces.ks2==true then | |
1456 | z = Instance.new("Sound",hed) | |
1457 | z.SoundId = "rbxassetid://169380525" | |
1458 | z.Pitch = ptz[math.random(1,#ptz)] | |
1459 | z.Volume = 1 | |
1460 | z:Play() | |
1461 | end | |
1462 | wait(.2) | |
1463 | Debounces.LPunched = false | |
1464 | end | |
1465 | end | |
1466 | end | |
1467 | elseif ht and hit:IsA("Hat") then | |
1468 | if hit.Parent.Name ~= p.Name then | |
1469 | if hit.Parent:FindFirstChild("Humanoid") then | |
1470 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1471 | Debounces.LPunched = true | |
1472 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1473 | if Debounces.ks2==true then | |
1474 | z = Instance.new("Sound",hed) | |
1475 | z.SoundId = "rbxassetid://169380525" | |
1476 | z.Pitch = ptz[math.random(1,#ptz)] | |
1477 | z.Volume = 1 | |
1478 | z:Play() | |
1479 | end | |
1480 | wait(.2) | |
1481 | Debounces.LPunched = false | |
1482 | end | |
1483 | end | |
1484 | end | |
1485 | end | |
1486 | end) | |
1487 | ---------------------------------------------------- | |
1488 | local player = game.Players.LocalPlayer | |
1489 | local pchar = player.Character | |
1490 | local mouse = player:GetMouse() | |
1491 | local cam = workspace.CurrentCamera | |
1492 | ||
1493 | local rad = math.rad | |
1494 | ||
1495 | local keysDown = {} | |
1496 | local flySpeed = 0 | |
1497 | local MAX_FLY_SPEED = 150 | |
1498 | ||
1499 | local canFly = false | |
1500 | local flyToggled = false | |
1501 | ||
1502 | local forward, side = 0, 0 | |
1503 | local lastForward, lastSide = 0, 0 | |
1504 | ||
1505 | local floatBP = Instance.new("BodyPosition") | |
1506 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1507 | local flyBV = Instance.new("BodyVelocity") | |
1508 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1509 | local turnBG = Instance.new("BodyGyro") | |
1510 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1511 | ||
1512 | mouse.KeyDown:connect(function(key) | |
1513 | keysDown[key] = true | |
1514 | ||
1515 | if key == "f" then | |
1516 | flyToggled = not flyToggled | |
1517 | ||
1518 | if not flyToggled then | |
1519 | stanceToggle = "Normal" | |
1520 | floatBP.Parent = nil | |
1521 | flyBV.Parent = nil | |
1522 | turnBG.Parent = nil | |
1523 | root.Velocity = Vector3.new() | |
1524 | pchar.Humanoid.PlatformStand = false | |
1525 | end | |
1526 | end | |
1527 | ||
1528 | end) | |
1529 | mouse.KeyUp:connect(function(key) | |
1530 | keysDown[key] = nil | |
1531 | end) | |
1532 | ||
1533 | local function updateFly() | |
1534 | ||
1535 | if not flyToggled then return end | |
1536 | ||
1537 | lastForward = forward | |
1538 | lastSide = side | |
1539 | ||
1540 | forward = 0 | |
1541 | side = 0 | |
1542 | ||
1543 | if keysDown.w then | |
1544 | forward = forward + 1 | |
1545 | end | |
1546 | if keysDown.s then | |
1547 | forward = forward - 1 | |
1548 | end | |
1549 | if keysDown.a then | |
1550 | side = side - 1 | |
1551 | end | |
1552 | if keysDown.d then | |
1553 | side = side + 1 | |
1554 | end | |
1555 | ||
1556 | canFly = (forward ~= 0 or side ~= 0) | |
1557 | ||
1558 | if canFly then | |
1559 | stanceToggle = "Floating" | |
1560 | turnBG.Parent = root | |
1561 | floatBP.Parent = nil | |
1562 | flyBV.Parent = root | |
1563 | ||
1564 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1565 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1566 | else | |
1567 | floatBP.position = root.Position | |
1568 | floatBP.Parent = root | |
1569 | ||
1570 | flySpeed = flySpeed - 1 | |
1571 | if flySpeed < 0 then flySpeed = 0 end | |
1572 | end | |
1573 | ||
1574 | local camCF = cam.CoordinateFrame | |
1575 | local in_forward = canFly and forward or lastForward | |
1576 | local in_side = canFly and side or lastSide | |
1577 | ||
1578 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1579 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1580 | ||
1581 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 0) | |
1582 | end | |
1583 | ||
1584 | game:service'RunService'.RenderStepped:connect(function() | |
1585 | if flyToggled then | |
1586 | pchar.Humanoid.PlatformStand = true | |
1587 | end | |
1588 | updateFly() | |
1589 | end) | |
1590 | ------------------------------- | |
1591 | mouse.KeyDown:connect(function(key) | |
1592 | if key == "q" then | |
1593 | if Debounces.CanAttack == true then | |
1594 | Debounces.CanAttack = false | |
1595 | Debounces.NoIdl = true | |
1596 | Debounces.on = true | |
1597 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1598 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1599 | local List = {} | |
1600 | for i,v in pairs(workspace:GetChildren())do | |
1601 | if v:IsA("Model")then | |
1602 | if v:findFirstChild("Torso")then | |
1603 | if v ~= char then | |
1604 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1605 | table.insert(List,v) | |
1606 | end | |
1607 | end | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | return List | |
1612 | end | |
1613 | z = Instance.new("Sound",hed) | |
1614 | z.SoundId = "rbxassetid://232213955" | |
1615 | z.Pitch = 1 | |
1616 | z.Volume = 1 | |
1617 | wait(0.2) | |
1618 | z:Play() | |
1619 | sp = Instance.new("Part",rarm) | |
1620 | sp.Anchored = true | |
1621 | sp.CanCollide = false | |
1622 | sp.Locked = true | |
1623 | sp.Transparency = 0 | |
1624 | sp.Material = "Neon" | |
1625 | sp.Size = Vector3.new(1,1,1) | |
1626 | sp.TopSurface = "SmoothNoOutlines" | |
1627 | sp.BottomSurface = "SmoothNoOutlines" | |
1628 | sp.BrickColor = BrickColor.new("Really red") | |
1629 | spm = Instance.new("SpecialMesh",sp) | |
1630 | spm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1631 | spm.Scale = Vector3.new(21,21,21) | |
1632 | sp2 = Instance.new("Part", rarm) | |
1633 | sp2.Name = "Energy" | |
1634 | sp2.BrickColor = BrickColor.new("Really red") | |
1635 | sp2.Size = Vector3.new(1, 1, 1) | |
1636 | sp2.Shape = "Ball" | |
1637 | sp2.CanCollide = false | |
1638 | sp2.Anchored = true | |
1639 | sp2.Locked = true | |
1640 | sp2.TopSurface = 0 | |
1641 | sp2.BottomSurface = 0 | |
1642 | sp2.Transparency = 1 | |
1643 | spm2 = Instance.new("SpecialMesh",sp2) | |
1644 | spm2.MeshId = "rbxassetid://9982590" | |
1645 | spm2.Scale = Vector3.new(2,2,2) | |
1646 | for i = 1, 20 do | |
1647 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1648 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1649 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
1650 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
1651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1653 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1654 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1655 | if Debounces.on == false then break end | |
1656 | rs:wait() | |
1657 | end | |
1658 | for i = 1, 100, 20 do rs:wait() | |
1659 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1660 | end | |
1661 | for i = 1, 20 do | |
1662 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1663 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1664 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
1665 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1666 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1667 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1668 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1669 | if Debounces.on == false then break end | |
1670 | rs:wait() | |
1671 | end | |
1672 | sp.Transparency = 1 | |
1673 | for i = 1, 20 do | |
1674 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1675 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
1676 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1677 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1678 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1679 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1680 | if Debounces.on == false then break end | |
1681 | rs:wait() | |
1682 | end | |
1683 | wait(1) | |
1684 | sp.Transparency = 0 | |
1685 | sp2.Transparency = 0.84 | |
1686 | for i = 1, 20 do | |
1687 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1688 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1689 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1690 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
1691 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
1692 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1693 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1694 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1695 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1696 | if Debounces.on == false then break end | |
1697 | rs:wait() | |
1698 | end | |
1699 | for i = 1, 2880, 50 do | |
1700 | rs:wait() | |
1701 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1702 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1703 | rs:wait() | |
1704 | end | |
1705 | sp:Destroy() | |
1706 | sp2:Destroy() | |
1707 | local X = Instance.new("Part",char) | |
1708 | local O = Instance.new("ObjectValue",X) | |
1709 | O.Name = "creator" | |
1710 | X.Locked = true | |
1711 | X.Name = "Shell" | |
1712 | X.Anchored = false | |
1713 | X.CanCollide = false | |
1714 | X.Transparency = 0 | |
1715 | X.Reflectance = 0 | |
1716 | X.BottomSurface = 0 | |
1717 | X.TopSurface = 0 | |
1718 | X.Shape = 0 | |
1719 | local V = Instance.new("ObjectValue",X) | |
1720 | V.Value = char | |
1721 | V.Name = "creator" | |
1722 | X.BrickColor = BrickColor.new("Really red") | |
1723 | X.Size = Vector3.new(2,2,2) | |
1724 | X.Material = "Neon" | |
1725 | local Z = Instance.new("SpecialMesh",X) | |
1726 | Z.MeshType = "Sphere" | |
1727 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1728 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1729 | local bv = Instance.new("BodyVelocity",X) | |
1730 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1731 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1732 | bv.velocity = X.CFrame.lookVector*65 | |
1733 | ||
1734 | Explode = X.Touched:connect(function(hit) | |
1735 | if hit ~= char and hit.Name ~= "Shell" then | |
1736 | local cf = X.CFrame | |
1737 | bv:Destroy() | |
1738 | X.Anchored = true | |
1739 | Z:Remove() | |
1740 | Explode:disconnect() | |
1741 | X.Size = Vector3.new(3,3,3) | |
1742 | X.Touched:connect(function(hit) end) | |
1743 | X.CanCollide = false | |
1744 | local part3 = Instance.new("Part", rarm) | |
1745 | part3.Anchored=true | |
1746 | part3.CanCollide=false | |
1747 | part3.Locked = true | |
1748 | part3.TopSurface = "SmoothNoOutlines" | |
1749 | part3.BottomSurface = "SmoothNoOutlines" | |
1750 | part3.FormFactor='Custom' | |
1751 | part3.Size=Vector3.new(1,1, 1) | |
1752 | part3.CFrame=X.CFrame | |
1753 | part3.Transparency=0 | |
1754 | part3.BrickColor=BrickColor.new("Really red") | |
1755 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1756 | mesh3.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1757 | mesh3.Scale = Vector3.new(1,1,1) | |
1758 | --debris:AddItem(X,8) | |
1759 | local part4 = Instance.new("Part", rarm) | |
1760 | part4.Material = "Neon" | |
1761 | part4.Anchored=true | |
1762 | part4.CanCollide=false | |
1763 | part4.Locked = true | |
1764 | part4.TopSurface = "SmoothNoOutlines" | |
1765 | part4.BottomSurface = "SmoothNoOutlines" | |
1766 | part4.FormFactor='Custom' | |
1767 | part4.Size=Vector3.new(1,1, 1) | |
1768 | part4.CFrame=X.CFrame | |
1769 | part4.Transparency=0 | |
1770 | part4.BrickColor=BrickColor.new("Hot pink") | |
1771 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1772 | mesh4.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1773 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1774 | local part7 = Instance.new("Part", rarm) | |
1775 | part7.Material = "Neon" | |
1776 | part7.Anchored=true | |
1777 | part7.CanCollide=false | |
1778 | part7.Locked = true | |
1779 | part7.TopSurface = "SmoothNoOutlines" | |
1780 | part7.BottomSurface = "SmoothNoOutlines" | |
1781 | part7.FormFactor='Custom' | |
1782 | part7.Size=Vector3.new(1,1, 1) | |
1783 | part7.CFrame=X.CFrame | |
1784 | part7.Transparency=0 | |
1785 | part7.BrickColor=BrickColor.new("Royal purple") | |
1786 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1787 | mesh7.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1788 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1789 | --[[X.Touched:connect(function(ht) | |
1790 | hit = ht.Parent | |
1791 | if ht and hit:IsA("Model") then | |
1792 | if hit:FindFirstChild("Humanoid") then | |
1793 | if hit.Name ~= p.Name then | |
1794 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1795 | wait(.3) | |
1796 | end | |
1797 | end | |
1798 | elseif ht and hit:IsA("Hat") then | |
1799 | if hit.Parent.Name ~= p.Name then | |
1800 | if hit.Parent:FindFirstChild("Humanoid") then | |
1801 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1802 | wait(.3) | |
1803 | end | |
1804 | end | |
1805 | end | |
1806 | end) | |
1807 | part3.Touched:connect(function(ht) | |
1808 | hit = ht.Parent | |
1809 | if ht and hit:IsA("Model") then | |
1810 | if hit:FindFirstChild("Humanoid") then | |
1811 | if hit.Name ~= p.Name then | |
1812 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1813 | wait(.3) | |
1814 | end | |
1815 | end | |
1816 | elseif ht and hit:IsA("Hat") then | |
1817 | if hit.Parent.Name ~= p.Name then | |
1818 | if hit.Parent:FindFirstChild("Humanoid") then | |
1819 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1820 | wait(.3) | |
1821 | end | |
1822 | end | |
1823 | end | |
1824 | end)]]-- | |
1825 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1826 | if v:FindFirstChild('Humanoid') then | |
1827 | v.Humanoid:TakeDamage(math.huge) | |
1828 | v.Humanoid.PlatformStand = true | |
1829 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1830 | end | |
1831 | end | |
1832 | ||
1833 | local acos = math.acos | |
1834 | local sqrt = math.sqrt | |
1835 | local Vec3 = Vector3.new | |
1836 | local fromAxisAngle = CFrame.fromAxisAngle | |
1837 | ||
1838 | local function toAxisAngle(CFr) | |
1839 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1840 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1841 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1842 | A = A == 0 and 0.00001 or A | |
1843 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1844 | B = B == 0 and 0.00001 or B | |
1845 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1846 | C = C == 0 and 0.00001 or C | |
1847 | local x = (R21-R12)/sqrt(A) | |
1848 | local y = (R02-R20)/sqrt(B) | |
1849 | local z = (R10-R01)/sqrt(C) | |
1850 | return Vec3(x,y,z),Angle | |
1851 | end | |
1852 | ||
1853 | function ApplyTrig(Num,Func) | |
1854 | local Min,Max = Func(0),Func(1) | |
1855 | local i = Func(Num) | |
1856 | return (i-Min)/(Max-Min) | |
1857 | end | |
1858 | ||
1859 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1860 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1861 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1862 | end | |
1863 | ||
1864 | function Crater(Torso,Radius) | |
1865 | Spawn(function() | |
1866 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1867 | local Ignore = {} | |
1868 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1869 | if v.Character ~= nil then | |
1870 | Ignore[#Ignore+1] = v.Character | |
1871 | end | |
1872 | end | |
1873 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1874 | if Hit == nil then return end | |
1875 | local Parts = {} | |
1876 | for i = 1,360,10 do | |
1877 | local P = Instance.new("Part",Torso.Parent) | |
1878 | P.Anchored = true | |
1879 | P.FormFactor = "Custom" | |
1880 | P.BrickColor = Hit.BrickColor | |
1881 | P.Material = Hit.Material | |
1882 | P.TopSurface = "Smooth" | |
1883 | P.BottomSurface = "Smooth" | |
1884 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1885 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1886 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1887 | if math.random(0,5) == 0 then -- rubble | |
1888 | local P = Instance.new("Part",Torso.Parent) | |
1889 | P.Anchored = true | |
1890 | P.FormFactor = "Custom" | |
1891 | P.BrickColor = Hit.BrickColor | |
1892 | P.Material = Hit.Material | |
1893 | P.TopSurface = "Smooth" | |
1894 | P.BottomSurface = "Smooth" | |
1895 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1896 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1897 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1898 | end | |
1899 | end | |
1900 | for i = 0,1,0.05 do | |
1901 | for i2,v in pairs(Parts) do | |
1902 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1903 | end | |
1904 | wait(0.02) | |
1905 | end | |
1906 | for i,v in pairs(Parts) do | |
1907 | if v[1].Size.X > 2.1 then | |
1908 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1909 | end | |
1910 | v[1].Anchored = false | |
1911 | end | |
1912 | for i = 0,1,0.05 do | |
1913 | for i2,v in pairs(Parts) do | |
1914 | v[1].Transparency = i | |
1915 | if i == 1 then | |
1916 | v[1]:Destroy() | |
1917 | elseif i >= 0.25 then | |
1918 | v[1].CanCollide = false | |
1919 | end | |
1920 | end | |
1921 | wait(0.02) | |
1922 | end | |
1923 | Parts = nil | |
1924 | end) | |
1925 | end | |
1926 | ||
1927 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1928 | for i = 1, 360, 360/t do | |
1929 | local c = Instance.new("Part", game.Workspace) | |
1930 | c.FormFactor = 3 | |
1931 | c.TopSurface = 0 | |
1932 | c.BottomSurface = 0 | |
1933 | c.Size = s | |
1934 | c.Anchored = true | |
1935 | c.CanCollide = wt | |
1936 | c.Material=workspace.Base.Material | |
1937 | c.Transparency = trans | |
1938 | c.BrickColor = workspace.Base.BrickColor | |
1939 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
1940 | c.Locked=true | |
1941 | game.Debris:AddItem(c,15) | |
1942 | end | |
1943 | end | |
1944 | ||
1945 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1946 | local p = Instance.new('Part',parent or Weapon) | |
1947 | p.formFactor = 'Custom' | |
1948 | p.Size = Vector3.new(x,y,z) | |
1949 | p.BrickColor = BrickColor.new(color) | |
1950 | p.CanCollide = cc | |
1951 | p.Transparency = tr | |
1952 | p.Anchored = an | |
1953 | p.TopSurface,p.BottomSurface = 0,0 | |
1954 | p.Locked=true | |
1955 | p:BreakJoints() | |
1956 | return p end | |
1957 | ||
1958 | Mesh = function(par,num,x,y,z) | |
1959 | local msh = _ | |
1960 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1961 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1962 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1963 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1964 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1965 | end msh.Scale = Vector3.new(x,y,z) | |
1966 | return msh end | |
1967 | ||
1968 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1969 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1970 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1971 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1972 | v1,v2,v3=sz.x,sz.y,sz.z | |
1973 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1974 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1975 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1976 | a.CFrame=cfr | |
1977 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1978 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1979 | ||
1980 | Spawn(function() | |
1981 | while wait() do | |
1982 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1983 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1984 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1985 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1986 | a.Transparency=a.Transparency+0.05 | |
1987 | a2.Transparency=a2.Transparency+0.05 | |
1988 | a3.Transparency=a3.Transparency+0.05 | |
1989 | end | |
1990 | end) | |
1991 | end | |
1992 | ||
1993 | Crater(X,20) | |
1994 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
1995 | z = Instance.new("Sound",X) | |
1996 | z.SoundId = "rbxassetid://231917744" | |
1997 | z.Pitch = .5 | |
1998 | z.Volume = 10 | |
1999 | z1 = Instance.new("Sound",X) | |
2000 | z1.SoundId = "rbxassetid://231917744" | |
2001 | z1.Pitch = .5 | |
2002 | z1.Volume = 10 | |
2003 | z2 = Instance.new("Sound",X) | |
2004 | z2.SoundId = "rbxassetid://231917744" | |
2005 | z2.Pitch = .5 | |
2006 | z2.Volume = 10 | |
2007 | z3 = Instance.new("Sound",X) | |
2008 | z3.SoundId = "rbxassetid://245537790" | |
2009 | z3.Pitch = .7 | |
2010 | z3.Volume = 1 | |
2011 | z4 = Instance.new("Sound",X) | |
2012 | z4.SoundId = "rbxassetid://245537790" | |
2013 | z4.Pitch = .7 | |
2014 | z4.Volume = 1 | |
2015 | wait(0.1) | |
2016 | z:Play() | |
2017 | z1:Play() | |
2018 | z2:Play() | |
2019 | z3:Play() | |
2020 | z4:Play() | |
2021 | ||
2022 | local part=Instance.new('Part',rarm) | |
2023 | part.Anchored=true | |
2024 | part.CanCollide=false | |
2025 | part.Locked = true | |
2026 | part.FormFactor='Custom' | |
2027 | part.Size=Vector3.new(1,1,1) | |
2028 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2029 | part.Transparency=0 | |
2030 | part.BrickColor=BrickColor.new('Royal purple') | |
2031 | local mesh=Instance.new('SpecialMesh',part) | |
2032 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2033 | mesh.Scale=Vector3.new(2,2,2) | |
2034 | local part2=part:clone() | |
2035 | part2.Parent = rarm | |
2036 | part2.BrickColor=BrickColor.new("Really red") | |
2037 | local part5=part:clone() | |
2038 | part5.Parent = rarm | |
2039 | part5.BrickColor=BrickColor.new("Really red") | |
2040 | local part6=part:clone() | |
2041 | part6.Parent = rarm | |
2042 | part6.BrickColor=BrickColor.new("Black") | |
2043 | local mesh2=mesh:clone() | |
2044 | mesh2.Parent=part2 | |
2045 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2046 | local mesh5=mesh:clone() | |
2047 | mesh5.Parent=part5 | |
2048 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2049 | local mesh6=mesh:clone() | |
2050 | mesh6.Parent=part6 | |
2051 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2052 | local blast = Instance.new("Part", rarm) | |
2053 | blast.BrickColor = BrickColor.new("Royal purple") | |
2054 | blast.Anchored = true | |
2055 | blast.CanCollide = false | |
2056 | blast.Locked = true | |
2057 | blast.Size = Vector3.new(1, 1, 1) | |
2058 | blast.TopSurface = "Smooth" | |
2059 | blast.BottomSurface = "Smooth" | |
2060 | blast.Transparency = 0 | |
2061 | blast.CFrame = HandCF | |
2062 | local bm = Instance.new("SpecialMesh", blast) | |
2063 | bm.Scale = Vector3.new(5,1,5) | |
2064 | bm.MeshId = "rbxassetid://156292343" | |
2065 | local blast2 = Instance.new("Part", rarm) | |
2066 | blast2.BrickColor = BrickColor.new("Royal purple") | |
2067 | blast2.Anchored = true | |
2068 | blast2.CanCollide = false | |
2069 | blast2.Locked = true | |
2070 | blast2.Size = Vector3.new(1, 1, 1) | |
2071 | blast2.TopSurface = "Smooth" | |
2072 | blast2.BottomSurface = "Smooth" | |
2073 | blast2.Transparency = 0 | |
2074 | blast2.CFrame = HandCF | |
2075 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2076 | bm2.Scale = Vector3.new(3,1,3) | |
2077 | bm2.MeshId = "rbxassetid://156292343" | |
2078 | local blast3 = Instance.new("Part", rarm) | |
2079 | blast3.BrickColor = BrickColor.new("Royal purple") | |
2080 | blast3.Anchored = true | |
2081 | blast3.CanCollide = false | |
2082 | blast3.Locked = true | |
2083 | blast3.Size = Vector3.new(1, 1, 1) | |
2084 | blast3.TopSurface = "Smooth" | |
2085 | blast3.BottomSurface = "Smooth" | |
2086 | blast3.Transparency = 0 | |
2087 | blast3.CFrame = HandCF | |
2088 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2089 | bm3.Scale = Vector3.new(3,1,3) | |
2090 | bm3.MeshId = "rbxassetid://3270017" | |
2091 | for i = 1,120 do rs:wait() | |
2092 | X.Transparency = X.Transparency + (1/120) | |
2093 | part.Transparency = part.Transparency + (1/120) | |
2094 | part2.Transparency = part2.Transparency + (1/120) | |
2095 | part3.Transparency = part3.Transparency + (1/120) | |
2096 | part4.Transparency = part4.Transparency + (1/120) | |
2097 | part5.Transparency = part5.Transparency + (1/120) | |
2098 | part6.Transparency = part6.Transparency + (1/120) | |
2099 | part7.Transparency = part7.Transparency + (1/120) | |
2100 | blast.Transparency = blast.Transparency + (1/120) | |
2101 | blast2.Transparency = blast2.Transparency + (1/120) | |
2102 | blast3.Transparency = blast3.Transparency + (1/120) | |
2103 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2104 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2105 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2106 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2107 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2108 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2109 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2110 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2111 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2112 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2113 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2114 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2115 | X.CFrame = cf | |
2116 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2117 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2118 | part3.CFrame=X.CFrame | |
2119 | part4.CFrame=X.CFrame | |
2120 | part7.CFrame=X.CFrame | |
2121 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2122 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2123 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2124 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2125 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2126 | rs:wait() | |
2127 | end | |
2128 | X:Destroy() | |
2129 | part:Destroy() | |
2130 | part2:Destroy() | |
2131 | part3:Destroy() | |
2132 | part4:Destroy() | |
2133 | part5:Destroy() | |
2134 | part6:Destroy() | |
2135 | blast:Destroy() | |
2136 | blast2:Destroy() | |
2137 | blast3:Destroy() | |
2138 | z:Destroy() | |
2139 | z1:Destroy() | |
2140 | z2:Destroy() | |
2141 | z3:Destroy() | |
2142 | z4:Destroy() | |
2143 | end | |
2144 | end) | |
2145 | for i = 1, 20 do | |
2146 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
2147 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
2148 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2149 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
2150 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
2151 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
2152 | if Debounces.on == false then break end | |
2153 | rs:wait() | |
2154 | end | |
2155 | if Debounces.CanAttack == false then | |
2156 | Debounces.CanAttack = true | |
2157 | Debounces.NoIdl = false | |
2158 | Debounces.on = false | |
2159 | end | |
2160 | end | |
2161 | end | |
2162 | end) | |
2163 | ---------------------------------------------------- | |
2164 | mouse.KeyDown:connect(function(key) | |
2165 | if key == "e" then | |
2166 | if Debounces.CanAttack == true then | |
2167 | Debounces.CanAttack = false | |
2168 | Debounces.on = true | |
2169 | Debounces.NoIdl = true | |
2170 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2171 | z = Instance.new("Sound", rarm) | |
2172 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2173 | z.Volume = .6 | |
2174 | z.Pitch = pt[math.random(1,#pt)] | |
2175 | z.Looped = false | |
2176 | z:Play() | |
2177 | Debounces.RPunch = true | |
2178 | Debounces.LPunch = true | |
2179 | Debounces.ks = true | |
2180 | Debounces.ks2 = true | |
2181 | for i = 1, 3 do | |
2182 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2183 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2184 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2185 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2186 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2187 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2188 | if Debounces.on == false then break end | |
2189 | wait() | |
2190 | end | |
2191 | z2 = Instance.new("Sound", larm) | |
2192 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2193 | z2.Volume = .6 | |
2194 | z2.Pitch = pt[math.random(1,#pt)] | |
2195 | z2.Looped = false | |
2196 | z2:Play() | |
2197 | for i = 1, 3 do | |
2198 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2199 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2200 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2201 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2202 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2203 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2204 | if Debounces.on == false then break end | |
2205 | wait() | |
2206 | end | |
2207 | z3 = Instance.new("Sound", rarm) | |
2208 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2209 | z3.Volume = 0.6 | |
2210 | z3.Pitch = pt[math.random(1,#pt)] | |
2211 | z3.Looped = false | |
2212 | z3:Play() | |
2213 | for i = 1, 3 do | |
2214 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2215 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2216 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2217 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2218 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2219 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2220 | if Debounces.on == false then break end | |
2221 | wait() | |
2222 | end | |
2223 | z4 = Instance.new("Sound", larm) | |
2224 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2225 | z4.Volume = .6 | |
2226 | z4.Pitch = pt[math.random(1,#pt)] | |
2227 | z4.Looped = false | |
2228 | z4:Play() | |
2229 | for i = 1, 3 do | |
2230 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2231 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2232 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2233 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2234 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2235 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2236 | if Debounces.on == false then break end | |
2237 | wait() | |
2238 | end | |
2239 | z5 = Instance.new("Sound", rarm) | |
2240 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2241 | z5.Volume = .6 | |
2242 | z5.Pitch = pt[math.random(1,#pt)] | |
2243 | z5.Looped = false | |
2244 | z5:Play() | |
2245 | for i = 1, 3 do | |
2246 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2247 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2248 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2249 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2250 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2251 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2252 | if Debounces.on == false then break end | |
2253 | wait() | |
2254 | end | |
2255 | z6 = Instance.new("Sound", larm) | |
2256 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2257 | z6.Volume = .6 | |
2258 | z6.Pitch = pt[math.random(1,#pt)] | |
2259 | z6.Looped = false | |
2260 | z6:Play() | |
2261 | for i = 1, 3 do | |
2262 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2263 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2264 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2265 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2266 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2267 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2268 | if Debounces.on == false then break end | |
2269 | wait() | |
2270 | end | |
2271 | z7 = Instance.new("Sound", rarm) | |
2272 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2273 | z7.Volume = .6 | |
2274 | z7.Pitch = pt[math.random(1,#pt)] | |
2275 | z7.Looped = false | |
2276 | z7:Play() | |
2277 | for i = 1, 3 do | |
2278 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2279 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2280 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2281 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2282 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2283 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2284 | if Debounces.on == false then break end | |
2285 | wait() | |
2286 | end | |
2287 | z8 = Instance.new("Sound", larm) | |
2288 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2289 | z8.Volume = .6 | |
2290 | z8.Pitch = pt[math.random(1,#pt)] | |
2291 | z8.Looped = false | |
2292 | z8:Play() | |
2293 | for i = 1, 3 do | |
2294 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2295 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2296 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2297 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2298 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2299 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2300 | if Debounces.on == false then break end | |
2301 | wait() | |
2302 | end | |
2303 | z9 = Instance.new("Sound", rarm) | |
2304 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2305 | z9.Volume = 0.6 | |
2306 | z9.Pitch = pt[math.random(1,#pt)] | |
2307 | z9.Looped = false | |
2308 | z9:Play() | |
2309 | for i = 1, 3 do | |
2310 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2311 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2312 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2313 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2314 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2315 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2316 | if Debounces.on == false then break end | |
2317 | wait() | |
2318 | end | |
2319 | z10 = Instance.new("Sound", larm) | |
2320 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2321 | z10.Volume = .6 | |
2322 | z10.Pitch = pt[math.random(1,#pt)] | |
2323 | z10.Looped = false | |
2324 | z10:Play() | |
2325 | for i = 1, 3 do | |
2326 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2327 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2328 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2329 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2330 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2331 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2332 | if Debounces.on == false then break end | |
2333 | wait() | |
2334 | end | |
2335 | z11 = Instance.new("Sound", rarm) | |
2336 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2337 | z11.Volume = .6 | |
2338 | z11.Pitch = pt[math.random(1,#pt)] | |
2339 | z11.Looped = false | |
2340 | z11:Play() | |
2341 | for i = 1, 3 do | |
2342 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2343 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2344 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2345 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2346 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2347 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2348 | if Debounces.on == false then break end | |
2349 | wait() | |
2350 | end | |
2351 | z12 = Instance.new("Sound", larm) | |
2352 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2353 | z12.Volume = .6 | |
2354 | z12.Pitch = pt[math.random(1,#pt)] | |
2355 | z12.Looped = false | |
2356 | z12:Play() | |
2357 | for i = 1, 3 do | |
2358 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2359 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2360 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2361 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2362 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2363 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2364 | if Debounces.on == false then break end | |
2365 | wait() | |
2366 | end | |
2367 | z13 = Instance.new("Sound", rarm) | |
2368 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2369 | z13.Volume = 0.6 | |
2370 | z13.Pitch = pt[math.random(1,#pt)] | |
2371 | z13.Looped = false | |
2372 | z13:Play() | |
2373 | for i = 1, 3 do | |
2374 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2375 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2376 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2377 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2378 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2379 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2380 | if Debounces.on == false then break end | |
2381 | wait() | |
2382 | end | |
2383 | z14 = Instance.new("Sound", larm) | |
2384 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2385 | z14.Volume = .6 | |
2386 | z14.Pitch = pt[math.random(1,#pt)] | |
2387 | z14.Looped = false | |
2388 | z14:Play() | |
2389 | for i = 1, 3 do | |
2390 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2391 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2392 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2393 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2394 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2395 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2396 | if Debounces.on == false then break end | |
2397 | wait() | |
2398 | end | |
2399 | z15 = Instance.new("Sound", rarm) | |
2400 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2401 | z15.Volume = .6 | |
2402 | z15.Pitch = pt[math.random(1,#pt)] | |
2403 | z15.Looped = false | |
2404 | z15:Play() | |
2405 | for i = 1, 3 do | |
2406 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2407 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2408 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2409 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2410 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2411 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2412 | if Debounces.on == false then break end | |
2413 | wait() | |
2414 | end | |
2415 | z16 = Instance.new("Sound", larm) | |
2416 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2417 | z16.Volume = .6 | |
2418 | z16.Pitch = pt[math.random(1,#pt)] | |
2419 | z16.Looped = false | |
2420 | z16:Play() | |
2421 | for i = 1, 3 do | |
2422 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2423 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2424 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2425 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2426 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2427 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2428 | if Debounces.on == false then break end | |
2429 | wait() | |
2430 | end | |
2431 | z17 = Instance.new("Sound", rarm) | |
2432 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2433 | z17.Volume = .6 | |
2434 | z17.Pitch = pt[math.random(1,#pt)] | |
2435 | z17.Looped = false | |
2436 | z17:Play() | |
2437 | for i = 1, 3 do | |
2438 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2439 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2440 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2441 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2442 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2443 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2444 | if Debounces.on == false then break end | |
2445 | wait() | |
2446 | end | |
2447 | z18 = Instance.new("Sound", larm) | |
2448 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2449 | z18.Volume = .6 | |
2450 | z18.Pitch = pt[math.random(1,#pt)] | |
2451 | z18.Looped = false | |
2452 | z18:Play() | |
2453 | for i = 1, 3 do | |
2454 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2455 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2456 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2457 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2458 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2459 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2460 | if Debounces.on == false then break end | |
2461 | wait() | |
2462 | end | |
2463 | z19 = Instance.new("Sound", rarm) | |
2464 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2465 | z19.Volume = 0.6 | |
2466 | z19.Pitch = pt[math.random(1,#pt)] | |
2467 | z19.Looped = false | |
2468 | z19:Play() | |
2469 | for i = 1, 3 do | |
2470 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2471 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2472 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2473 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2476 | if Debounces.on == false then break end | |
2477 | wait() | |
2478 | end | |
2479 | z20 = Instance.new("Sound", larm) | |
2480 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2481 | z20.Volume = .6 | |
2482 | z20.Pitch = pt[math.random(1,#pt)] | |
2483 | z20.Looped = false | |
2484 | z20:Play() | |
2485 | for i = 1, 3 do | |
2486 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2487 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2488 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2489 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2490 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2491 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2492 | if Debounces.on == false then break end | |
2493 | wait() | |
2494 | end | |
2495 | z:Destroy() | |
2496 | z2:Destroy() | |
2497 | z3:Destroy() | |
2498 | z4:Destroy() | |
2499 | z5:Destroy() | |
2500 | z6:Destroy() | |
2501 | z7:Destroy() | |
2502 | z8:Destroy() | |
2503 | z9:Destroy() | |
2504 | z10:Destroy() | |
2505 | z11:Destroy() | |
2506 | z12:Destroy() | |
2507 | z13:Destroy() | |
2508 | z14:Destroy() | |
2509 | z15:Destroy() | |
2510 | z16:Destroy() | |
2511 | z17:Destroy() | |
2512 | z18:Destroy() | |
2513 | z19:Destroy() | |
2514 | z20:Destroy() | |
2515 | Debounces.LPunch = false | |
2516 | Debounces.RPunch = false | |
2517 | Debounces.ks = false | |
2518 | Debounces.ks2 = false | |
2519 | if Debounces.CanAttack == false then | |
2520 | Debounces.CanAttack = true | |
2521 | Debounces.on = false | |
2522 | Debounces.NoIdl = false | |
2523 | end | |
2524 | end | |
2525 | end | |
2526 | end) | |
2527 | ------------------------------- | |
2528 | mouse.KeyDown:connect(function(key) | |
2529 | if key == "t" then | |
2530 | if Debounces.CanAttack == true then | |
2531 | Debounces.CanAttack = false | |
2532 | Debounces.NoIdl = true | |
2533 | Debounces.on = true | |
2534 | Debounces.ks = true | |
2535 | kik = rleg.Touched:connect(function(ht) | |
2536 | hit = ht.Parent | |
2537 | if ht and hit:IsA("Model") then | |
2538 | if hit:FindFirstChild("Humanoid") then | |
2539 | if hit.Name ~= p.Name then | |
2540 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2541 | Debounces.Slashed = true]]-- | |
2542 | if Debounces.ks==true then | |
2543 | z = Instance.new("Sound",hed) | |
2544 | z.SoundId = "rbxassetid://169380525" | |
2545 | z.Volume = 1 | |
2546 | z:Play() | |
2547 | Debounces.ks=false | |
2548 | end | |
2549 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2550 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2551 | --Debounces.Slashed = false | |
2552 | --end | |
2553 | end | |
2554 | end | |
2555 | elseif ht and hit:IsA("Hat") then | |
2556 | if hit.Parent.Name ~= p.Name then | |
2557 | if hit.Parent:FindFirstChild("Humanoid") then | |
2558 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2559 | Debounces.Slashed = true]]-- | |
2560 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2561 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2562 | --Debounces.Slashed = false | |
2563 | --end | |
2564 | end | |
2565 | end | |
2566 | end | |
2567 | end) | |
2568 | for i = 1,20 do | |
2569 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2570 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
2571 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2572 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2573 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2574 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2575 | if Debounces.on == false then break end | |
2576 | rs:wait() | |
2577 | end | |
2578 | kik:disconnect() | |
2579 | if Debounces.CanAttack == false then | |
2580 | Debounces.CanAttack = true | |
2581 | Debounces.NoIdl = false | |
2582 | Debounces.on = false | |
2583 | end | |
2584 | end | |
2585 | end | |
2586 | end) | |
2587 | ---------------------------------------------------- | |
2588 | mouse.KeyDown:connect(function(key) | |
2589 | if key == "y" then | |
2590 | if Debounces.CanAttack == true then | |
2591 | Debounces.CanAttack = false | |
2592 | Debounces.on = true | |
2593 | Debounces.NoIdl = true | |
2594 | for i = 1, 15 do | |
2595 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
2596 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
2597 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2598 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2599 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2600 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2601 | if Debounces.on == false then break end | |
2602 | rs:wait(2.7) | |
2603 | end | |
2604 | x = Instance.new("Sound",char) | |
2605 | x.SoundId = "rbxassetid://345052019" | |
2606 | x.Pitch = 0.8 | |
2607 | x.Volume = 1 | |
2608 | x:Play() | |
2609 | wait(1.5) | |
2610 | Debounces.on = false | |
2611 | Debounces.Here = false | |
2612 | shot = shot + 1 | |
2613 | local rng = Instance.new("Part", larm) | |
2614 | rng.Anchored = true | |
2615 | rng.BrickColor = BrickColor.new("Really red") | |
2616 | rng.CanCollide = false | |
2617 | rng.FormFactor = 3 | |
2618 | rng.Name = "Ring" | |
2619 | rng.Size = Vector3.new(1, 1, 1) | |
2620 | rng.Transparency = 0.35 | |
2621 | rng.TopSurface = 0 | |
2622 | rng.BottomSurface = 0 | |
2623 | rng2 = rng:clone() | |
2624 | rng3 = rng2:clone() | |
2625 | rng4 = rng2:clone() | |
2626 | local rngm = Instance.new("SpecialMesh", rng) | |
2627 | rngm.MeshId = "http://www.roblox.com/asset?id=156292355" | |
2628 | rngm.Scale = Vector3.new(10, 10, 1) | |
2629 | rngm2 = rngm:clone() | |
2630 | rngm2.Scale = Vector3.new(6, 6, 4) | |
2631 | rngm3=rngm2:clone() | |
2632 | rngm3.Parent = rng3 | |
2633 | rngm3.Scale = Vector3.new(9, 9, 2) | |
2634 | rngm4 = rngm2:clone() | |
2635 | rngm4.Parent = rng4 | |
2636 | rngm4.Scale = Vector3.new(7, 7, 2) | |
2637 | local bem = Instance.new("Part", larm) | |
2638 | bem.Anchored = true | |
2639 | bem.BrickColor = BrickColor.new("White") | |
2640 | bem.CanCollide = false | |
2641 | bem.FormFactor = 3 | |
2642 | bem.Name = "Beam" .. shot | |
2643 | bem.Size = Vector3.new(1, 1, 1) | |
2644 | bem.Transparency = 0.35 | |
2645 | bem.TopSurface = 0 | |
2646 | bem.BottomSurface = 0 | |
2647 | local bemm = Instance.new("SpecialMesh", bem) | |
2648 | bemm.MeshType = 4 | |
2649 | bemm.Scale = Vector3.new(1, 10, 10) | |
2650 | local out = Instance.new("Part", larm) | |
2651 | out.Anchored = true | |
2652 | out.BrickColor = BrickColor.new("White") | |
2653 | out.CanCollide = false | |
2654 | out.FormFactor = 3 | |
2655 | out.Name = "Out" | |
2656 | out.Size = Vector3.new(4, 4, 4) | |
2657 | out.Transparency = 0.35 | |
2658 | out.TopSurface = 0 | |
2659 | out.BottomSurface = 0 | |
2660 | local outm = Instance.new("SpecialMesh", out) | |
2661 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2662 | outm.Scale = Vector3.new(10, 10, 10) | |
2663 | local bnd = Instance.new("Part", larm) | |
2664 | bnd.Anchored = true | |
2665 | bnd.BrickColor = BrickColor.new("Really red") | |
2666 | bnd.CanCollide = false | |
2667 | bnd.FormFactor = 3 | |
2668 | bnd.Name = "Bend" | |
2669 | bnd.Size = Vector3.new(1, 1, 1) | |
2670 | bnd.Transparency = 1 | |
2671 | bnd.TopSurface = 0 | |
2672 | bnd.BottomSurface = 0 | |
2673 | local bndm = Instance.new("SpecialMesh", bnd) | |
2674 | bndm.MeshType = 3 | |
2675 | bndm.Scale = Vector3.new(8, 8, 8) | |
2676 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2677 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2678 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2679 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2680 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2681 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2682 | Debounces.Shewt = true | |
2683 | coroutine.wrap(function() | |
2684 | for i = 1, 20, 0.2 do | |
2685 | rngm.Scale = Vector3.new(50 + i*5, 50 + i*5, 1) | |
2686 | rngm3.Scale = Vector3.new(30 + i*25, 30 + i*25, 1) | |
2687 | rngm4.Scale = Vector3.new(27 + i*30, 27 + i*30, 1) | |
2688 | rng.Transparency = i/30 | |
2689 | rng3.Transparency = 1/34 | |
2690 | rng4.Transparency = i/36 | |
2691 | wait() | |
2692 | end | |
2693 | wait() | |
2694 | rng:Destroy() | |
2695 | end)() | |
2696 | if Debounces.Shewt == true then | |
2697 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2698 | hit = ht.Parent | |
2699 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2700 | if HasntTouched(hit.Name) == true and deb == false then | |
2701 | deb = true | |
2702 | coroutine.wrap(function() | |
2703 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2704 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2705 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2706 | end)() | |
2707 | table.insert(Touche, hit.Name) | |
2708 | deb = false | |
2709 | end | |
2710 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2711 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2712 | deb = true | |
2713 | coroutine.wrap(function() | |
2714 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2715 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2716 | wait(1) | |
2717 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2718 | end)() | |
2719 | table.insert(Touche, hit.Parent.Name) | |
2720 | deb = false | |
2721 | for i, v in pairs(Touche) do | |
2722 | print(v) | |
2723 | end | |
2724 | end | |
2725 | end | |
2726 | end) | |
2727 | end | |
2728 | for i = 0, 260, 8 do | |
2729 | bem.Size = Vector3.new(i, 10, 10) | |
2730 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2731 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2732 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2733 | bnd.Size = Vector3.new(1,1,1) | |
2734 | bndm.Scale = Vector3.new(8,8,8) | |
2735 | if i % 10 == 0 then | |
2736 | local newRng = rng2:Clone() | |
2737 | newRng.Parent = larm | |
2738 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2739 | local newRngm = rngm2:clone() | |
2740 | newRngm.Parent=newRng | |
2741 | coroutine.wrap(function() | |
2742 | for i = 1, 10, 0.2 do | |
2743 | newRngm.Scale = Vector3.new(50 + i*30, 50 + i*30, 3) | |
2744 | newRng.Transparency = i/10 | |
2745 | wait() | |
2746 | end | |
2747 | wait() | |
2748 | newRng:Destroy() | |
2749 | end)() | |
2750 | end | |
2751 | wait() | |
2752 | end | |
2753 | wait() | |
2754 | Debounces.Shewt = false | |
2755 | bem:Destroy() | |
2756 | out:Destroy() | |
2757 | bnd:Destroy() | |
2758 | Debounces.Ready = false | |
2759 | for i, v in pairs(Touche) do | |
2760 | table.remove(Touche, i) | |
2761 | end | |
2762 | wait() | |
2763 | table.insert(Touche, char.Name) | |
2764 | Debounces.NoIdl = false | |
2765 | if Debounces.CanAttack == false then | |
2766 | Debounces.CanAttack = true | |
2767 | end | |
2768 | end | |
2769 | end | |
2770 | end) | |
2771 | ---------------------------------------------------- | |
2772 | Charging = false | |
2773 | mouse.KeyDown:connect(function(key) | |
2774 | if key == "r" then | |
2775 | if Charging == false then | |
2776 | Charging = true | |
2777 | if Debounces.CanAttack == true then | |
2778 | Debounces.CanAttack = false | |
2779 | Debounces.NoIdl = true | |
2780 | Debounces.on = true | |
2781 | for i = 1,20 do | |
2782 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2783 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2784 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2785 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2786 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2787 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2788 | if Debounces.on == false then break end | |
2789 | rs:wait() | |
2790 | end | |
2791 | --[[for i = 1,20 do | |
2792 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2793 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2796 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2797 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2798 | if Debounces.on == false then break end | |
2799 | rs:wait() | |
2800 | end]]-- | |
2801 | pt=Instance.new('Part',torso) | |
2802 | pt.Anchored=true | |
2803 | pt.CanCollide=false | |
2804 | pt.Locked = true | |
2805 | pt.FormFactor='Custom' | |
2806 | pt.Size=Vector3.new(1,1,1) | |
2807 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2808 | pt.Transparency=.6 | |
2809 | pt.BrickColor=BrickColor.new('White') | |
2810 | msh=Instance.new('SpecialMesh',pt) | |
2811 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2812 | msh.Scale=Vector3.new(9.5,9.5,9.5) | |
2813 | pt2=pt:clone() | |
2814 | pt2.Parent = torso | |
2815 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2816 | pt2.BrickColor=BrickColor.new("Really red") | |
2817 | msh2=msh:clone() | |
2818 | msh2.Parent=pt2 | |
2819 | msh2.Scale=Vector3.new(9.5,9.5,9.5) | |
2820 | ||
2821 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
2822 | ||
2823 | bl = Instance.new("Part", char) | |
2824 | bl.Locked = true | |
2825 | bl.Name = "Shell" | |
2826 | bl.BrickColor = BrickColor.new("Really red") | |
2827 | bl.Anchored = true | |
2828 | bl.CanCollide = false | |
2829 | bl.Transparency = 0 | |
2830 | bl.Reflectance = 0 | |
2831 | bl.BottomSurface = 0 | |
2832 | bl.TopSurface = 0 | |
2833 | bl.Shape = 0 | |
2834 | blm = Instance.new("SpecialMesh",bl) | |
2835 | blm.MeshType = "Sphere" | |
2836 | blm.Scale = Vector3.new(9.5,9.5,9.5) | |
2837 | blm.MeshId = "rbxassetid://9982590" | |
2838 | ||
2839 | coroutine.resume(coroutine.create(function() | |
2840 | for i=1, math.huge, 4 do | |
2841 | if Charging == true then | |
2842 | rs:wait() | |
2843 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2844 | blm.Scale = blm.Scale + Vector3.new(9.5,9.5,9.5) | |
2845 | bl.Transparency = bl.Transparency + 0.1 | |
2846 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2847 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2848 | msh.Scale = msh.Scale + Vector3.new(9.5,0,9.5) | |
2849 | msh2.Scale = msh2.Scale + Vector3.new(9.5,0,9.5) | |
2850 | elseif Charging == false then break | |
2851 | end | |
2852 | end | |
2853 | end)) | |
2854 | ||
2855 | repeat | |
2856 | local p = Instance.new('Part',torso) | |
2857 | p.formFactor = 'Custom' | |
2858 | p.Size = Vector3.new(1,1,1) | |
2859 | p.BrickColor = BrickColor.new('Really red') | |
2860 | p.CanCollide = false | |
2861 | p.Transparency = 0 | |
2862 | p.Anchored = true | |
2863 | p.Locked=true | |
2864 | p.Material = workspace.Base.Material | |
2865 | s = math.random(1,40)/10 | |
2866 | local m = Instance.new("BlockMesh",p) | |
2867 | m.Scale = Vector3.new(s,s,s) | |
2868 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2869 | --[[coroutine.wrap(function() | |
2870 | wait(2) | |
2871 | while Charging == true do | |
2872 | wait(2) | |
2873 | GroundWave1() | |
2874 | wait(2) | |
2875 | end | |
2876 | end)()]]-- | |
2877 | Spawn(function() | |
2878 | while rs:wait() do | |
2879 | if Charging == true then | |
2880 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2881 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2882 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2883 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2884 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2885 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2886 | elseif Charging == false then break | |
2887 | end | |
2888 | end | |
2889 | end) | |
2890 | Spawn(function() | |
2891 | while rs:wait() do | |
2892 | if p.Transparency >= 1 then p:Destroy() break end | |
2893 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2894 | p.Transparency = p.Transparency+0.01 | |
2895 | end | |
2896 | end) | |
2897 | wait(.3) | |
2898 | until Charging == false | |
2899 | end | |
2900 | end | |
2901 | end | |
2902 | end) | |
2903 | ---------------------------------------------------- | |
2904 | mouse.KeyUp:connect(function(key) | |
2905 | if key == "r" then | |
2906 | if Charging == true then | |
2907 | Charging = false | |
2908 | pt:Destroy() | |
2909 | pt2:Destroy() | |
2910 | bl:Destroy() | |
2911 | if Debounces.CanAttack == false then | |
2912 | Debounces.CanAttack = true | |
2913 | Debounces.NoIdl = false | |
2914 | Debounces.on = false | |
2915 | end | |
2916 | end | |
2917 | end | |
2918 | end) | |
2919 | ---------------------------------------------------- | |
2920 | mouse.KeyDown:connect(function(key) | |
2921 | if key == "g" then | |
2922 | if Debounces.CanAttack == true then | |
2923 | Debounces.CanAttack = false | |
2924 | Debounces.NoIdl = true | |
2925 | Debounces.on = true | |
2926 | local shell = Instance.new("Part",torso) | |
2927 | shell.BrickColor = BrickColor.new("Really red") | |
2928 | shell.Anchored = true | |
2929 | shell.CanCollide = false | |
2930 | shell.Locked = true | |
2931 | shell.TopSurface = "SmoothNoOutlines" | |
2932 | shell.BottomSurface = "SmoothNoOutlines" | |
2933 | shell.Size = Vector3.new(1,1,1) | |
2934 | shellm = Instance.new("SpecialMesh",shell) | |
2935 | shellm.MeshType = "Sphere" | |
2936 | shellm.Scale = Vector3.new(1,1,1) | |
2937 | local shell2 = Instance.new("Part",torso) | |
2938 | shell2.BrickColor = BrickColor.new("Really red") | |
2939 | shell2.Anchored = true | |
2940 | shell2.CanCollide = false | |
2941 | shell2.Locked = true | |
2942 | shell2.TopSurface = "SmoothNoOutlines" | |
2943 | shell2.BottomSurface = "SmoothNoOutlines" | |
2944 | shell2.Size = Vector3.new(1,1,1) | |
2945 | shellm2 = Instance.new("SpecialMesh",shell2) | |
2946 | shellm2.MeshType = "Sphere" | |
2947 | shellm2.Scale = Vector3.new(1,1,1) | |
2948 | ||
2949 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2950 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2951 | local List = {} | |
2952 | for i,v in pairs(workspace:GetChildren())do | |
2953 | if v:IsA("Model")then | |
2954 | if v:findFirstChild("Torso")then | |
2955 | if v ~= char then | |
2956 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2957 | table.insert(List,v) | |
2958 | end | |
2959 | end | |
2960 | end | |
2961 | end | |
2962 | end | |
2963 | return List | |
2964 | end | |
2965 | ||
2966 | Shell = function() | |
2967 | local X = Instance.new("Part",char) | |
2968 | local O = Instance.new("ObjectValue",X) | |
2969 | O.Name = "creator" | |
2970 | X.Locked = true | |
2971 | X.Name = "Shell" | |
2972 | X.Anchored = false | |
2973 | X.CanCollide = false | |
2974 | X.Transparency = 0 | |
2975 | X.Reflectance = 0 | |
2976 | X.BottomSurface = 0 | |
2977 | X.TopSurface = 0 | |
2978 | X.Shape = 0 | |
2979 | local V = Instance.new("ObjectValue",X) | |
2980 | V.Value = char | |
2981 | V.Name = "creator" | |
2982 | X.BrickColor = BrickColor.new("Really red") | |
2983 | X.Size = Vector3.new(1,1,1) | |
2984 | --X.Material = "Neon" | |
2985 | local Z = Instance.new("SpecialMesh",X) | |
2986 | Z.MeshType = "Sphere" | |
2987 | Z.Scale = Vector3.new(1,1,1) | |
2988 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2989 | local bv = Instance.new("BodyVelocity",X) | |
2990 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2991 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2992 | bv.velocity = root.CFrame.lookVector*65 | |
2993 | Explode = X.Touched:connect(function(hit) | |
2994 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2995 | local cf = X.CFrame | |
2996 | bv:Destroy() | |
2997 | X.Anchored = true | |
2998 | Z:Remove() | |
2999 | Explode:disconnect() | |
3000 | X.Size = Vector3.new(3,3,3) | |
3001 | X.Touched:connect(function(hit) end) | |
3002 | X.CanCollide = false | |
3003 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
3004 | if v:FindFirstChild('Humanoid') then | |
3005 | v.Humanoid:TakeDamage(math.huge) | |
3006 | end | |
3007 | end | |
3008 | for i = 1, (40) do rs:wait() | |
3009 | X.Transparency = X.Transparency + (1/40) | |
3010 | X.Size = X.Size + Vector3.new(1,1,1) | |
3011 | X.CFrame = cf | |
3012 | end | |
3013 | X:Destroy() | |
3014 | end | |
3015 | end) | |
3016 | end | |
3017 | Shell() | |
3018 | for i = 1, 10 do | |
3019 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3020 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3021 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3022 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3023 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
3024 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
3025 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
3026 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
3027 | if Debounces.on == false then break end | |
3028 | rs:wait() | |
3029 | end | |
3030 | Shell() | |
3031 | shell.Transparency = 1 | |
3032 | for i = 1, 10 do | |
3033 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3034 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3035 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3036 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3037 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3038 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3039 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3040 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3041 | if Debounces.on == false then break end | |
3042 | rs:wait() | |
3043 | end | |
3044 | Shell() | |
3045 | shell.Transparency = 0 | |
3046 | shell2.Transparency = 1 | |
3047 | for i = 1, 10 do | |
3048 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3049 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3050 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3051 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3054 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3055 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3056 | if Debounces.on == false then break end | |
3057 | rs:wait() | |
3058 | end | |
3059 | Shell() | |
3060 | shell2.Transparency = 0 | |
3061 | shell.Transparency = 1 | |
3062 | for i = 1, 10 do | |
3063 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3064 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3065 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3066 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3067 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3068 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3069 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3070 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3071 | if Debounces.on == false then break end | |
3072 | rs:wait() | |
3073 | end | |
3074 | Shell() | |
3075 | shell.Transparency = 0 | |
3076 | shell2.Transparency = 1 | |
3077 | for i = 1, 10 do | |
3078 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3079 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3080 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3081 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3082 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3083 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3084 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3085 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3086 | if Debounces.on == false then break end | |
3087 | rs:wait() | |
3088 | end | |
3089 | Shell() | |
3090 | shell2.Transparency = 0 | |
3091 | shell.Transparency = 1 | |
3092 | for i = 1, 10 do | |
3093 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3094 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3095 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3096 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3097 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3098 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3099 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3100 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3101 | if Debounces.on == false then break end | |
3102 | rs:wait() | |
3103 | end | |
3104 | Shell() | |
3105 | shell.Transparency = 0 | |
3106 | shell2.Transparency = 1 | |
3107 | for i = 1, 10 do | |
3108 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3109 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3110 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3111 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
3112 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3113 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3114 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3115 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3116 | if Debounces.on == false then break end | |
3117 | rs:wait() | |
3118 | end | |
3119 | Shell() | |
3120 | shell2.Transparency = 0 | |
3121 | shell.Transparency = 1 | |
3122 | for i = 1, 10 do | |
3123 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3124 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3125 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3126 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3127 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3128 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3129 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3130 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3131 | if Debounces.on == false then break end | |
3132 | rs:wait() | |
3133 | end | |
3134 | Shell() | |
3135 | shell.Transparency = 0 | |
3136 | shell2.Transparency = 1 | |
3137 | for i = 1, 10 do | |
3138 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3139 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3140 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3141 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3142 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3143 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3144 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3145 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3146 | if Debounces.on == false then break end | |
3147 | rs:wait() | |
3148 | end | |
3149 | Shell() | |
3150 | shell2.Transparency = 0 | |
3151 | shell.Transparency = 1 | |
3152 | for i = 1, 10 do | |
3153 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3154 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3155 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3156 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3157 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3158 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3159 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3160 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3161 | if Debounces.on == false then break end | |
3162 | rs:wait() | |
3163 | end | |
3164 | Shell() | |
3165 | shell.Transparency = 0 | |
3166 | shell2.Transparency = 1 | |
3167 | for i = 1, 10 do | |
3168 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3169 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3170 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3171 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3172 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3173 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3174 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3175 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3176 | if Debounces.on == false then break end | |
3177 | rs:wait() | |
3178 | end | |
3179 | Shell() | |
3180 | shell2.Transparency = 0 | |
3181 | shell.Transparency = 1 | |
3182 | for i = 1, 10 do | |
3183 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3184 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3185 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
3186 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
3187 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3188 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3189 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
3190 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
3191 | if Debounces.on == false then break end | |
3192 | rs:wait() | |
3193 | end | |
3194 | Shell() | |
3195 | shell.Transparency = 0 | |
3196 | shell2.Transparency = 1 | |
3197 | for i = 1, 10 do | |
3198 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3199 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3200 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
3201 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
3202 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3204 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
3205 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
3206 | if Debounces.on == false then break end | |
3207 | rs:wait() | |
3208 | end | |
3209 | shell.Transparency = 1 | |
3210 | if Debounces.CanAttack == false then | |
3211 | Debounces.CanAttack = true | |
3212 | Debounces.NoIdl = false | |
3213 | Debounces.on = false | |
3214 | end | |
3215 | end | |
3216 | end | |
3217 | end) | |
3218 | ---------------------------------------------------- | |
3219 | Search = false | |
3220 | mouse.KeyDown:connect(function(key) | |
3221 | if key == "n" then | |
3222 | if Search == false then | |
3223 | Search = true | |
3224 | for i,v in pairs(game.Players:getPlayers()) do | |
3225 | if v.Name~=char.Name then | |
3226 | for j,k in pairs(v.Character:GetChildren()) do | |
3227 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
3228 | bawx=Instance.new("SelectionBox",cam) | |
3229 | bawx.Color = BrickColor.new("Bright red") | |
3230 | bawx.Transparency = .5 | |
3231 | bawx.Adornee = k | |
3232 | end | |
3233 | end | |
3234 | end | |
3235 | end | |
3236 | elseif Search == true then | |
3237 | Search = false | |
3238 | for i, v in pairs(cam:GetChildren()) do | |
3239 | if v:IsA("SelectionBox") then | |
3240 | v:Destroy() | |
3241 | end | |
3242 | end | |
3243 | end | |
3244 | end | |
3245 | end) | |
3246 | ---------------------------------------------------- | |
3247 | Grab = false | |
3248 | mouse.KeyDown:connect(function(key) | |
3249 | if key == "z" then | |
3250 | Debounces.on = true | |
3251 | Debounces.NoIdl = true | |
3252 | Debounces.ks = true | |
3253 | if Grab == false then | |
3254 | gp = nil | |
3255 | for i = 1, 20 do | |
3256 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
3257 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
3258 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3259 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3260 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
3261 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
3262 | if Debounces.on == false then break end | |
3263 | rs:wait() | |
3264 | end | |
3265 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3266 | ht = hit.Parent | |
3267 | hum1=ht:FindFirstChild('Humanoid') | |
3268 | if hum1 ~= nil then | |
3269 | if Debounces.ks==true then | |
3270 | z = Instance.new("Sound",hed) | |
3271 | z.SoundId = "rbxassetid://169380525" | |
3272 | z.Volume = 1 | |
3273 | z:Play() | |
3274 | Debounces.ks=false | |
3275 | end | |
3276 | hum1.PlatformStand=true | |
3277 | gp = ht | |
3278 | Grab = true | |
3279 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
3280 | asd.Parent = larm | |
3281 | asd.Name = "asd" | |
3282 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
3283 | --[[elseif hum1 == nil then | |
3284 | con1:disconnect() | |
3285 | wait() return]]-- | |
3286 | end | |
3287 | end) | |
3288 | for i = 1, 20 do | |
3289 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
3290 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
3291 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3292 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3293 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3294 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
3295 | if Debounces.on == false then break end | |
3296 | rs:wait() | |
3297 | end | |
3298 | if hum1 == nil then | |
3299 | Debounces.on = false | |
3300 | Debounces.NoIdl = false | |
3301 | end | |
3302 | con1:disconnect() | |
3303 | elseif Grab == true then | |
3304 | Grab = false | |
3305 | Punch() | |
3306 | z = Instance.new("Sound",hed) | |
3307 | z.SoundId = "rbxassetid://169380525" | |
3308 | z.Pitch = ptz[math.random(1,#ptz)] | |
3309 | z.Volume = 1 | |
3310 | z:Play() | |
3311 | for i = 1, 10 do | |
3312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3318 | if Debounces.on == false then break end | |
3319 | rs:wait() | |
3320 | end | |
3321 | Punch() | |
3322 | z = Instance.new("Sound",hed) | |
3323 | z.SoundId = "rbxassetid://169380525" | |
3324 | z.Pitch = ptz[math.random(1,#ptz)] | |
3325 | z.Volume = 1 | |
3326 | z:Play() | |
3327 | for i = 1, 10 do | |
3328 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3329 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3330 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3331 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3332 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3333 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3334 | if Debounces.on == false then break end | |
3335 | rs:wait() | |
3336 | end | |
3337 | Punch() | |
3338 | z = Instance.new("Sound",hed) | |
3339 | z.SoundId = "rbxassetid://169380525" | |
3340 | z.Pitch = ptz[math.random(1,#ptz)] | |
3341 | z.Volume = 1 | |
3342 | z:Play() | |
3343 | for i = 1, 10 do | |
3344 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3345 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3346 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3347 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3348 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3349 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3350 | if Debounces.on == false then break end | |
3351 | rs:wait() | |
3352 | end | |
3353 | Punch() | |
3354 | z = Instance.new("Sound",hed) | |
3355 | z.SoundId = "rbxassetid://169380525" | |
3356 | z.Pitch = ptz[math.random(1,#ptz)] | |
3357 | z.Volume = 1 | |
3358 | z:Play() | |
3359 | for i = 1, 10 do | |
3360 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3361 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3362 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3363 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3364 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3365 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3366 | if Debounces.on == false then break end | |
3367 | rs:wait() | |
3368 | end | |
3369 | Punch() | |
3370 | z = Instance.new("Sound",hed) | |
3371 | z.SoundId = "rbxassetid://169380525" | |
3372 | z.Pitch = ptz[math.random(1,#ptz)] | |
3373 | z.Volume = 1 | |
3374 | z:Play() | |
3375 | for i = 1, 10 do | |
3376 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3377 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3378 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3379 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3380 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3381 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3382 | if Debounces.on == false then break end | |
3383 | rs:wait() | |
3384 | end | |
3385 | Punch() | |
3386 | z = Instance.new("Sound",hed) | |
3387 | z.SoundId = "rbxassetid://169380525" | |
3388 | z.Pitch = ptz[math.random(1,#ptz)] | |
3389 | z.Volume = 1 | |
3390 | z:Play() | |
3391 | for i = 1, 10 do | |
3392 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3393 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3394 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3395 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3396 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3397 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3398 | if Debounces.on == false then break end | |
3399 | rs:wait() | |
3400 | end | |
3401 | Punch() | |
3402 | z = Instance.new("Sound",hed) | |
3403 | z.SoundId = "rbxassetid://169380525" | |
3404 | z.Pitch = ptz[math.random(1,#ptz)] | |
3405 | z.Volume = 1 | |
3406 | z:Play() | |
3407 | for i = 1, 10 do | |
3408 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3409 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3410 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3411 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3412 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3413 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3414 | if Debounces.on == false then break end | |
3415 | rs:wait() | |
3416 | end | |
3417 | Punch() | |
3418 | z = Instance.new("Sound",hed) | |
3419 | z.SoundId = "rbxassetid://169380525" | |
3420 | z.Pitch = ptz[math.random(1,#ptz)] | |
3421 | z.Volume = 1 | |
3422 | z:Play() | |
3423 | for i = 1, 10 do | |
3424 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3425 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3426 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3427 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3428 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3429 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3430 | if Debounces.on == false then break end | |
3431 | rs:wait() | |
3432 | end | |
3433 | Punch() | |
3434 | z = Instance.new("Sound",hed) | |
3435 | z.SoundId = "rbxassetid://169380525" | |
3436 | z.Pitch = ptz[math.random(1,#ptz)] | |
3437 | z.Volume = 1 | |
3438 | z:Play() | |
3439 | for i = 1, 10 do | |
3440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3446 | if Debounces.on == false then break end | |
3447 | rs:wait() | |
3448 | end | |
3449 | Punch() | |
3450 | z = Instance.new("Sound",hed) | |
3451 | z.SoundId = "rbxassetid://169380525" | |
3452 | z.Pitch = ptz[math.random(1,#ptz)] | |
3453 | z.Volume = 1 | |
3454 | z:Play() | |
3455 | for i = 1, 10 do | |
3456 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3457 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3458 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3459 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3460 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3461 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3462 | if Debounces.on == false then break end | |
3463 | rs:wait() | |
3464 | end | |
3465 | Punch() | |
3466 | z = Instance.new("Sound",hed) | |
3467 | z.SoundId = "rbxassetid://169380525" | |
3468 | z.Pitch = ptz[math.random(1,#ptz)] | |
3469 | z.Volume = 1 | |
3470 | z:Play() | |
3471 | for i = 1, 10 do | |
3472 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
3473 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
3474 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3475 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3476 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3477 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3478 | if Debounces.on == false then break end | |
3479 | rs:wait() | |
3480 | end | |
3481 | Punch() | |
3482 | z = Instance.new("Sound",hed) | |
3483 | z.SoundId = "rbxassetid://131237241" | |
3484 | z.Pitch = ptz[math.random(1,#ptz)] | |
3485 | z.Volume = 1 | |
3486 | z:Play() | |
3487 | for i = 1, 10 do | |
3488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
3489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
3490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3491 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3492 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3493 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3494 | if Debounces.on == false then break end | |
3495 | rs:wait() | |
3496 | end | |
3497 | con1:disconnect() | |
3498 | Debounces.on = false | |
3499 | Debounces.NoIdl = false | |
3500 | if gp ~= nil then | |
3501 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3502 | for i,v in pairs(larm:GetChildren()) do | |
3503 | if v.Name == "asd" and v:IsA("Weld") then | |
3504 | v:Remove() | |
3505 | end | |
3506 | end | |
3507 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3508 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3509 | bv.P = 125000 | |
3510 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3511 | hum1=nil | |
3512 | ht=nil | |
3513 | Debounces.on = false | |
3514 | Debounces.NoIdl = false | |
3515 | elseif ht == nil then wait() | |
3516 | Grab = false | |
3517 | Debounces.on = false | |
3518 | Debounces.NoIdl = false | |
3519 | end | |
3520 | end | |
3521 | end | |
3522 | end) | |
3523 | ---------------------------------------------------- | |
3524 | mouse.KeyDown:connect(function(key) | |
3525 | if string.byte(key) == 48 then | |
3526 | char.Humanoid.WalkSpeed = 60 | |
3527 | end | |
3528 | end) | |
3529 | mouse.KeyUp:connect(function(key) | |
3530 | if string.byte(key) == 48 then | |
3531 | char.Humanoid.WalkSpeed = 16 | |
3532 | end | |
3533 | end) | |
3534 | ------------------------------- | |
3535 | local animpose = "Idle" | |
3536 | local lastanimpose = "Idle" | |
3537 | local sine = 0 | |
3538 | local change = 1 | |
3539 | local val = 0 | |
3540 | local ffing = false | |
3541 | ------------------------------- | |
3542 | game:GetService("RunService").RenderStepped:connect(function() | |
3543 | --[[if char.Humanoid.Jump == true then | |
3544 | jump = true | |
3545 | else | |
3546 | jump = false | |
3547 | end]] | |
3548 | char.Humanoid.FreeFalling:connect(function(f) | |
3549 | if f then | |
3550 | ffing = true | |
3551 | else | |
3552 | ffing = false | |
3553 | end | |
3554 | end) | |
3555 | sine = sine + change | |
3556 | if jumpn == true then | |
3557 | animpose = "Jumping" | |
3558 | elseif ffing == true then | |
3559 | animpose = "Freefalling" | |
3560 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3561 | animpose = "Idle" | |
3562 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3563 | animpose = "Walking" | |
3564 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3565 | animpose = "Running" | |
3566 | end | |
3567 | if animpose ~= lastanimpose then | |
3568 | sine = 0 | |
3569 | if Debounces.NoIdl == false then | |
3570 | if animpose == "Idle" then | |
3571 | for i = 1, 2 do | |
3572 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
3573 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
3574 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3575 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3576 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3577 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3578 | end | |
3579 | elseif animpose == "Walking" then | |
3580 | for i = 1, 2 do | |
3581 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3582 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3583 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3584 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3585 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3586 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3587 | end | |
3588 | elseif animpose == "Running" then | |
3589 | for i = 1, 2 do | |
3590 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
3591 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
3592 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3593 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3594 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3595 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3596 | wait() | |
3597 | end | |
3598 | end | |
3599 | else | |
3600 | end | |
3601 | end | |
3602 | lastanimpose = animpose | |
3603 | if Debounces.NoIdl == false then | |
3604 | if animpose == "Idle" then | |
3605 | change = 0.5 | |
3606 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
3607 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3608 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3609 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3610 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3611 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3612 | elseif animpose == "Walking" then | |
3613 | change = 1 | |
3614 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3615 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3616 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3617 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3618 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3619 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3620 | elseif animpose == "Running" then | |
3621 | change = 1 | |
3622 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
3623 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
3624 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
3625 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
3626 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
3627 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
3628 | elseif stanceToggle == "Floating" then | |
3629 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3630 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3631 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
3632 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
3633 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
3634 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
3635 | end | |
3636 | end | |
3637 | end) | |
3638 | hum.MaxHealth = 9001 | |
3639 | wait(3) | |
3640 | hum.Health = 9001 | |
3641 | ----------------------------------------------------------------------------- | |
3642 | ||
3643 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3644 | --[[Part0 = Vector3 (Start pos) | |
3645 | Part1 = Vector3 (End pos) | |
3646 | Times = number (Amount of lightning parts) | |
3647 | Offset = number (Offset) | |
3648 | Color = color (brickcolor value) | |
3649 | Thickness = number (thickness) | |
3650 | Trans = number (transparency) | |
3651 | ]]-- | |
3652 | local magz = (Part0 - Part1).magnitude | |
3653 | local curpos = Part0 | |
3654 | local trz = {-Offset,Offset} | |
3655 | for i=1,Times do | |
3656 | local li = Instance.new("Part", torso) | |
3657 | li.Name = "Lightning" | |
3658 | li.TopSurface =0 | |
3659 | li.Material = "Neon" | |
3660 | li.BottomSurface = 0 | |
3661 | li.Anchored = true | |
3662 | li.Locked = true | |
3663 | li.Transparency = Trans or 0.4 | |
3664 | li.BrickColor = BrickColor.new(Color) | |
3665 | li.formFactor = "Custom" | |
3666 | li.CanCollide = false | |
3667 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3668 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3669 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3670 | if Times == i then | |
3671 | local magz2 = (curpos - Part1).magnitude | |
3672 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3673 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3674 | else | |
3675 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3676 | end | |
3677 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3678 | game.Debris:AddItem(li,.1) | |
3679 | end | |
3680 | end | |
3681 | ||
3682 | BodyParts = {} -- Parts to emit lightning effects from | |
3683 | for _, v in pairs(char:GetChildren()) do | |
3684 | if v:IsA("Part") then | |
3685 | table.insert(BodyParts, v) | |
3686 | end | |
3687 | end | |
3688 | ||
3689 | Bounding = {} -- Calculate the bounding boxes | |
3690 | for _, v in pairs(BodyParts) do | |
3691 | local temp = {X=nil, Y=nil, Z=nil} | |
3692 | temp.X = v.Size.X/2 * 15 | |
3693 | temp.Y = v.Size.Y/2 * 15 | |
3694 | temp.Z = v.Size.Z/2 * 15 | |
3695 | Bounding[v.Name] = temp | |
3696 | --table.insert(Bounding, v.Name, temp) | |
3697 | end | |
3698 | ||
3699 | while wait(0) do -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original | |
3700 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3701 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3702 | local Pos1 = Vector3.new( | |
3703 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3704 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3705 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3706 | ) | |
3707 | local Pos2 = Vector3.new( | |
3708 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3709 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3710 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3711 | ) | |
3712 | local SPos1 = Body1.Position + Pos1 | |
3713 | local SPos2 = Body2.Position + Pos2 | |
3714 | Lightning(SPos1, SPos2, 4, 3, "Really red", .3, .56) | |
3715 | end |