SHOW:
|
|
- or go back to the newest paste.
1 | --Ok go abuse this. I dare you. Anyways enjoy little brats. | |
2 | ||
3 | --[[ | |
4 | User: TheDarkRevenant | |
5 | Script: DSSJ3 | |
6 | Pass: CENSORED | |
7 | ||
8 | ]] | |
9 | ||
10 | local p = game.Players.LocalPlayer | |
11 | local char = p.Character | |
12 | local mouse = p:GetMouse() | |
13 | local larm = char["Left Arm"] | |
14 | local rarm = char["Right Arm"] | |
15 | local lleg = char["Left Leg"] | |
16 | local rleg = char["Right Leg"] | |
17 | local hed = char.Head | |
18 | local torso = char.Torso | |
19 | local hum = char.Humanoid | |
20 | local cam = game.Workspace.CurrentCamera | |
21 | local root = char.HumanoidRootPart | |
22 | local deb = false | |
23 | local shot = 0 | |
24 | local debris=game:service"Debris" | |
25 | local l = game:GetService("Lighting") | |
26 | local rs = game:GetService("RunService").RenderStepped | |
27 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
28 | math.randomseed(os.time()) | |
29 | for i,v in pairs(char:children()) do | |
30 | if v:IsA("Hat") then | |
31 | v:Destroy() | |
32 | end | |
33 | end | |
34 | for i,v in pairs (hed:GetChildren()) do | |
35 | if v:IsA("Sound") then | |
36 | v:Destroy() | |
37 | end | |
38 | end | |
39 | ---------------------------------------------------- | |
40 | Debounces = { | |
41 | CanAttack = true; | |
42 | NoIdl = false; | |
43 | Slashing = false; | |
44 | Slashed = false; | |
45 | RPunch = false; | |
46 | RPunched = false; | |
47 | LPunch = false; | |
48 | LPunched = false; | |
49 | } | |
50 | local Touche = {char.Name, } | |
51 | ---------------------------------------------------- | |
52 | hed.face.Texture = "rbxassetid://34668268" | |
53 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
54 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
55 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
56 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
57 | ---------------------------------------------------- | |
58 | ypcall(function() | |
59 | char.Shirt:Destroy() | |
60 | char.Pants:Destroy() | |
61 | shirt = Instance.new("Shirt", char) | |
62 | shirt.Name = "Shirt" | |
63 | pants = Instance.new("Pants", char) | |
64 | pants.Name = "Pants" | |
65 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" |
65 | + | char.Shirt.ShirtTemplate = "rbxassetid://796966628" |
66 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" |
66 | + | char.Pants.PantsTemplate = "rbxassetid://797136194" |
67 | end) | |
68 | ---------------------------------------------------- | |
69 | function lerp(a, b, t) -- Linear interpolation | |
70 | return a + (b - a)*t | |
71 | end | |
72 | ||
73 | function slerp(a, b, t) --Spherical interpolation | |
74 | dot = a:Dot(b) | |
75 | if dot > 0.99999 or dot < -0.99999 then | |
76 | return t <= 0.5 and a or b | |
77 | else | |
78 | r = math.acos(dot) | |
79 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
80 | end | |
81 | end | |
82 | ||
83 | function matrixInterpolate(a, b, t) | |
84 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
85 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
86 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
87 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
88 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
89 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
90 | local t = v1:Dot(v2) | |
91 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
92 | return CFrame.new() | |
93 | end | |
94 | return CFrame.new( | |
95 | v0.x, v0.y, v0.z, | |
96 | v1.x, v1.y, v1.z, | |
97 | v2.x, v2.y, v2.z, | |
98 | v3.x, v3.y, v3.z) | |
99 | end | |
100 | ---------------------------------------------------- | |
101 | function genWeld(a,b) | |
102 | local w = Instance.new("Weld",a) | |
103 | w.Part0 = a | |
104 | w.Part1 = b | |
105 | return w | |
106 | end | |
107 | function weld(a, b) | |
108 | local weld = Instance.new("Weld") | |
109 | weld.Name = "W" | |
110 | weld.Part0 = a | |
111 | weld.Part1 = b | |
112 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
113 | weld.Parent = a | |
114 | return weld; | |
115 | end | |
116 | ---------------------------------------------------- | |
117 | function Lerp(c1,c2,al) | |
118 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
119 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
120 | for i,v in pairs(com1) do | |
121 | com1[i] = v+(com2[i]-v)*al | |
122 | end | |
123 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
124 | end | |
125 | ---------------------------------------------------- | |
126 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
127 | local wld = Instance.new("Weld", wp1) | |
128 | wld.Part0 = wp0 | |
129 | wld.Part1 = wp1 | |
130 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
131 | end | |
132 | ---------------------------------------------------- | |
133 | function weld5(part0, part1, c0, c1) | |
134 | weeld=Instance.new("Weld", part0) | |
135 | weeld.Part0=part0 | |
136 | weeld.Part1=part1 | |
137 | weeld.C0=c0 | |
138 | weeld.C1=c1 | |
139 | return weeld | |
140 | end | |
141 | ---------------------------------------------------- | |
142 | function HasntTouched(plrname) | |
143 | local ret = true | |
144 | for _, v in pairs(Touche) do | |
145 | if v == plrname then | |
146 | ret = false | |
147 | end | |
148 | end | |
149 | return ret | |
150 | end | |
151 | ---------------------------------------------------- | |
152 | newWeld(torso, larm, -1.5, 0.5, 0) | |
153 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
154 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
155 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
156 | newWeld(torso, hed, 0, 1.5, 0) | |
157 | newWeld(torso, lleg, -0.5, -1, 0) | |
158 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
159 | newWeld(torso, rleg, 0.5, -1, 0) | |
160 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
161 | newWeld(root, torso, 0, -1, 0) | |
162 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
163 | ---------------------------------------------------- | |
164 | z = Instance.new("Sound", char) | |
165 | - | z.SoundId = "rbxassetid://303570180"--303570180 |
165 | + | z.SoundId = "rbxassetid://131122314"--131122314 |
166 | z.Looped = true | |
167 | z.Pitch = 1 | |
168 | z.Volume = 1 | |
169 | wait(.1) | |
170 | z:Play() | |
171 | ---------------------------------------------------- | |
172 | local Transforming = true | |
173 | hum.WalkSpeed = 0 | |
174 | local fx = Instance.new("Part",torso) | |
175 | fx.Anchored = true | |
176 | fx.Material = "Neon" | |
177 | fx.CanCollide = false | |
178 | fx.Locked = true | |
179 | fx.Transparency = 1 | |
180 | fx.Material = "SmoothPlastic" | |
181 | fx.Size = Vector3.new(1,1,1) | |
182 | fx.TopSurface = "SmoothNoOutlines" | |
183 | fx.BottomSurface = "SmoothNoOutlines" | |
184 | - | fx.BrickColor = BrickColor.new("New Yeller") |
184 | + | fx.BrickColor = BrickColor.new("Lily white") |
185 | fxm = Instance.new("SpecialMesh",fx) | |
186 | fxm.MeshType = "Sphere" | |
187 | fxm.Scale = Vector3.new(1,1,1) | |
188 | for i = 1, 20 do rs:wait() | |
189 | fx.Transparency = fx.Transparency - (1/20) | |
190 | fx.CFrame = torso.CFrame | |
191 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
192 | rs:wait() | |
193 | end | |
194 | ---------------------------------------------------- | |
195 | local m = Instance.new("Model") | |
196 | m.Name = "Hair" | |
197 | p1 = Instance.new("Part", m) | |
198 | - | p1.BrickColor = BrickColor.new("New Yeller") |
198 | + | p1.BrickColor = BrickColor.new("Lily white") |
199 | p1.FormFactor = Enum.FormFactor.Symmetric | |
200 | p1.Size = Vector3.new(1, 1, 1) | |
201 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
202 | p1.CanCollide = false | |
203 | p1.Locked = true | |
204 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
205 | p1.TopSurface = Enum.SurfaceType.Smooth | |
206 | b1 = Instance.new("SpecialMesh", p1) | |
207 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
208 | b1.TextureId = "" | |
209 | b1.MeshType = Enum.MeshType.FileMesh | |
210 | b1.Name = "Mesh" | |
211 | b1.VertexColor = Vector3.new(0, 0, 0) | |
212 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
213 | p2 = Instance.new("Part", m) | |
214 | p2.BrickColor = BrickColor.new("Pastel brown") | |
215 | p2.Transparency = 1 | |
216 | p2.Name = "Head" | |
217 | p2.FormFactor = Enum.FormFactor.Symmetric | |
218 | p2.Size = Vector3.new(2, 1, 1) | |
219 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
220 | p2.CanCollide = false | |
221 | p2.Locked = true | |
222 | p2.TopSurface = Enum.SurfaceType.Smooth | |
223 | b2 = Instance.new("SpecialMesh", p2) | |
224 | b2.MeshType = Enum.MeshType.Head | |
225 | b2.Name = "Mesh" | |
226 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
227 | p3 = Instance.new("Part", m) | |
228 | - | p3.BrickColor = BrickColor.new("New Yeller") |
228 | + | p3.BrickColor = BrickColor.new("Lily white") |
229 | p3.FormFactor = Enum.FormFactor.Symmetric | |
230 | p3.Size = Vector3.new(2, 2, 2) | |
231 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
232 | p3.CanCollide = false | |
233 | p3.Locked = true | |
234 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
235 | p3.TopSurface = Enum.SurfaceType.Smooth | |
236 | b3 = Instance.new("SpecialMesh", p3) | |
237 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
238 | b3.TextureId = "" | |
239 | b3.MeshType = Enum.MeshType.FileMesh | |
240 | b3.Name = "Mesh" | |
241 | b3.VertexColor = Vector3.new(0, 0, 0) | |
242 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
243 | p4 = Instance.new("Part", m) | |
244 | - | p4.BrickColor = BrickColor.new("New Yeller") |
244 | + | p4.BrickColor = BrickColor.new("Lily white") |
245 | p4.FormFactor = Enum.FormFactor.Symmetric | |
246 | p4.Size = Vector3.new(1, 1, 1) | |
247 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
248 | p4.CanCollide = false | |
249 | p4.Locked = true | |
250 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
251 | p4.TopSurface = Enum.SurfaceType.Smooth | |
252 | b4 = Instance.new("SpecialMesh", p4) | |
253 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
254 | b4.TextureId = "" | |
255 | b4.MeshType = Enum.MeshType.FileMesh | |
256 | b4.Name = "Mesh" | |
257 | b4.VertexColor = Vector3.new(0, 0, 0) | |
258 | p5 = Instance.new("Part", m) | |
259 | - | p5.BrickColor = BrickColor.new("New Yeller") |
259 | + | p5.BrickColor = BrickColor.new("Lily white") |
260 | p5.FormFactor = Enum.FormFactor.Symmetric | |
261 | p5.Size = Vector3.new(1, 1, 1) | |
262 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
263 | p5.CanCollide = false | |
264 | p5.Locked = true | |
265 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
266 | p5.TopSurface = Enum.SurfaceType.Smooth | |
267 | b5 = Instance.new("SpecialMesh", p5) | |
268 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
269 | b5.TextureId = "" | |
270 | b5.MeshType = Enum.MeshType.FileMesh | |
271 | b5.Name = "Mesh" | |
272 | b5.VertexColor = Vector3.new(0, 0, 0) | |
273 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
274 | p6 = Instance.new("Part", m) | |
275 | - | p6.BrickColor = BrickColor.new("New Yeller") |
275 | + | p6.BrickColor = BrickColor.new("Lily white") |
276 | p6.FormFactor = Enum.FormFactor.Symmetric | |
277 | p6.Size = Vector3.new(1, 1, 1) | |
278 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
279 | p6.CanCollide = false | |
280 | p6.Locked = true | |
281 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
282 | p6.TopSurface = Enum.SurfaceType.Smooth | |
283 | b6 = Instance.new("SpecialMesh", p6) | |
284 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
285 | b6.TextureId = "" | |
286 | b6.MeshType = Enum.MeshType.FileMesh | |
287 | b6.Name = "Mesh" | |
288 | b6.VertexColor = Vector3.new(0, 0, 0) | |
289 | p7 = Instance.new("Part", m) | |
290 | - | p7.BrickColor = BrickColor.new("New Yeller") |
290 | + | p7.BrickColor = BrickColor.new("Lily white") |
291 | p7.FormFactor = Enum.FormFactor.Symmetric | |
292 | p7.Size = Vector3.new(1, 1, 1) | |
293 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
294 | p7.CanCollide = false | |
295 | p7.Locked = true | |
296 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
297 | p7.TopSurface = Enum.SurfaceType.Smooth | |
298 | b7 = Instance.new("SpecialMesh", p7) | |
299 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
300 | b7.TextureId = "" | |
301 | b7.MeshType = Enum.MeshType.FileMesh | |
302 | b7.Name = "Mesh" | |
303 | b7.VertexColor = Vector3.new(0, 0, 0) | |
304 | p8 = Instance.new("Part", m) | |
305 | - | p8.BrickColor = BrickColor.new("New Yeller") |
305 | + | p8.BrickColor = BrickColor.new("Lily white") |
306 | p8.FormFactor = Enum.FormFactor.Symmetric | |
307 | p8.Size = Vector3.new(1, 1, 1) | |
308 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
309 | p8.CanCollide = false | |
310 | p8.Locked = true | |
311 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
312 | p8.TopSurface = Enum.SurfaceType.Smooth | |
313 | b8 = Instance.new("SpecialMesh", p8) | |
314 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
315 | b8.TextureId = "" | |
316 | b8.MeshType = Enum.MeshType.FileMesh | |
317 | b8.Name = "Mesh" | |
318 | b8.VertexColor = Vector3.new(0, 0, 0) | |
319 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
320 | p9 = Instance.new("Part", m) | |
321 | - | p9.BrickColor = BrickColor.new("New Yeller") |
321 | + | p9.BrickColor = BrickColor.new("Lily white") |
322 | p9.FormFactor = Enum.FormFactor.Symmetric | |
323 | p9.Size = Vector3.new(2, 1, 2) | |
324 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
325 | p9.CanCollide = false | |
326 | p9.Locked = true | |
327 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
328 | p9.TopSurface = Enum.SurfaceType.Smooth | |
329 | b9 = Instance.new("SpecialMesh", p9) | |
330 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
331 | b9.TextureId = "" | |
332 | b9.MeshType = Enum.MeshType.FileMesh | |
333 | b9.Name = "Mesh" | |
334 | b9.VertexColor = Vector3.new(0, 0, 0) | |
335 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
336 | p10 = Instance.new("Part", m) | |
337 | - | p10.BrickColor = BrickColor.new("New Yeller") |
337 | + | p10.BrickColor = BrickColor.new("Lily white") |
338 | p10.FormFactor = Enum.FormFactor.Symmetric | |
339 | p10.Size = Vector3.new(1, 1, 1) | |
340 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
341 | p10.CanCollide = false | |
342 | p10.Locked = true | |
343 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
344 | p10.TopSurface = Enum.SurfaceType.Smooth | |
345 | b10 = Instance.new("SpecialMesh", p10) | |
346 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
347 | b10.TextureId = "" | |
348 | b10.MeshType = Enum.MeshType.FileMesh | |
349 | b10.Name = "Mesh" | |
350 | b10.VertexColor = Vector3.new(0, 0, 0) | |
351 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
352 | p11 = Instance.new("Part", m) | |
353 | - | p11.BrickColor = BrickColor.new("New Yeller") |
353 | + | p11.BrickColor = BrickColor.new("Lily white") |
354 | p11.FormFactor = Enum.FormFactor.Symmetric | |
355 | p11.Size = Vector3.new(1, 1, 1) | |
356 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
357 | p11.CanCollide = false | |
358 | p11.Locked = true | |
359 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
360 | p11.TopSurface = Enum.SurfaceType.Smooth | |
361 | b11 = Instance.new("SpecialMesh", p11) | |
362 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
363 | b11.TextureId = "" | |
364 | b11.MeshType = Enum.MeshType.FileMesh | |
365 | b11.Name = "Mesh" | |
366 | b11.VertexColor = Vector3.new(0, 0, 0) | |
367 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
368 | p12 = Instance.new("Part", m) | |
369 | - | p12.BrickColor = BrickColor.new("New Yeller") |
369 | + | p12.BrickColor = BrickColor.new("Lily white") |
370 | p12.FormFactor = Enum.FormFactor.Custom | |
371 | p12.Size = Vector3.new(1, 3.5, 1) | |
372 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
373 | p12.CanCollide = false | |
374 | p12.Locked = true | |
375 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
376 | p12.TopSurface = Enum.SurfaceType.Smooth | |
377 | b12 = Instance.new("SpecialMesh", p12) | |
378 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
379 | b12.TextureId = "" | |
380 | b12.MeshType = Enum.MeshType.FileMesh | |
381 | b12.Name = "Mesh" | |
382 | b12.VertexColor = Vector3.new(0, 0, 0) | |
383 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
384 | p13 = Instance.new("Part", m) | |
385 | - | p13.BrickColor = BrickColor.new("New Yeller") |
385 | + | p13.BrickColor = BrickColor.new("Lily white") |
386 | p13.FormFactor = Enum.FormFactor.Custom | |
387 | p13.Size = Vector3.new(1, 2, 1) | |
388 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
389 | p13.CanCollide = false | |
390 | p13.Locked = true | |
391 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
392 | p13.TopSurface = Enum.SurfaceType.Smooth | |
393 | b13 = Instance.new("SpecialMesh", p13) | |
394 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
395 | b13.TextureId = "" | |
396 | b13.MeshType = Enum.MeshType.FileMesh | |
397 | b13.Name = "Mesh" | |
398 | b13.VertexColor = Vector3.new(0, 0, 0) | |
399 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
400 | p14 = Instance.new("Part", m) | |
401 | - | p14.BrickColor = BrickColor.new("New Yeller") |
401 | + | p14.BrickColor = BrickColor.new("Lily white") |
402 | p14.FormFactor = Enum.FormFactor.Custom | |
403 | p14.Size = Vector3.new(1, 2, 1) | |
404 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
405 | p14.CanCollide = false | |
406 | p14.Locked = true | |
407 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
408 | p14.TopSurface = Enum.SurfaceType.Smooth | |
409 | b14 = Instance.new("SpecialMesh", p14) | |
410 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
411 | b14.TextureId = "" | |
412 | b14.MeshType = Enum.MeshType.FileMesh | |
413 | b14.Name = "Mesh" | |
414 | b14.VertexColor = Vector3.new(0, 0, 0) | |
415 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
416 | p15 = Instance.new("Part", m) | |
417 | - | p15.BrickColor = BrickColor.new("New Yeller") |
417 | + | p15.BrickColor = BrickColor.new("Lily white") |
418 | p15.FormFactor = Enum.FormFactor.Custom | |
419 | p15.Size = Vector3.new(1, 2.5, 1) | |
420 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
421 | p15.CanCollide = false | |
422 | p15.Locked = true | |
423 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
424 | p15.TopSurface = Enum.SurfaceType.Smooth | |
425 | b15 = Instance.new("SpecialMesh", p15) | |
426 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
427 | b15.TextureId = "" | |
428 | b15.MeshType = Enum.MeshType.FileMesh | |
429 | b15.Name = "Mesh" | |
430 | b15.VertexColor = Vector3.new(0, 0, 0) | |
431 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
432 | p16 = Instance.new("Part", m) | |
433 | - | p16.BrickColor = BrickColor.new("New Yeller") |
433 | + | p16.BrickColor = BrickColor.new("Lily white") |
434 | p16.FormFactor = Enum.FormFactor.Custom | |
435 | p16.Size = Vector3.new(1, 2.5, 1) | |
436 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
437 | p16.CanCollide = false | |
438 | p16.Locked = true | |
439 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
440 | p16.TopSurface = Enum.SurfaceType.Smooth | |
441 | b16 = Instance.new("SpecialMesh", p16) | |
442 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
443 | b16.TextureId = "" | |
444 | b16.MeshType = Enum.MeshType.FileMesh | |
445 | b16.Name = "Mesh" | |
446 | b16.VertexColor = Vector3.new(0, 0, 0) | |
447 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
448 | p17 = Instance.new("Part", m) | |
449 | - | p17.BrickColor = BrickColor.new("New Yeller") |
449 | + | p17.BrickColor = BrickColor.new("Lily white") |
450 | p17.FormFactor = Enum.FormFactor.Custom | |
451 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
452 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
453 | p17.CanCollide = false | |
454 | p17.Locked = true | |
455 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
456 | p17.TopSurface = Enum.SurfaceType.Smooth | |
457 | b17 = Instance.new("SpecialMesh", p17) | |
458 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
459 | b17.TextureId = "" | |
460 | b17.MeshType = Enum.MeshType.FileMesh | |
461 | b17.Name = "Mesh" | |
462 | b17.VertexColor = Vector3.new(0, 0, 0) | |
463 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
464 | p18 = Instance.new("Part", m) | |
465 | - | p18.BrickColor = BrickColor.new("New Yeller") |
465 | + | p18.BrickColor = BrickColor.new("Lily white") |
466 | p18.FormFactor = Enum.FormFactor.Custom | |
467 | p18.Size = Vector3.new(2, 2, 2) | |
468 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
469 | p18.CanCollide = false | |
470 | p18.Locked = true | |
471 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
472 | p18.TopSurface = Enum.SurfaceType.Smooth | |
473 | b18 = Instance.new("SpecialMesh", p18) | |
474 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
475 | b18.TextureId = "" | |
476 | b18.MeshType = Enum.MeshType.FileMesh | |
477 | b18.Name = "Mesh" | |
478 | b18.VertexColor = Vector3.new(0, 0, 0) | |
479 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
480 | w1 = Instance.new("Weld", p1) | |
481 | w1.Name = "Head_Weld" | |
482 | w1.Part0 = p1 | |
483 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
484 | w1.Part1 = p2 | |
485 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
486 | w2 = Instance.new("Weld", p2) | |
487 | w2.Name = "Part_Weld" | |
488 | w2.Part0 = p2 | |
489 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
490 | w2.Part1 = p3 | |
491 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
492 | w3 = Instance.new("Weld", p3) | |
493 | w3.Name = "Part_Weld" | |
494 | w3.Part0 = p3 | |
495 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
496 | w3.Part1 = p4 | |
497 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
498 | w4 = Instance.new("Weld", p4) | |
499 | w4.Name = "Part_Weld" | |
500 | w4.Part0 = p4 | |
501 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
502 | w4.Part1 = p5 | |
503 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
504 | w5 = Instance.new("Weld", p5) | |
505 | w5.Name = "Part_Weld" | |
506 | w5.Part0 = p5 | |
507 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
508 | w5.Part1 = p6 | |
509 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
510 | w6 = Instance.new("Weld", p6) | |
511 | w6.Name = "Part_Weld" | |
512 | w6.Part0 = p6 | |
513 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
514 | w6.Part1 = p7 | |
515 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
516 | w7 = Instance.new("Weld", p7) | |
517 | w7.Name = "Part_Weld" | |
518 | w7.Part0 = p7 | |
519 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
520 | w7.Part1 = p8 | |
521 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
522 | w8 = Instance.new("Weld", p8) | |
523 | w8.Name = "Part_Weld" | |
524 | w8.Part0 = p8 | |
525 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
526 | w8.Part1 = p9 | |
527 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
528 | w9 = Instance.new("Weld", p9) | |
529 | w9.Name = "Part_Weld" | |
530 | w9.Part0 = p9 | |
531 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
532 | w9.Part1 = p10 | |
533 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
534 | w10 = Instance.new("Weld", p10) | |
535 | w10.Name = "Part_Weld" | |
536 | w10.Part0 = p10 | |
537 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
538 | w10.Part1 = p11 | |
539 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
540 | w11 = Instance.new("Weld", p11) | |
541 | w11.Name = "Part_Weld" | |
542 | w11.Part0 = p11 | |
543 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
544 | w11.Part1 = p12 | |
545 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
546 | w12 = Instance.new("Weld", p12) | |
547 | w12.Name = "Part_Weld" | |
548 | w12.Part0 = p12 | |
549 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
550 | w12.Part1 = p13 | |
551 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
552 | w13 = Instance.new("Weld", p13) | |
553 | w13.Name = "Part_Weld" | |
554 | w13.Part0 = p13 | |
555 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
556 | w13.Part1 = p14 | |
557 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
558 | w14 = Instance.new("Weld", p14) | |
559 | w14.Name = "Part_Weld" | |
560 | w14.Part0 = p14 | |
561 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
562 | w14.Part1 = p15 | |
563 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
564 | w15 = Instance.new("Weld", p15) | |
565 | w15.Name = "Part_Weld" | |
566 | w15.Part0 = p15 | |
567 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
568 | w15.Part1 = p16 | |
569 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
570 | w16 = Instance.new("Weld", p16) | |
571 | w16.Name = "Part_Weld" | |
572 | w16.Part0 = p16 | |
573 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
574 | w16.Part1 = p17 | |
575 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
576 | w17 = Instance.new("Weld", p17) | |
577 | w17.Name = "Part_Weld" | |
578 | w17.Part0 = p17 | |
579 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
580 | w17.Part1 = p18 | |
581 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
582 | m.Parent = char | |
583 | m:MakeJoints() | |
584 | ---------------------------------------------------- | |
585 | local cor = Instance.new("Part", char.Hair) | |
586 | cor.Name = "Link" | |
587 | cor.Locked = true | |
588 | cor.BottomSurface = 0 | |
589 | cor.CanCollide = false | |
590 | cor.Size = Vector3.new(1, 9, 1) | |
591 | cor.Transparency = 1 | |
592 | cor.TopSurface = 0 | |
593 | corw = Instance.new("Weld", cor) | |
594 | corw.Part0 = hed | |
595 | corw.Part1 = cor | |
596 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
597 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
598 | weld1 = Instance.new("Weld", char.Hair) | |
599 | weld1.Part0 = cor | |
600 | weld1.Part1 = char.Hair.Head | |
601 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
602 | ---------------------------------------------------- | |
603 | GroundWave1 = function() | |
604 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
605 | local Colors = {"New Yeller", "New Yeller"} | |
606 | local wave = Instance.new("Part", torso) | |
607 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
608 | wave.Anchored = true | |
609 | wave.CanCollide = false | |
610 | wave.Locked = true | |
611 | wave.Size = Vector3.new(1, 1, 1) | |
612 | wave.TopSurface = "Smooth" | |
613 | wave.BottomSurface = "Smooth" | |
614 | wave.Transparency = 0.35 | |
615 | wave.CFrame = HandCF | |
616 | wm = Instance.new("SpecialMesh", wave) | |
617 | wm.MeshId = "rbxassetid://3270017" | |
618 | coroutine.wrap(function() | |
619 | for i = 1, 30, 1 do | |
620 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
621 | wave.Size = wm.Scale | |
622 | wave.CFrame = HandCF | |
623 | wave.Transparency = i/30 | |
624 | wait() | |
625 | end | |
626 | wait() | |
627 | wave:Destroy() | |
628 | end)() | |
629 | end | |
630 | ---------------------------------------------------- | |
631 | GroundWave = function() | |
632 | if Transforming == true then | |
633 | local wave = Instance.new("Part", torso) | |
634 | - | wave.BrickColor = BrickColor.new("New Yeller") |
634 | + | wave.BrickColor = BrickColor.new("Lily white") |
635 | wave.Anchored = true | |
636 | wave.CanCollide = false | |
637 | wave.Locked = true | |
638 | wave.Size = Vector3.new(1, 1, 1) | |
639 | wave.TopSurface = "Smooth" | |
640 | wave.BottomSurface = "Smooth" | |
641 | wave.Transparency = 0.35 | |
642 | wave.CFrame = fx.CFrame | |
643 | wm = Instance.new("SpecialMesh", wave) | |
644 | wm.MeshType = "Sphere" | |
645 | wm.Scale = Vector3.new(1,1,1) | |
646 | coroutine.wrap(function() | |
647 | for i = 1, 18, 1 do | |
648 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
649 | --wave.Size = wm.Scale | |
650 | wave.CFrame = fx.CFrame | |
651 | wave.Transparency = i/14 | |
652 | wait() | |
653 | end | |
654 | wait() | |
655 | wave:Destroy() | |
656 | end)() | |
657 | elseif Transforming == false then | |
658 | wait() | |
659 | end | |
660 | end | |
661 | ||
662 | for i = 1, 100 do rs:wait() | |
663 | fx.CFrame = torso.CFrame | |
664 | end | |
665 | ||
666 | Spawn(function() | |
667 | while wait(1) do | |
668 | GroundWave() | |
669 | end | |
670 | end) | |
671 | ||
672 | wait(4) | |
673 | ||
674 | Transforming = false | |
675 | ||
676 | for i = 1, 20 do rs:wait() | |
677 | fx.Transparency = fx.Transparency + (1/20) | |
678 | fx.CFrame = torso.CFrame | |
679 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
680 | rs:wait() | |
681 | end | |
682 | ||
683 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
684 | local wave = Instance.new("Part", torso) | |
685 | wave.BrickColor = BrickColor.new("Institutional white") | |
686 | wave.Anchored = true | |
687 | wave.CanCollide = false | |
688 | wave.Locked = true | |
689 | wave.Size = Vector3.new(1, 1, 1) | |
690 | wave.TopSurface = "Smooth" | |
691 | wave.BottomSurface = "Smooth" | |
692 | wave.Transparency = 0.35 | |
693 | wave.CFrame = HandCF | |
694 | wm = Instance.new("SpecialMesh", wave) | |
695 | wm.MeshId = "rbxassetid://3270017" | |
696 | coroutine.wrap(function() | |
697 | for i = 1, 14, 1 do | |
698 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
699 | wave.Size = wm.Scale | |
700 | wave.CFrame = HandCF | |
701 | wave.Transparency = i/14 | |
702 | wait() | |
703 | end | |
704 | wait() | |
705 | wave:Destroy() | |
706 | end)() | |
707 | hum.WalkSpeed = 16 | |
708 | ---------------------------------------------------- | |
709 | Blast = function() | |
710 | local Colors = {"Really black", "Lily white"} | |
711 | local wave = Instance.new("Part", torso) | |
712 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
713 | wave.Anchored = true | |
714 | wave.CanCollide = false | |
715 | wave.Locked = true | |
716 | wave.Size = Vector3.new(1, 1, 1) | |
717 | wave.TopSurface = "Smooth" | |
718 | wave.BottomSurface = "Smooth" | |
719 | wave.Transparency = 0.35 | |
720 | wave.CFrame = rarm.CFrame | |
721 | wm = Instance.new("SpecialMesh", wave) | |
722 | wm.MeshType = "Sphere" | |
723 | wm.Scale = Vector3.new(1,1,1) | |
724 | z = Instance.new("Sound",wave) | |
725 | z.SoundId = "rbxassetid://237035051" | |
726 | z.Volume = 1 | |
727 | z.Pitch = .9 | |
728 | z:Play() | |
729 | coroutine.wrap(function() | |
730 | for i = 1, 30, 1 do | |
731 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
732 | --wave.Size = wm.Scale | |
733 | wave.CFrame = rarm.CFrame | |
734 | wave.Transparency = (1/14) | |
735 | rs:wait() | |
736 | end | |
737 | rs:wait() | |
738 | wave:Destroy() | |
739 | z:Destroy() | |
740 | end)() | |
741 | end | |
742 | ---------------------------------------------------- | |
743 | rarm.Touched:connect(function(ht) | |
744 | hit = ht.Parent | |
745 | if ht and hit:IsA("Model") then | |
746 | if hit:FindFirstChild("Humanoid") then | |
747 | if hit.Name ~= p.Name then | |
748 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
749 | Debounces.RPunched = true | |
750 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
751 | if Debounces.ks==true then | |
752 | z = Instance.new("Sound",hed) | |
753 | z.SoundId = "rbxassetid://169380525" | |
754 | z.Pitch = ptz[math.random(1,#ptz)] | |
755 | z.Volume = 1 | |
756 | z:Play() | |
757 | end | |
758 | wait(.2) | |
759 | Debounces.RPunched = false | |
760 | end | |
761 | end | |
762 | end | |
763 | elseif ht and hit:IsA("Hat") then | |
764 | if hit.Parent.Name ~= p.Name then | |
765 | if hit.Parent:FindFirstChild("Humanoid") then | |
766 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
767 | Debounces.RPunched = true | |
768 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8)) | |
769 | if Debounces.ks==true then | |
770 | z = Instance.new("Sound",hed) | |
771 | z.SoundId = "rbxassetid://169380525" | |
772 | z.Pitch = ptz[math.random(1,#ptz)] | |
773 | z.Volume = 1 | |
774 | z:Play() | |
775 | end | |
776 | wait(.2) | |
777 | Debounces.RPunched = false | |
778 | end | |
779 | end | |
780 | end | |
781 | end | |
782 | end) | |
783 | larm.Touched:connect(function(ht) | |
784 | hit = ht.Parent | |
785 | if ht and hit:IsA("Model") then | |
786 | if hit:FindFirstChild("Humanoid") then | |
787 | if hit.Name ~= p.Name then | |
788 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
789 | Debounces.LPunched = true | |
790 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
791 | if Debounces.ks2==true then | |
792 | z = Instance.new("Sound",hed) | |
793 | z.SoundId = "rbxassetid://169380525" | |
794 | z.Pitch = ptz[math.random(1,#ptz)] | |
795 | z.Volume = 1 | |
796 | z:Play() | |
797 | end | |
798 | wait(.2) | |
799 | Debounces.LPunched = false | |
800 | end | |
801 | end | |
802 | end | |
803 | elseif ht and hit:IsA("Hat") then | |
804 | if hit.Parent.Name ~= p.Name then | |
805 | if hit.Parent:FindFirstChild("Humanoid") then | |
806 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
807 | Debounces.LPunched = true | |
808 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8)) | |
809 | if Debounces.ks2==true then | |
810 | z = Instance.new("Sound",hed) | |
811 | z.SoundId = "rbxassetid://169380525" | |
812 | z.Pitch = ptz[math.random(1,#ptz)] | |
813 | z.Volume = 1 | |
814 | z:Play() | |
815 | end | |
816 | wait(.2) | |
817 | Debounces.LPunched = false | |
818 | end | |
819 | end | |
820 | end | |
821 | end | |
822 | end) | |
823 | ---------------------------------------------------- | |
824 | mod4 = Instance.new("Model",char) | |
825 | ||
826 | ptez = {0.7, 0.8, 0.9, 1} | |
827 | ||
828 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
829 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
830 | local List = {} | |
831 | for i,v in pairs(workspace:GetChildren())do | |
832 | if v:IsA("Model")then | |
833 | if v:findFirstChild("Torso")then | |
834 | if v ~= char then | |
835 | if(v.Torso.Position -Position).magnitude <= Distance then | |
836 | table.insert(List,v) | |
837 | end | |
838 | end | |
839 | end | |
840 | end | |
841 | end | |
842 | return List | |
843 | end | |
844 | ||
845 | function Punch() | |
846 | part=Instance.new('Part',mod4) | |
847 | part.Anchored=true | |
848 | part.CanCollide=false | |
849 | part.FormFactor='Custom' | |
850 | part.Size=Vector3.new(.2,.2,.2) | |
851 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
852 | part.Transparency=.7 | |
853 | part.BrickColor=BrickColor.new('New Yeller') | |
854 | mesh=Instance.new('SpecialMesh',part) | |
855 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
856 | mesh.Scale=Vector3.new(3,3,3) | |
857 | part2=Instance.new('Part',mod4) | |
858 | part2.Anchored=true | |
859 | part2.CanCollide=false | |
860 | part2.FormFactor='Custom' | |
861 | part2.Size=Vector3.new(.2,.2,.2) | |
862 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
863 | part2.Transparency=.7 | |
864 | part2.BrickColor=BrickColor.new('New Yeller') | |
865 | mesh2=Instance.new('SpecialMesh',part2) | |
866 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
867 | mesh2.Scale=Vector3.new(3,1.5,3) | |
868 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
869 | if v:FindFirstChild('Humanoid') then | |
870 | - | v.Humanoid:TakeDamage(math.random(2,6)) |
870 | + | v.Humanoid:TakeDamage(math.random(9999999999999999999,99999999999999999999)) |
871 | end | |
872 | end | |
873 | coroutine.resume(coroutine.create(function() | |
874 | for i=0,0.62,0.4 do | |
875 | wait() | |
876 | part.CFrame=part.CFrame | |
877 | part.Transparency=i | |
878 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
879 | part2.CFrame=part2.CFrame | |
880 | part2.Transparency=i | |
881 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
882 | end | |
883 | part.Parent=nil | |
884 | part2.Parent=nil | |
885 | end)) | |
886 | end | |
887 | ---------------------------------------------------- | |
888 | rarm.Touched:connect(function(ht) | |
889 | hit = ht.Parent | |
890 | if ht and hit:IsA("Model") then | |
891 | if hit:FindFirstChild("Humanoid") then | |
892 | if hit.Name ~= p.Name then | |
893 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
894 | Debounces.RPunched = true | |
895 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(999999999999999,99999999999999999)) | |
896 | if Debounces.ks==true then | |
897 | z = Instance.new("Sound",hed) | |
898 | z.SoundId = "rbxassetid://169380525" | |
899 | z.Pitch = ptz[math.random(1,#ptz)] | |
900 | z.Volume = 1 | |
901 | z:Play() | |
902 | end | |
903 | wait(.2) | |
904 | Debounces.RPunched = false | |
905 | end | |
906 | end | |
907 | end | |
908 | elseif ht and hit:IsA("Hat") then | |
909 | if hit.Parent.Name ~= p.Name then | |
910 | if hit.Parent:FindFirstChild("Humanoid") then | |
911 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
912 | Debounces.RPunched = true | |
913 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999999999999,9999999999999)) | |
914 | if Debounces.ks==true then | |
915 | z = Instance.new("Sound",hed) | |
916 | z.SoundId = "rbxassetid://169380525" | |
917 | z.Pitch = ptz[math.random(1,#ptz)] | |
918 | z.Volume = 1 | |
919 | z:Play() | |
920 | end | |
921 | wait(.2) | |
922 | Debounces.RPunched = false | |
923 | end | |
924 | end | |
925 | end | |
926 | end | |
927 | end) | |
928 | larm.Touched:connect(function(ht) | |
929 | hit = ht.Parent | |
930 | if ht and hit:IsA("Model") then | |
931 | if hit:FindFirstChild("Humanoid") then | |
932 | if hit.Name ~= p.Name then | |
933 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
934 | Debounces.LPunched = true | |
935 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999999999999,9999999999999998)) | |
936 | if Debounces.ks2==true then | |
937 | z = Instance.new("Sound",hed) | |
938 | z.SoundId = "rbxassetid://169380525" | |
939 | z.Pitch = ptz[math.random(1,#ptz)] | |
940 | z.Volume = 1 | |
941 | z:Play() | |
942 | end | |
943 | wait(.2) | |
944 | Debounces.LPunched = false | |
945 | end | |
946 | end | |
947 | end | |
948 | elseif ht and hit:IsA("Hat") then | |
949 | if hit.Parent.Name ~= p.Name then | |
950 | if hit.Parent:FindFirstChild("Humanoid") then | |
951 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
952 | Debounces.LPunched = true | |
953 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(49999999999999,89999999999999)) | |
954 | if Debounces.ks2==true then | |
955 | z = Instance.new("Sound",hed) | |
956 | z.SoundId = "rbxassetid://169380525" | |
957 | z.Pitch = ptz[math.random(1,#ptz)] | |
958 | z.Volume = 1 | |
959 | z:Play() | |
960 | end | |
961 | wait(.2) | |
962 | Debounces.LPunched = false | |
963 | end | |
964 | end | |
965 | end | |
966 | end | |
967 | end) | |
968 | ---------------------------------------------------- | |
969 | local player = game.Players.LocalPlayer | |
970 | local pchar = player.Character | |
971 | local mouse = player:GetMouse() | |
972 | local cam = workspace.CurrentCamera | |
973 | ||
974 | local rad = math.rad | |
975 | ||
976 | local keysDown = {} | |
977 | local flySpeed = 0 | |
978 | - | local MAX_FLY_SPEED = 150 |
978 | + | local MAX_FLY_SPEED = 200 |
979 | ||
980 | local canFly = false | |
981 | local flyToggled = false | |
982 | ||
983 | local forward, side = 0, 0 | |
984 | local lastForward, lastSide = 0, 0 | |
985 | ||
986 | local floatBP = Instance.new("BodyPosition") | |
987 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
988 | local flyBV = Instance.new("BodyVelocity") | |
989 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
990 | local turnBG = Instance.new("BodyGyro") | |
991 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
992 | ||
993 | mouse.KeyDown:connect(function(key) | |
994 | keysDown[key] = true | |
995 | ||
996 | if key == "f" then | |
997 | flyToggled = not flyToggled | |
998 | ||
999 | if not flyToggled then | |
1000 | stanceToggle = "Normal" | |
1001 | floatBP.Parent = nil | |
1002 | flyBV.Parent = nil | |
1003 | turnBG.Parent = nil | |
1004 | root.Velocity = Vector3.new() | |
1005 | pchar.Humanoid.PlatformStand = false | |
1006 | end | |
1007 | end | |
1008 | ||
1009 | end) | |
1010 | mouse.KeyUp:connect(function(key) | |
1011 | keysDown[key] = nil | |
1012 | end) | |
1013 | ||
1014 | local function updateFly() | |
1015 | ||
1016 | if not flyToggled then return end | |
1017 | ||
1018 | lastForward = forward | |
1019 | lastSide = side | |
1020 | ||
1021 | forward = 0 | |
1022 | side = 0 | |
1023 | ||
1024 | if keysDown.w then | |
1025 | forward = forward + 1 | |
1026 | end | |
1027 | if keysDown.s then | |
1028 | forward = forward - 1 | |
1029 | end | |
1030 | if keysDown.a then | |
1031 | side = side - 1 | |
1032 | end | |
1033 | if keysDown.d then | |
1034 | side = side + 1 | |
1035 | end | |
1036 | ||
1037 | canFly = (forward ~= 0 or side ~= 0) | |
1038 | ||
1039 | if canFly then | |
1040 | stanceToggle = "Floating" | |
1041 | turnBG.Parent = root | |
1042 | floatBP.Parent = nil | |
1043 | flyBV.Parent = root | |
1044 | ||
1045 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1046 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1047 | else | |
1048 | floatBP.position = root.Position | |
1049 | floatBP.Parent = root | |
1050 | ||
1051 | flySpeed = flySpeed - 1 | |
1052 | if flySpeed < 0 then flySpeed = 0 end | |
1053 | end | |
1054 | ||
1055 | local camCF = cam.CoordinateFrame | |
1056 | local in_forward = canFly and forward or lastForward | |
1057 | local in_side = canFly and side or lastSide | |
1058 | ||
1059 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1060 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1061 | ||
1062 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1063 | 0) | |
1064 | end | |
1065 | ||
1066 | game:service'RunService'.RenderStepped:connect(function() | |
1067 | if flyToggled then | |
1068 | pchar.Humanoid.PlatformStand = true | |
1069 | end | |
1070 | updateFly() | |
1071 | end) | |
1072 | ------------------------------- | |
1073 | mouse.KeyDown:connect(function(key) | |
1074 | if key == "q" then | |
1075 | if Debounces.CanAttack == true then | |
1076 | Debounces.CanAttack = false | |
1077 | Debounces.NoIdl = true | |
1078 | Debounces.on = true | |
1079 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1080 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1081 | local List = {} | |
1082 | for i,v in pairs(workspace:GetChildren())do | |
1083 | if v:IsA("Model")then | |
1084 | if v:findFirstChild("Torso")then | |
1085 | if v ~= char then | |
1086 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1087 | table.insert(List,v) | |
1088 | end | |
1089 | end | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | return List | |
1094 | end | |
1095 | z = Instance.new("Sound",hed) | |
1096 | z.SoundId = "rbxassetid://232213955" | |
1097 | z.Pitch = 1 | |
1098 | z.Volume = 1 | |
1099 | wait(0.2) | |
1100 | z:Play() | |
1101 | sp = Instance.new("Part",rarm) | |
1102 | sp.Anchored = true | |
1103 | sp.CanCollide = false | |
1104 | sp.Locked = true | |
1105 | sp.Transparency = 0 | |
1106 | sp.Material = "Neon" | |
1107 | sp.Size = Vector3.new(1,1,1) | |
1108 | sp.TopSurface = "SmoothNoOutlines" | |
1109 | sp.BottomSurface = "SmoothNoOutlines" | |
1110 | sp.BrickColor = BrickColor.new("New Yeller") | |
1111 | spm = Instance.new("SpecialMesh",sp) | |
1112 | spm.MeshType = "Sphere" | |
1113 | spm.Scale = Vector3.new(21,21,21) | |
1114 | sp2 = Instance.new("Part", rarm) | |
1115 | sp2.Name = "Energy" | |
1116 | sp2.BrickColor = BrickColor.new("New Yeller") | |
1117 | sp2.Size = Vector3.new(1, 1, 1) | |
1118 | sp2.Shape = "Ball" | |
1119 | sp2.CanCollide = false | |
1120 | sp2.Anchored = true | |
1121 | sp2.Locked = true | |
1122 | sp2.TopSurface = 0 | |
1123 | sp2.BottomSurface = 0 | |
1124 | sp2.Transparency = 1 | |
1125 | spm2 = Instance.new("SpecialMesh",sp2) | |
1126 | spm2.MeshId = "rbxassetid://9982590" | |
1127 | spm2.Scale = Vector3.new(2,2,2) | |
1128 | for i = 1, 20 do | |
1129 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1130 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1131 | 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) | |
1132 | 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) | |
1133 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1134 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1135 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1136 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1137 | if Debounces.on == false then break end | |
1138 | rs:wait() | |
1139 | end | |
1140 | for i = 1, 100, 20 do rs:wait() | |
1141 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1142 | end | |
1143 | for i = 1, 20 do | |
1144 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1145 | 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) | |
1146 | 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) | |
1147 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1148 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1149 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1150 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1151 | if Debounces.on == false then break end | |
1152 | rs:wait() | |
1153 | end | |
1154 | sp.Transparency = 1 | |
1155 | for i = 1, 20 do | |
1156 | 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) | |
1157 | 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) | |
1158 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1159 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1160 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1161 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1162 | if Debounces.on == false then break end | |
1163 | rs:wait() | |
1164 | end | |
1165 | wait(1) | |
1166 | sp.Transparency = 0 | |
1167 | sp2.Transparency = 0.84 | |
1168 | for i = 1, 20 do | |
1169 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1170 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1171 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1172 | 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) | |
1173 | 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) | |
1174 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1175 | 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) | |
1176 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1177 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1178 | if Debounces.on == false then break end | |
1179 | rs:wait() | |
1180 | end | |
1181 | for i = 1, 2880, 50 do | |
1182 | rs:wait() | |
1183 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1184 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1185 | rs:wait() | |
1186 | end | |
1187 | sp:Destroy() | |
1188 | sp2:Destroy() | |
1189 | local X = Instance.new("Part",char) | |
1190 | local O = Instance.new("ObjectValue",X) | |
1191 | O.Name = "creator" | |
1192 | X.Locked = true | |
1193 | X.Name = "Shell" | |
1194 | X.Anchored = false | |
1195 | X.CanCollide = false | |
1196 | X.Transparency = 0 | |
1197 | X.Reflectance = 0 | |
1198 | X.BottomSurface = 0 | |
1199 | X.TopSurface = 0 | |
1200 | X.Shape = 0 | |
1201 | local V = Instance.new("ObjectValue",X) | |
1202 | V.Value = char | |
1203 | V.Name = "creator" | |
1204 | - | X.BrickColor = BrickColor.new("New Yeller") |
1204 | + | X.BrickColor = BrickColor.new("Lily white") |
1205 | X.Size = Vector3.new(2,2,2) | |
1206 | X.Material = "Neon" | |
1207 | local Z = Instance.new("SpecialMesh",X) | |
1208 | Z.MeshType = "Sphere" | |
1209 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1210 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1211 | local bv = Instance.new("BodyVelocity",X) | |
1212 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1213 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1214 | bv.velocity = X.CFrame.lookVector*65 | |
1215 | ||
1216 | Explode = X.Touched:connect(function(hit) | |
1217 | if hit ~= char and hit.Name ~= "Shell" then | |
1218 | local cf = X.CFrame | |
1219 | bv:Destroy() | |
1220 | X.Anchored = true | |
1221 | Z:Remove() | |
1222 | Explode:disconnect() | |
1223 | X.Size = Vector3.new(3,3,3) | |
1224 | X.Touched:connect(function(hit) end) | |
1225 | X.CanCollide = false | |
1226 | local part3 = Instance.new("Part", rarm) | |
1227 | part3.Anchored=true | |
1228 | part3.CanCollide=false | |
1229 | part3.Locked = true | |
1230 | part3.TopSurface = "SmoothNoOutlines" | |
1231 | part3.BottomSurface = "SmoothNoOutlines" | |
1232 | part3.FormFactor='Custom' | |
1233 | part3.Size=Vector3.new(1,1, 1) | |
1234 | part3.CFrame=X.CFrame | |
1235 | part3.Transparency=0 | |
1236 | - | part3.BrickColor=BrickColor.new("New Yeller") |
1236 | + | part3.BrickColor=BrickColor.new("Lily white") |
1237 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1238 | mesh3.MeshType = "Sphere" | |
1239 | mesh3.Scale = Vector3.new(1,1,1) | |
1240 | --debris:AddItem(X,8) | |
1241 | local part4 = Instance.new("Part", rarm) | |
1242 | part4.Material = "Neon" | |
1243 | part4.Anchored=true | |
1244 | part4.CanCollide=false | |
1245 | part4.Locked = true | |
1246 | part4.TopSurface = "SmoothNoOutlines" | |
1247 | part4.BottomSurface = "SmoothNoOutlines" | |
1248 | part4.FormFactor='Custom' | |
1249 | part4.Size=Vector3.new(1,1, 1) | |
1250 | part4.CFrame=X.CFrame | |
1251 | part4.Transparency=0 | |
1252 | part4.BrickColor=BrickColor.new("Hot pink") | |
1253 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1254 | mesh4.MeshType = "Sphere" | |
1255 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1256 | local part7 = Instance.new("Part", rarm) | |
1257 | part7.Material = "Neon" | |
1258 | part7.Anchored=true | |
1259 | part7.CanCollide=false | |
1260 | part7.Locked = true | |
1261 | part7.TopSurface = "SmoothNoOutlines" | |
1262 | part7.BottomSurface = "SmoothNoOutlines" | |
1263 | part7.FormFactor='Custom' | |
1264 | part7.Size=Vector3.new(1,1, 1) | |
1265 | part7.CFrame=X.CFrame | |
1266 | part7.Transparency=0 | |
1267 | - | part7.BrickColor=BrickColor.new("New Yeller") |
1267 | + | part7.BrickColor=BrickColor.new("Lily whiter") |
1268 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1269 | mesh7.MeshType = "Sphere" | |
1270 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1271 | --[[X.Touched:connect(function(ht) | |
1272 | hit = ht.Parent | |
1273 | if ht and hit:IsA("Model") then | |
1274 | if hit:FindFirstChild("Humanoid") then | |
1275 | if hit.Name ~= p.Name then | |
1276 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(49999999999999,69999999999999)) | |
1277 | wait(.3) | |
1278 | end | |
1279 | end | |
1280 | elseif ht and hit:IsA("Hat") then | |
1281 | if hit.Parent.Name ~= p.Name then | |
1282 | if hit.Parent:FindFirstChild("Humanoid") then | |
1283 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(49999999999999,6)) | |
1284 | wait(.3) | |
1285 | end | |
1286 | end | |
1287 | end | |
1288 | end) | |
1289 | part3.Touched:connect(function(ht) | |
1290 | hit = ht.Parent | |
1291 | if ht and hit:IsA("Model") then | |
1292 | if hit:FindFirstChild("Humanoid") then | |
1293 | if hit.Name ~= p.Name then | |
1294 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1295 | wait(.3) | |
1296 | end | |
1297 | end | |
1298 | elseif ht and hit:IsA("Hat") then | |
1299 | if hit.Parent.Name ~= p.Name then | |
1300 | if hit.Parent:FindFirstChild("Humanoid") then | |
1301 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1302 | wait(.3) | |
1303 | end | |
1304 | end | |
1305 | end | |
1306 | end)]]-- | |
1307 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1308 | if v:FindFirstChild('Humanoid') then | |
1309 | v.Humanoid:TakeDamage(math.random(60,90)) | |
1310 | v.Humanoid.PlatformStand = true | |
1311 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1312 | end | |
1313 | end | |
1314 | ||
1315 | local acos = math.acos | |
1316 | local sqrt = math.sqrt | |
1317 | local Vec3 = Vector3.new | |
1318 | local fromAxisAngle = CFrame.fromAxisAngle | |
1319 | ||
1320 | local function toAxisAngle(CFr) | |
1321 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1322 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1323 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1324 | A = A == 0 and 0.00001 or A | |
1325 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1326 | B = B == 0 and 0.00001 or B | |
1327 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1328 | C = C == 0 and 0.00001 or C | |
1329 | local x = (R21-R12)/sqrt(A) | |
1330 | local y = (R02-R20)/sqrt(B) | |
1331 | local z = (R10-R01)/sqrt(C) | |
1332 | return Vec3(x,y,z),Angle | |
1333 | end | |
1334 | ||
1335 | function ApplyTrig(Num,Func) | |
1336 | local Min,Max = Func(0),Func(1) | |
1337 | local i = Func(Num) | |
1338 | return (i-Min)/(Max-Min) | |
1339 | end | |
1340 | ||
1341 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1342 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1343 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1344 | end | |
1345 | ||
1346 | function Crater(Torso,Radius) | |
1347 | Spawn(function() | |
1348 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1349 | local Ignore = {} | |
1350 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1351 | if v.Character ~= nil then | |
1352 | Ignore[#Ignore+1] = v.Character | |
1353 | end | |
1354 | end | |
1355 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1356 | if Hit == nil then return end | |
1357 | local Parts = {} | |
1358 | for i = 1,360,10 do | |
1359 | local P = Instance.new("Part",Torso.Parent) | |
1360 | P.Anchored = true | |
1361 | P.FormFactor = "Custom" | |
1362 | P.BrickColor = Hit.BrickColor | |
1363 | P.Material = Hit.Material | |
1364 | P.TopSurface = "Smooth" | |
1365 | P.BottomSurface = "Smooth" | |
1366 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1367 | 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))) | |
1368 | 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} | |
1369 | if math.random(0,5) == 0 then -- rubble | |
1370 | local P = Instance.new("Part",Torso.Parent) | |
1371 | P.Anchored = true | |
1372 | P.FormFactor = "Custom" | |
1373 | P.BrickColor = Hit.BrickColor | |
1374 | P.Material = Hit.Material | |
1375 | P.TopSurface = "Smooth" | |
1376 | P.BottomSurface = "Smooth" | |
1377 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1378 | 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))) | |
1379 | 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} | |
1380 | end | |
1381 | end | |
1382 | for i = 0,1,0.05 do | |
1383 | for i2,v in pairs(Parts) do | |
1384 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1385 | end | |
1386 | wait(0.02) | |
1387 | end | |
1388 | for i,v in pairs(Parts) do | |
1389 | if v[1].Size.X > 2.1 then | |
1390 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1391 | end | |
1392 | v[1].Anchored = false | |
1393 | end | |
1394 | for i = 0,1,0.05 do | |
1395 | for i2,v in pairs(Parts) do | |
1396 | v[1].Transparency = i | |
1397 | if i == 1 then | |
1398 | v[1]:Destroy() | |
1399 | elseif i >= 0.25 then | |
1400 | v[1].CanCollide = false | |
1401 | end | |
1402 | end | |
1403 | wait(0.02) | |
1404 | end | |
1405 | Parts = nil | |
1406 | end) | |
1407 | end | |
1408 | ||
1409 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1410 | for i = 1, 360, 360/t do | |
1411 | local c = Instance.new("Part", game.Workspace) | |
1412 | c.FormFactor = 3 | |
1413 | c.TopSurface = 0 | |
1414 | c.BottomSurface = 0 | |
1415 | c.Size = s | |
1416 | c.Anchored = true | |
1417 | c.CanCollide = wt | |
1418 | c.Material=workspace.Base.Material | |
1419 | c.Transparency = trans | |
1420 | c.BrickColor = workspace.Base.BrickColor | |
1421 | 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 | |
1422 | c.Locked=true | |
1423 | game.Debris:AddItem(c,15) | |
1424 | end | |
1425 | end | |
1426 | ||
1427 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1428 | local p = Instance.new('Part',parent or Weapon) | |
1429 | p.formFactor = 'Custom' | |
1430 | p.Size = Vector3.new(x,y,z) | |
1431 | p.BrickColor = BrickColor.new(color) | |
1432 | p.CanCollide = cc | |
1433 | p.Transparency = tr | |
1434 | p.Anchored = an | |
1435 | p.TopSurface,p.BottomSurface = 0,0 | |
1436 | p.Locked=true | |
1437 | p:BreakJoints() | |
1438 | return p end | |
1439 | ||
1440 | Mesh = function(par,num,x,y,z) | |
1441 | local msh = _ | |
1442 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1443 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1444 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1445 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1446 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1447 | end msh.Scale = Vector3.new(x,y,z) | |
1448 | return msh end | |
1449 | ||
1450 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1451 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1452 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1453 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1454 | v1,v2,v3=sz.x,sz.y,sz.z | |
1455 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1456 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1457 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1458 | a.CFrame=cfr | |
1459 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1460 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1461 | ||
1462 | Spawn(function() | |
1463 | while wait() do | |
1464 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1465 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1466 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1467 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1468 | a.Transparency=a.Transparency+0.05 | |
1469 | a2.Transparency=a2.Transparency+0.05 | |
1470 | a3.Transparency=a3.Transparency+0.05 | |
1471 | end | |
1472 | end) | |
1473 | end | |
1474 | ||
1475 | Crater(X,20) | |
1476 | 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) | |
1477 | z = Instance.new("Sound",X) | |
1478 | z.SoundId = "rbxassetid://231917744" | |
1479 | z.Pitch = .5 | |
1480 | z.Volume = 10 | |
1481 | z1 = Instance.new("Sound",X) | |
1482 | z1.SoundId = "rbxassetid://231917744" | |
1483 | z1.Pitch = .5 | |
1484 | z1.Volume = 10 | |
1485 | z2 = Instance.new("Sound",X) | |
1486 | z2.SoundId = "rbxassetid://231917744" | |
1487 | z2.Pitch = .5 | |
1488 | z2.Volume = 10 | |
1489 | z3 = Instance.new("Sound",X) | |
1490 | z3.SoundId = "rbxassetid://245537790" | |
1491 | z3.Pitch = .7 | |
1492 | z3.Volume = 1 | |
1493 | z4 = Instance.new("Sound",X) | |
1494 | z4.SoundId = "rbxassetid://245537790" | |
1495 | z4.Pitch = .7 | |
1496 | z4.Volume = 1 | |
1497 | wait(0.1) | |
1498 | z:Play() | |
1499 | z1:Play() | |
1500 | z2:Play() | |
1501 | z3:Play() | |
1502 | z4:Play() | |
1503 | ||
1504 | local part=Instance.new('Part',rarm) | |
1505 | part.Anchored=true | |
1506 | part.CanCollide=false | |
1507 | part.Locked = true | |
1508 | part.FormFactor='Custom' | |
1509 | part.Size=Vector3.new(1,1,1) | |
1510 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
1511 | part.Transparency=0 | |
1512 | part.BrickColor=BrickColor.new('New Yeller') | |
1513 | local mesh=Instance.new('SpecialMesh',part) | |
1514 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1515 | mesh.Scale=Vector3.new(2,2,2) | |
1516 | local part2=part:clone() | |
1517 | part2.Parent = rarm | |
1518 | part2.BrickColor=BrickColor.new("New Yeller") | |
1519 | local part5=part:clone() | |
1520 | part5.Parent = rarm | |
1521 | part5.BrickColor=BrickColor.new("Magenta") | |
1522 | local part6=part:clone() | |
1523 | part6.Parent = rarm | |
1524 | part6.BrickColor=BrickColor.new("Black") | |
1525 | local mesh2=mesh:clone() | |
1526 | mesh2.Parent=part2 | |
1527 | mesh2.Scale=Vector3.new(3, 3, 3) | |
1528 | local mesh5=mesh:clone() | |
1529 | mesh5.Parent=part5 | |
1530 | mesh5.Scale=Vector3.new(3, 3, 3) | |
1531 | local mesh6=mesh:clone() | |
1532 | mesh6.Parent=part6 | |
1533 | mesh6.Scale=Vector3.new(3, 3, 3) | |
1534 | local blast = Instance.new("Part", rarm) | |
1535 | blast.BrickColor = BrickColor.new("New Yeller") | |
1536 | blast.Anchored = true | |
1537 | blast.CanCollide = false | |
1538 | blast.Locked = true | |
1539 | blast.Size = Vector3.new(1, 1, 1) | |
1540 | blast.TopSurface = "Smooth" | |
1541 | blast.BottomSurface = "Smooth" | |
1542 | blast.Transparency = 0 | |
1543 | blast.CFrame = HandCF | |
1544 | local bm = Instance.new("SpecialMesh", blast) | |
1545 | bm.Scale = Vector3.new(5,1,5) | |
1546 | bm.MeshId = "rbxassetid://3270017" | |
1547 | local blast2 = Instance.new("Part", rarm) | |
1548 | blast2.BrickColor = BrickColor.new("New Yeller") | |
1549 | blast2.Anchored = true | |
1550 | blast2.CanCollide = false | |
1551 | blast2.Locked = true | |
1552 | blast2.Size = Vector3.new(1, 1, 1) | |
1553 | blast2.TopSurface = "Smooth" | |
1554 | blast2.BottomSurface = "Smooth" | |
1555 | blast2.Transparency = 0 | |
1556 | blast2.CFrame = HandCF | |
1557 | local bm2 = Instance.new("SpecialMesh", blast2) | |
1558 | bm2.Scale = Vector3.new(3,1,3) | |
1559 | bm2.MeshId = "rbxassetid://3270017" | |
1560 | local blast3 = Instance.new("Part", rarm) | |
1561 | - | blast3.BrickColor = BrickColor.new("New Yeller") |
1561 | + | blast3.BrickColor = BrickColor.new("Lily whiter") |
1562 | blast3.Anchored = true | |
1563 | blast3.CanCollide = false | |
1564 | blast3.Locked = true | |
1565 | blast3.Size = Vector3.new(1, 1, 1) | |
1566 | blast3.TopSurface = "Smooth" | |
1567 | blast3.BottomSurface = "Smooth" | |
1568 | blast3.Transparency = 0 | |
1569 | blast3.CFrame = HandCF | |
1570 | local bm3 = Instance.new("SpecialMesh", blast3) | |
1571 | bm3.Scale = Vector3.new(3,1,3) | |
1572 | bm3.MeshId = "rbxassetid://3270017" | |
1573 | for i = 1,120 do rs:wait() | |
1574 | X.Transparency = X.Transparency + (1/120) | |
1575 | part.Transparency = part.Transparency + (1/120) | |
1576 | part2.Transparency = part2.Transparency + (1/120) | |
1577 | part3.Transparency = part3.Transparency + (1/120) | |
1578 | part4.Transparency = part4.Transparency + (1/120) | |
1579 | part5.Transparency = part5.Transparency + (1/120) | |
1580 | part6.Transparency = part6.Transparency + (1/120) | |
1581 | part7.Transparency = part7.Transparency + (1/120) | |
1582 | blast.Transparency = blast.Transparency + (1/120) | |
1583 | blast2.Transparency = blast2.Transparency + (1/120) | |
1584 | blast3.Transparency = blast3.Transparency + (1/120) | |
1585 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
1586 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
1587 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
1588 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
1589 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
1590 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
1591 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
1592 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
1593 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
1594 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
1595 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
1596 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
1597 | X.CFrame = cf | |
1598 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
1599 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
1600 | part3.CFrame=X.CFrame | |
1601 | part4.CFrame=X.CFrame | |
1602 | part7.CFrame=X.CFrame | |
1603 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
1604 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
1605 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1606 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
1607 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
1608 | rs:wait() | |
1609 | end | |
1610 | X:Destroy() | |
1611 | part:Destroy() | |
1612 | part2:Destroy() | |
1613 | part3:Destroy() | |
1614 | part4:Destroy() | |
1615 | part5:Destroy() | |
1616 | part6:Destroy() | |
1617 | blast:Destroy() | |
1618 | blast2:Destroy() | |
1619 | blast3:Destroy() | |
1620 | z:Destroy() | |
1621 | z1:Destroy() | |
1622 | z2:Destroy() | |
1623 | z3:Destroy() | |
1624 | z4:Destroy() | |
1625 | end | |
1626 | end) | |
1627 | for i = 1, 20 do | |
1628 | 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) | |
1629 | 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) | |
1630 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1631 | 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) | |
1632 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
1633 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
1634 | if Debounces.on == false then break end | |
1635 | rs:wait() | |
1636 | end | |
1637 | if Debounces.CanAttack == false then | |
1638 | Debounces.CanAttack = true | |
1639 | Debounces.NoIdl = false | |
1640 | Debounces.on = false | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | end) | |
1645 | ---------------------------------------------------- | |
1646 | mouse.KeyDown:connect(function(key) | |
1647 | if key == "e" then | |
1648 | if Debounces.CanAttack == true then | |
1649 | Debounces.CanAttack = false | |
1650 | Debounces.on = true | |
1651 | Debounces.NoIdl = true | |
1652 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
1653 | z = Instance.new("Sound", rarm) | |
1654 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1655 | z.Volume = .6 | |
1656 | z.Pitch = pt[math.random(1,#pt)] | |
1657 | z.Looped = false | |
1658 | z:Play() | |
1659 | Debounces.RPunch = true | |
1660 | Debounces.LPunch = true | |
1661 | Debounces.ks = true | |
1662 | Debounces.ks2 = true | |
1663 | for i = 1, 3 do | |
1664 | 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) | |
1665 | 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) | |
1666 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1667 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1668 | 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) | |
1669 | 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) | |
1670 | if Debounces.on == false then break end | |
1671 | wait() | |
1672 | end | |
1673 | z2 = Instance.new("Sound", larm) | |
1674 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1675 | z2.Volume = .6 | |
1676 | z2.Pitch = pt[math.random(1,#pt)] | |
1677 | z2.Looped = false | |
1678 | z2:Play() | |
1679 | for i = 1, 3 do | |
1680 | 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) | |
1681 | 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) | |
1682 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1683 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1684 | 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) | |
1685 | 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) | |
1686 | if Debounces.on == false then break end | |
1687 | wait() | |
1688 | end | |
1689 | z3 = Instance.new("Sound", rarm) | |
1690 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1691 | z3.Volume = 0.6 | |
1692 | z3.Pitch = pt[math.random(1,#pt)] | |
1693 | z3.Looped = false | |
1694 | z3:Play() | |
1695 | for i = 1, 3 do | |
1696 | 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) | |
1697 | 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) | |
1698 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1699 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1700 | 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) | |
1701 | 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) | |
1702 | if Debounces.on == false then break end | |
1703 | wait() | |
1704 | end | |
1705 | z4 = Instance.new("Sound", larm) | |
1706 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1707 | z4.Volume = .6 | |
1708 | z4.Pitch = pt[math.random(1,#pt)] | |
1709 | z4.Looped = false | |
1710 | z4:Play() | |
1711 | for i = 1, 3 do | |
1712 | 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) | |
1713 | 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) | |
1714 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1715 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1716 | 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) | |
1717 | 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) | |
1718 | if Debounces.on == false then break end | |
1719 | wait() | |
1720 | end | |
1721 | z5 = Instance.new("Sound", rarm) | |
1722 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1723 | z5.Volume = .6 | |
1724 | z5.Pitch = pt[math.random(1,#pt)] | |
1725 | z5.Looped = false | |
1726 | z5:Play() | |
1727 | for i = 1, 3 do | |
1728 | 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) | |
1729 | 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) | |
1730 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1731 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1732 | 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) | |
1733 | 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) | |
1734 | if Debounces.on == false then break end | |
1735 | wait() | |
1736 | end | |
1737 | z6 = Instance.new("Sound", larm) | |
1738 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1739 | z6.Volume = .6 | |
1740 | z6.Pitch = pt[math.random(1,#pt)] | |
1741 | z6.Looped = false | |
1742 | z6:Play() | |
1743 | for i = 1, 3 do | |
1744 | 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) | |
1745 | 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) | |
1746 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1747 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1748 | 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) | |
1749 | 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) | |
1750 | if Debounces.on == false then break end | |
1751 | wait() | |
1752 | end | |
1753 | z7 = Instance.new("Sound", rarm) | |
1754 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1755 | z7.Volume = .6 | |
1756 | z7.Pitch = pt[math.random(1,#pt)] | |
1757 | z7.Looped = false | |
1758 | z7:Play() | |
1759 | for i = 1, 3 do | |
1760 | 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) | |
1761 | 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) | |
1762 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1763 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1764 | 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) | |
1765 | 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) | |
1766 | if Debounces.on == false then break end | |
1767 | wait() | |
1768 | end | |
1769 | z8 = Instance.new("Sound", larm) | |
1770 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1771 | z8.Volume = .6 | |
1772 | z8.Pitch = pt[math.random(1,#pt)] | |
1773 | z8.Looped = false | |
1774 | z8:Play() | |
1775 | for i = 1, 3 do | |
1776 | 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) | |
1777 | 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) | |
1778 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1780 | 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) | |
1781 | 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) | |
1782 | if Debounces.on == false then break end | |
1783 | wait() | |
1784 | end | |
1785 | z9 = Instance.new("Sound", rarm) | |
1786 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1787 | z9.Volume = 0.6 | |
1788 | z9.Pitch = pt[math.random(1,#pt)] | |
1789 | z9.Looped = false | |
1790 | z9:Play() | |
1791 | for i = 1, 3 do | |
1792 | 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) | |
1793 | 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) | |
1794 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1795 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1796 | 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) | |
1797 | 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) | |
1798 | if Debounces.on == false then break end | |
1799 | wait() | |
1800 | end | |
1801 | z10 = Instance.new("Sound", larm) | |
1802 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1803 | z10.Volume = .6 | |
1804 | z10.Pitch = pt[math.random(1,#pt)] | |
1805 | z10.Looped = false | |
1806 | z10:Play() | |
1807 | for i = 1, 3 do | |
1808 | 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) | |
1809 | 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) | |
1810 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1811 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1812 | 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) | |
1813 | 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) | |
1814 | if Debounces.on == false then break end | |
1815 | wait() | |
1816 | end | |
1817 | z11 = Instance.new("Sound", rarm) | |
1818 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1819 | z11.Volume = .6 | |
1820 | z11.Pitch = pt[math.random(1,#pt)] | |
1821 | z11.Looped = false | |
1822 | z11:Play() | |
1823 | for i = 1, 3 do | |
1824 | 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) | |
1825 | 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) | |
1826 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1827 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1828 | 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) | |
1829 | 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) | |
1830 | if Debounces.on == false then break end | |
1831 | wait() | |
1832 | end | |
1833 | z12 = Instance.new("Sound", larm) | |
1834 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1835 | z12.Volume = .6 | |
1836 | z12.Pitch = pt[math.random(1,#pt)] | |
1837 | z12.Looped = false | |
1838 | z12:Play() | |
1839 | for i = 1, 3 do | |
1840 | 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) | |
1841 | 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) | |
1842 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1843 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1844 | 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) | |
1845 | 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) | |
1846 | if Debounces.on == false then break end | |
1847 | wait() | |
1848 | end | |
1849 | z13 = Instance.new("Sound", rarm) | |
1850 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1851 | z13.Volume = 0.6 | |
1852 | z13.Pitch = pt[math.random(1,#pt)] | |
1853 | z13.Looped = false | |
1854 | z13:Play() | |
1855 | for i = 1, 3 do | |
1856 | 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) | |
1857 | 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) | |
1858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1859 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1860 | 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) | |
1861 | 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) | |
1862 | if Debounces.on == false then break end | |
1863 | wait() | |
1864 | end | |
1865 | z14 = Instance.new("Sound", larm) | |
1866 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1867 | z14.Volume = .6 | |
1868 | z14.Pitch = pt[math.random(1,#pt)] | |
1869 | z14.Looped = false | |
1870 | z14:Play() | |
1871 | for i = 1, 3 do | |
1872 | 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) | |
1873 | 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) | |
1874 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1875 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1876 | 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) | |
1877 | 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) | |
1878 | if Debounces.on == false then break end | |
1879 | wait() | |
1880 | end | |
1881 | z15 = Instance.new("Sound", rarm) | |
1882 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1883 | z15.Volume = .6 | |
1884 | z15.Pitch = pt[math.random(1,#pt)] | |
1885 | z15.Looped = false | |
1886 | z15:Play() | |
1887 | for i = 1, 3 do | |
1888 | 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) | |
1889 | 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) | |
1890 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1891 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1892 | 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) | |
1893 | 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) | |
1894 | if Debounces.on == false then break end | |
1895 | wait() | |
1896 | end | |
1897 | z16 = Instance.new("Sound", larm) | |
1898 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1899 | z16.Volume = .6 | |
1900 | z16.Pitch = pt[math.random(1,#pt)] | |
1901 | z16.Looped = false | |
1902 | z16:Play() | |
1903 | for i = 1, 3 do | |
1904 | 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) | |
1905 | 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) | |
1906 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1907 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1908 | 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) | |
1909 | 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) | |
1910 | if Debounces.on == false then break end | |
1911 | wait() | |
1912 | end | |
1913 | z17 = Instance.new("Sound", rarm) | |
1914 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1915 | z17.Volume = .6 | |
1916 | z17.Pitch = pt[math.random(1,#pt)] | |
1917 | z17.Looped = false | |
1918 | z17:Play() | |
1919 | for i = 1, 3 do | |
1920 | 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) | |
1921 | 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) | |
1922 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1923 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1924 | 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) | |
1925 | 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) | |
1926 | if Debounces.on == false then break end | |
1927 | wait() | |
1928 | end | |
1929 | z18 = Instance.new("Sound", larm) | |
1930 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1931 | z18.Volume = .6 | |
1932 | z18.Pitch = pt[math.random(1,#pt)] | |
1933 | z18.Looped = false | |
1934 | z18:Play() | |
1935 | for i = 1, 3 do | |
1936 | 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) | |
1937 | 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) | |
1938 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1939 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1940 | 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) | |
1941 | 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) | |
1942 | if Debounces.on == false then break end | |
1943 | wait() | |
1944 | end | |
1945 | z19 = Instance.new("Sound", rarm) | |
1946 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1947 | z19.Volume = 0.6 | |
1948 | z19.Pitch = pt[math.random(1,#pt)] | |
1949 | z19.Looped = false | |
1950 | z19:Play() | |
1951 | for i = 1, 3 do | |
1952 | 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) | |
1953 | 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) | |
1954 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1955 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1956 | 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) | |
1957 | 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) | |
1958 | if Debounces.on == false then break end | |
1959 | wait() | |
1960 | end | |
1961 | z20 = Instance.new("Sound", larm) | |
1962 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1963 | z20.Volume = .6 | |
1964 | z20.Pitch = pt[math.random(1,#pt)] | |
1965 | z20.Looped = false | |
1966 | z20:Play() | |
1967 | for i = 1, 3 do | |
1968 | 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) | |
1969 | 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) | |
1970 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1971 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1972 | 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) | |
1973 | 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) | |
1974 | if Debounces.on == false then break end | |
1975 | wait() | |
1976 | end | |
1977 | z:Destroy() | |
1978 | z2:Destroy() | |
1979 | z3:Destroy() | |
1980 | z4:Destroy() | |
1981 | z5:Destroy() | |
1982 | z6:Destroy() | |
1983 | z7:Destroy() | |
1984 | z8:Destroy() | |
1985 | z9:Destroy() | |
1986 | z10:Destroy() | |
1987 | z11:Destroy() | |
1988 | z12:Destroy() | |
1989 | z13:Destroy() | |
1990 | z14:Destroy() | |
1991 | z15:Destroy() | |
1992 | z16:Destroy() | |
1993 | z17:Destroy() | |
1994 | z18:Destroy() | |
1995 | z19:Destroy() | |
1996 | z20:Destroy() | |
1997 | Debounces.LPunch = false | |
1998 | Debounces.RPunch = false | |
1999 | Debounces.ks = false | |
2000 | Debounces.ks2 = false | |
2001 | if Debounces.CanAttack == false then | |
2002 | Debounces.CanAttack = true | |
2003 | Debounces.on = false | |
2004 | Debounces.NoIdl = false | |
2005 | end | |
2006 | end | |
2007 | end | |
2008 | end) | |
2009 | ------------------------------- | |
2010 | mouse.KeyDown:connect(function(key) | |
2011 | if key == "t" then | |
2012 | if Debounces.CanAttack == true then | |
2013 | Debounces.CanAttack = false | |
2014 | Debounces.NoIdl = true | |
2015 | Debounces.on = true | |
2016 | Debounces.ks = true | |
2017 | kik = rleg.Touched:connect(function(ht) | |
2018 | hit = ht.Parent | |
2019 | if ht and hit:IsA("Model") then | |
2020 | if hit:FindFirstChild("Humanoid") then | |
2021 | if hit.Name ~= p.Name then | |
2022 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2023 | Debounces.Slashed = true]]-- | |
2024 | if Debounces.ks==true then | |
2025 | z = Instance.new("Sound",hed) | |
2026 | z.SoundId = "rbxassetid://169380525" | |
2027 | z.Volume = 1 | |
2028 | z:Play() | |
2029 | Debounces.ks=false | |
2030 | end | |
2031 | - | hit:FindFirstChild("Humanoid"):TakeDamage(2) |
2031 | + | hit:FindFirstChild("Humanoid"):TakeDamage(29999999999999) |
2032 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2033 | --Debounces.Slashed = false | |
2034 | --end | |
2035 | end | |
2036 | end | |
2037 | elseif ht and hit:IsA("Hat") then | |
2038 | if hit.Parent.Name ~= p.Name then | |
2039 | if hit.Parent:FindFirstChild("Humanoid") then | |
2040 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2041 | Debounces.Slashed = true]]-- | |
2042 | - | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) |
2042 | + | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(29999999999999) |
2043 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2044 | --Debounces.Slashed = false | |
2045 | --end | |
2046 | end | |
2047 | end | |
2048 | end | |
2049 | end) | |
2050 | for i = 1,20 do | |
2051 | 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) | |
2052 | 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) | |
2053 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2054 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2055 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2056 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2057 | if Debounces.on == false then break end | |
2058 | rs:wait() | |
2059 | end | |
2060 | kik:disconnect() | |
2061 | if Debounces.CanAttack == false then | |
2062 | Debounces.CanAttack = true | |
2063 | Debounces.NoIdl = false | |
2064 | Debounces.on = false | |
2065 | end | |
2066 | end | |
2067 | end | |
2068 | end) | |
2069 | ---------------------------------------------------- | |
2070 | mouse.KeyDown:connect(function(key) | |
2071 | if key == "y" then | |
2072 | if Debounces.CanAttack == true then | |
2073 | Debounces.CanAttack = false | |
2074 | Debounces.on = true | |
2075 | Debounces.NoIdl = true | |
2076 | for i = 1, 15 do | |
2077 | 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) | |
2078 | 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) | |
2079 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2080 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2081 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2082 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2083 | if Debounces.on == false then break end | |
2084 | rs:wait(2.7) | |
2085 | end | |
2086 | x = Instance.new("Sound",char) | |
2087 | x.SoundId = "rbxassetid://228343271" | |
2088 | x.Pitch = 1 | |
2089 | x.Volume = .8 | |
2090 | wait(.1) | |
2091 | x:Play() | |
2092 | Debounces.on = false | |
2093 | Debounces.Here = false | |
2094 | shot = shot + 1 | |
2095 | local rng = Instance.new("Part", larm) | |
2096 | rng.Anchored = true | |
2097 | - | rng.BrickColor = BrickColor.new("New Yeller") |
2097 | + | rng.BrickColor = BrickColor.new("Lily white") |
2098 | rng.CanCollide = false | |
2099 | rng.FormFactor = 3 | |
2100 | rng.Name = "Ring" | |
2101 | rng.Size = Vector3.new(1, 1, 1) | |
2102 | rng.Transparency = 0.35 | |
2103 | rng.TopSurface = 0 | |
2104 | rng.BottomSurface = 0 | |
2105 | rng2 = rng:clone() | |
2106 | rng3 = rng2:clone() | |
2107 | rng4 = rng2:clone() | |
2108 | local rngm = Instance.new("SpecialMesh", rng) | |
2109 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2110 | rngm.Scale = Vector3.new(10, 10, 1) | |
2111 | rngm2 = rngm:clone() | |
2112 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2113 | rngm3=rngm2:clone() | |
2114 | rngm3.Parent = rng3 | |
2115 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2116 | rngm4 = rngm2:clone() | |
2117 | rngm4.Parent = rng4 | |
2118 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2119 | local bem = Instance.new("Part", larm) | |
2120 | bem.Anchored = true | |
2121 | - | bem.BrickColor = BrickColor.new("New Yeller") |
2121 | + | bem.BrickColor = BrickColor.new("Lily white") |
2122 | bem.CanCollide = false | |
2123 | bem.FormFactor = 3 | |
2124 | bem.Name = "Beam" .. shot | |
2125 | bem.Size = Vector3.new(1, 1, 1) | |
2126 | bem.Transparency = 0.35 | |
2127 | bem.TopSurface = 0 | |
2128 | bem.BottomSurface = 0 | |
2129 | local bemm = Instance.new("SpecialMesh", bem) | |
2130 | bemm.MeshType = 4 | |
2131 | bemm.Scale = Vector3.new(1, 4, 4) | |
2132 | local out = Instance.new("Part", larm) | |
2133 | out.Anchored = true | |
2134 | - | out.BrickColor = BrickColor.new("New Yeller") |
2134 | + | out.BrickColor = BrickColor.new("Lily white") |
2135 | out.CanCollide = false | |
2136 | out.FormFactor = 3 | |
2137 | out.Name = "Out" | |
2138 | out.Size = Vector3.new(4, 4, 4) | |
2139 | out.Transparency = 0.35 | |
2140 | out.TopSurface = 0 | |
2141 | out.BottomSurface = 0 | |
2142 | local outm = Instance.new("SpecialMesh", out) | |
2143 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2144 | outm.Scale = Vector3.new(6, 4, 6) | |
2145 | local bnd = Instance.new("Part", larm) | |
2146 | bnd.Anchored = true | |
2147 | - | bnd.BrickColor = BrickColor.new("New Yeller") |
2147 | + | bnd.BrickColor = BrickColor.new("Lily white") |
2148 | bnd.CanCollide = false | |
2149 | bnd.FormFactor = 3 | |
2150 | bnd.Name = "Bend" | |
2151 | bnd.Size = Vector3.new(1, 1, 1) | |
2152 | bnd.Transparency = 1 | |
2153 | bnd.TopSurface = 0 | |
2154 | bnd.BottomSurface = 0 | |
2155 | local bndm = Instance.new("SpecialMesh", bnd) | |
2156 | bndm.MeshType = 3 | |
2157 | bndm.Scale = Vector3.new(8, 8, 8) | |
2158 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2159 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2160 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2161 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2162 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2163 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2164 | Debounces.Shewt = true | |
2165 | coroutine.wrap(function() | |
2166 | for i = 1, 20, 0.2 do | |
2167 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2168 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2169 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2170 | rng.Transparency = i/20 | |
2171 | rng3.Transparency = 1/24 | |
2172 | rng4.Transparency = i/26 | |
2173 | wait() | |
2174 | end | |
2175 | wait() | |
2176 | rng:Destroy() | |
2177 | end)() | |
2178 | if Debounces.Shewt == true then | |
2179 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2180 | hit = ht.Parent | |
2181 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2182 | if HasntTouched(hit.Name) == true and deb == false then | |
2183 | deb = true | |
2184 | coroutine.wrap(function() | |
2185 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2186 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2187 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2188 | end)() | |
2189 | table.insert(Touche, hit.Name) | |
2190 | deb = false | |
2191 | end | |
2192 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2193 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2194 | deb = true | |
2195 | coroutine.wrap(function() | |
2196 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2197 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2198 | wait(1) | |
2199 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2200 | end)() | |
2201 | table.insert(Touche, hit.Parent.Name) | |
2202 | deb = false | |
2203 | for i, v in pairs(Touche) do | |
2204 | print(v) | |
2205 | end | |
2206 | end | |
2207 | end | |
2208 | end) | |
2209 | end | |
2210 | for i = 0, 260, 8 do | |
2211 | bem.Size = Vector3.new(i, 3, 3) | |
2212 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2213 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2214 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2215 | bnd.Size = Vector3.new(1,1,1) | |
2216 | bndm.Scale = Vector3.new(8,8,8) | |
2217 | if i % 10 == 0 then | |
2218 | local newRng = rng2:Clone() | |
2219 | newRng.Parent = larm | |
2220 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2221 | local newRngm = rngm2:clone() | |
2222 | newRngm.Parent=newRng | |
2223 | coroutine.wrap(function() | |
2224 | for i = 1, 10, 0.2 do | |
2225 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2226 | newRng.Transparency = i/10 | |
2227 | wait() | |
2228 | end | |
2229 | wait() | |
2230 | newRng:Destroy() | |
2231 | end)() | |
2232 | end | |
2233 | wait() | |
2234 | end | |
2235 | wait() | |
2236 | Debounces.Shewt = false | |
2237 | bem:Destroy() | |
2238 | out:Destroy() | |
2239 | bnd:Destroy() | |
2240 | Debounces.Ready = false | |
2241 | for i, v in pairs(Touche) do | |
2242 | table.remove(Touche, i) | |
2243 | end | |
2244 | wait() | |
2245 | table.insert(Touche, char.Name) | |
2246 | Debounces.NoIdl = false | |
2247 | if Debounces.CanAttack == false then | |
2248 | Debounces.CanAttack = true | |
2249 | end | |
2250 | end | |
2251 | end | |
2252 | end) | |
2253 | ---------------------------------------------------- | |
2254 | --[[mouse.KeyDown:connect(function(key) | |
2255 | if key == "y" then | |
2256 | if Debounces.CanAttack == true then | |
2257 | Debounces.CanAttack = false | |
2258 | Debounces.NoIdl = true | |
2259 | Debounces.on = true | |
2260 | local shell = Instance.new("Part",torso) | |
2261 | shell.BrickColor = BrickColor.new("New Yeller") | |
2262 | shell.Anchored = false | |
2263 | shell.CanCollide = false | |
2264 | shell.Locked = true | |
2265 | shell.TopSurface = "SmoothNoOutlines" | |
2266 | shell.BottomSurface = "SmoothNoOutlines" | |
2267 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
2268 | shell.FormFactor = 3 | |
2269 | local shellm = Instance.new("SpecialMesh",shell) | |
2270 | shellm.MeshType = "Sphere" | |
2271 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
2272 | Omega = function() | |
2273 | local X = Instance.new("Part",char) | |
2274 | local O = Instance.new("ObjectValue",X) | |
2275 | O.Name = "creator" | |
2276 | X.Locked = true | |
2277 | X.Name = "Shell" | |
2278 | X.Anchored = false | |
2279 | X.CanCollide = false | |
2280 | X.Transparency = 0.5 | |
2281 | X.Reflectance = 0 | |
2282 | X.BottomSurface = 0 | |
2283 | X.TopSurface = 0 | |
2284 | X.Shape = 0 | |
2285 | local V = Instance.new("ObjectValue",X) | |
2286 | V.Value = char | |
2287 | V.Name = "creator" | |
2288 | X.BrickColor = BrickColor.new("New Yeller") | |
2289 | X.Size = Vector3.new(40,40,40) | |
2290 | --X.Material = "Neon" | |
2291 | local Z = Instance.new("SpecialMesh",X) | |
2292 | Z.MeshType = "Sphere" | |
2293 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
2294 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2295 | local bv = Instance.new("BodyVelocity",X) | |
2296 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2297 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2298 | bv.velocity = root.CFrame.lookVector*10 | |
2299 | Explode = X.Touched:connect(function(hit) | |
2300 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2301 | local cf = X.CFrame | |
2302 | bv:Destroy() | |
2303 | X.Anchored = true | |
2304 | Z:Remove() | |
2305 | Explode:disconnect() | |
2306 | X.Size = Vector3.new(3,3,3) | |
2307 | X.Touched:connect(function(hit) end) | |
2308 | X.CanCollide = false | |
2309 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
2310 | if v:FindFirstChild('Humanoid') then | |
2311 | v.Humanoid:TakeDamage(math.random(80,120)) | |
2312 | end | |
2313 | end | |
2314 | for i = 1, (40) do rs:wait() | |
2315 | X.Transparency = X.Transparency + (1/40) | |
2316 | X.Size = X.Size + Vector3.new(1,1,1) | |
2317 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
2318 | end | |
2319 | X:Destroy() | |
2320 | end | |
2321 | end) | |
2322 | end | |
2323 | for i = 1,200 do | |
2324 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2325 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
2326 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
2327 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2328 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2329 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2330 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2331 | if Debounces.on == false then break end | |
2332 | rs:wait() | |
2333 | end | |
2334 | for i = 1,30 do | |
2335 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
2336 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
2337 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
2338 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2339 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2340 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2341 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2342 | if Debounces.on == false then break end | |
2343 | rs:wait() | |
2344 | end | |
2345 | for i = 1,40 do | |
2346 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
2347 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2348 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
2349 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
2350 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2351 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2352 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2353 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2354 | if Debounces.on == false then break end | |
2355 | rs:wait() | |
2356 | end | |
2357 | for i = 1,40 do | |
2358 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
2359 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
2360 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
2361 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2362 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2363 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2364 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2365 | if Debounces.on == false then break end | |
2366 | rs:wait() | |
2367 | end | |
2368 | for i = 1,60 do | |
2369 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2370 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
2371 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
2372 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2373 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2374 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2375 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2376 | if Debounces.on == false then break end | |
2377 | rs:wait() | |
2378 | end | |
2379 | for i = 1,60 do | |
2380 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2381 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2382 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
2383 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
2384 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2385 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2386 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2387 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2388 | if Debounces.on == false then break end | |
2389 | rs:wait() | |
2390 | end | |
2391 | if Debounces.CanAttack == false then | |
2392 | Debounces.CanAttack = true | |
2393 | Debounces.NoIdl = false | |
2394 | Debounces.on = false | |
2395 | end | |
2396 | end | |
2397 | end | |
2398 | end)]]-- | |
2399 | ---------------------------------------------------- | |
2400 | Charging = false | |
2401 | mouse.KeyDown:connect(function(key) | |
2402 | if key == "r" then | |
2403 | if Charging == false then | |
2404 | Charging = true | |
2405 | if Debounces.CanAttack == true then | |
2406 | Debounces.CanAttack = false | |
2407 | Debounces.NoIdl = true | |
2408 | Debounces.on = true | |
2409 | for i = 1,20 do | |
2410 | 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) | |
2411 | 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) | |
2412 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2413 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2414 | 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) | |
2415 | 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) | |
2416 | if Debounces.on == false then break end | |
2417 | rs:wait() | |
2418 | end | |
2419 | --[[for i = 1,20 do | |
2420 | 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) | |
2421 | 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) | |
2422 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2423 | 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) | |
2424 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2425 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2426 | if Debounces.on == false then break end | |
2427 | rs:wait() | |
2428 | end]]-- | |
2429 | pt=Instance.new('Part',torso) | |
2430 | pt.Anchored=true | |
2431 | pt.CanCollide=false | |
2432 | pt.Locked = true | |
2433 | pt.FormFactor='Custom' | |
2434 | pt.Size=Vector3.new(1,1,1) | |
2435 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2436 | pt.Transparency=.6 | |
2437 | pt.BrickColor=BrickColor.new('New Yeller') | |
2438 | msh=Instance.new('SpecialMesh',pt) | |
2439 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2440 | msh.Scale=Vector3.new(8,4,8) | |
2441 | pt2=pt:clone() | |
2442 | pt2.Parent = torso | |
2443 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2444 | pt2.BrickColor=BrickColor.new("New Yeller") | |
2445 | msh2=msh:clone() | |
2446 | msh2.Parent=pt2 | |
2447 | msh2.Scale=Vector3.new(10,5,10) | |
2448 | ||
2449 | - | 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} |
2449 | + | custommath={999999999999925,999999999999926,999999999999927,999999999999928,999999999999929,999999999999930,999999999999931,32,33,34,35,36,999999999999937,38,39,40,41,42,43,44,45,46,999999999999947,48,999999999999949,50,51,999999999999952,53,54,55,56,57,58,999999999999959,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,999999999999987,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} |
2450 | ||
2451 | bl = Instance.new("Part", char) | |
2452 | bl.Locked = true | |
2453 | bl.Name = "Shell" | |
2454 | - | bl.BrickColor = BrickColor.new("New Yeller") |
2454 | + | bl.BrickColor = BrickColor.new("Lily white") |
2455 | bl.Anchored = true | |
2456 | bl.CanCollide = false | |
2457 | bl.Transparency = 0 | |
2458 | bl.Reflectance = 0 | |
2459 | bl.BottomSurface = 0 | |
2460 | bl.TopSurface = 0 | |
2461 | bl.Shape = 0 | |
2462 | blm = Instance.new("SpecialMesh",bl) | |
2463 | blm.MeshType = "Sphere" | |
2464 | blm.Scale = Vector3.new(1,1,1) | |
2465 | blm.MeshId = "rbxassetid://9982590" | |
2466 | ||
2467 | coroutine.resume(coroutine.create(function() | |
2468 | for i=1, math.huge, 4 do | |
2469 | if Charging == true then | |
2470 | rs:wait() | |
2471 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2472 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2473 | bl.Transparency = bl.Transparency + 0.005 | |
2474 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2475 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2476 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2477 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2478 | elseif Charging == false then break | |
2479 | end | |
2480 | end | |
2481 | end)) | |
2482 | ||
2483 | repeat | |
2484 | local p = Instance.new('Part',torso) | |
2485 | p.formFactor = 'Custom' | |
2486 | p.Size = Vector3.new(1,1,1) | |
2487 | p.BrickColor = workspace.Base.BrickColor | |
2488 | p.CanCollide = false | |
2489 | p.Transparency = 0 | |
2490 | p.Anchored = true | |
2491 | p.Locked=true | |
2492 | p.Material = workspace.Base.Material | |
2493 | s = math.random(1,40)/10 | |
2494 | local m = Instance.new("BlockMesh",p) | |
2495 | m.Scale = Vector3.new(s,s,s) | |
2496 | 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()) | |
2497 | --[[coroutine.wrap(function() | |
2498 | wait(2) | |
2499 | while Charging == true do | |
2500 | wait(2) | |
2501 | GroundWave1() | |
2502 | wait(2) | |
2503 | end | |
2504 | end)()]]-- | |
2505 | Spawn(function() | |
2506 | while rs:wait() do | |
2507 | if Charging == true then | |
2508 | 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))) | |
2509 | 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))) | |
2510 | 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)) | |
2511 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2512 | 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))) | |
2513 | 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))) | |
2514 | elseif Charging == false then break | |
2515 | end | |
2516 | end | |
2517 | end) | |
2518 | Spawn(function() | |
2519 | while rs:wait() do | |
2520 | if p.Transparency >= 1 then p:Destroy() break end | |
2521 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2522 | p.Transparency = p.Transparency+0.01 | |
2523 | end | |
2524 | end) | |
2525 | wait(.3) | |
2526 | until Charging == false | |
2527 | end | |
2528 | end | |
2529 | end | |
2530 | end) | |
2531 | ---------------------------------------------------- | |
2532 | mouse.KeyUp:connect(function(key) | |
2533 | if key == "r" then | |
2534 | if Charging == true then | |
2535 | Charging = false | |
2536 | pt:Destroy() | |
2537 | pt2:Destroy() | |
2538 | bl:Destroy() | |
2539 | if Debounces.CanAttack == false then | |
2540 | Debounces.CanAttack = true | |
2541 | Debounces.NoIdl = false | |
2542 | Debounces.on = false | |
2543 | end | |
2544 | end | |
2545 | end | |
2546 | end) | |
2547 | ---------------------------------------------------- | |
2548 | mouse.KeyDown:connect(function(key) | |
2549 | if key == "g" then | |
2550 | if Debounces.CanAttack == true then | |
2551 | Debounces.CanAttack = false | |
2552 | Debounces.NoIdl = true | |
2553 | Debounces.on = true | |
2554 | local shell = Instance.new("Part",torso) | |
2555 | shell.BrickColor = BrickColor.new("Lily white") | |
2556 | shell.Anchored = true | |
2557 | shell.CanCollide = false | |
2558 | shell.Locked = true | |
2559 | shell.TopSurface = "SmoothNoOutlines" | |
2560 | shell.BottomSurface = "SmoothNoOutlines" | |
2561 | shell.Size = Vector3.new(1,1,1) | |
2562 | shellm = Instance.new("SpecialMesh",shell) | |
2563 | shellm.MeshType = "Sphere" | |
2564 | shellm.Scale = Vector3.new(1,1,1) | |
2565 | local shell2 = Instance.new("Part",torso) | |
2566 | - | shell2.BrickColor = BrickColor.new("New Yeller") |
2566 | + | shell2.BrickColor = BrickColor.new("Really black") |
2567 | shell2.Anchored = true | |
2568 | shell2.CanCollide = false | |
2569 | shell2.Locked = true | |
2570 | shell2.TopSurface = "SmoothNoOutlines" | |
2571 | shell2.BottomSurface = "SmoothNoOutlines" | |
2572 | shell2.Size = Vector3.new(1,1,1) | |
2573 | shellm2 = Instance.new("SpecialMesh",shell2) | |
2574 | shellm2.MeshType = "Sphere" | |
2575 | shellm2.Scale = Vector3.new(1,1,1) | |
2576 | ||
2577 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2578 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2579 | local List = {} | |
2580 | for i,v in pairs(workspace:GetChildren())do | |
2581 | if v:IsA("Model")then | |
2582 | if v:findFirstChild("Torso")then | |
2583 | if v ~= char then | |
2584 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2585 | table.insert(List,v) | |
2586 | end | |
2587 | end | |
2588 | end | |
2589 | end | |
2590 | end | |
2591 | return List | |
2592 | end | |
2593 | ||
2594 | Shell = function() | |
2595 | local X = Instance.new("Part",char) | |
2596 | local O = Instance.new("ObjectValue",X) | |
2597 | O.Name = "creator" | |
2598 | X.Locked = true | |
2599 | X.Name = "Shell" | |
2600 | X.Anchored = false | |
2601 | X.CanCollide = false | |
2602 | X.Transparency = 0 | |
2603 | X.Reflectance = 0 | |
2604 | X.BottomSurface = 0 | |
2605 | X.TopSurface = 0 | |
2606 | X.Shape = 0 | |
2607 | local V = Instance.new("ObjectValue",X) | |
2608 | V.Value = char | |
2609 | V.Name = "creator" | |
2610 | - | X.BrickColor = BrickColor.new("New Yeller") |
2610 | + | X.BrickColor = BrickColor.new("Really Black") |
2611 | X.Size = Vector3.new(1,1,1) | |
2612 | --X.Material = "Neon" | |
2613 | local Z = Instance.new("SpecialMesh",X) | |
2614 | Z.MeshType = "Sphere" | |
2615 | Z.Scale = Vector3.new(1,1,1) | |
2616 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2617 | local bv = Instance.new("BodyVelocity",X) | |
2618 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2619 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2620 | bv.velocity = root.CFrame.lookVector*65 | |
2621 | Explode = X.Touched:connect(function(hit) | |
2622 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2623 | local cf = X.CFrame | |
2624 | bv:Destroy() | |
2625 | X.Anchored = true | |
2626 | Z:Remove() | |
2627 | Explode:disconnect() | |
2628 | X.Size = Vector3.new(3,3,3) | |
2629 | X.Touched:connect(function(hit) end) | |
2630 | X.CanCollide = false | |
2631 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
2632 | if v:FindFirstChild('Humanoid') then | |
2633 | - | v.Humanoid:TakeDamage(math.random(6,12)) |
2633 | + | v.Humanoid:TakeDamage(math.random(99999999999996,999999999999912)) |
2634 | end | |
2635 | end | |
2636 | for i = 1, (40) do rs:wait() | |
2637 | X.Transparency = X.Transparency + (1/40) | |
2638 | X.Size = X.Size + Vector3.new(1,1,1) | |
2639 | X.CFrame = cf | |
2640 | end | |
2641 | X:Destroy() | |
2642 | end | |
2643 | end) | |
2644 | end | |
2645 | Shell() | |
2646 | for i = 1, 10 do | |
2647 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2648 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2649 | 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) | |
2650 | 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) | |
2651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
2652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
2653 | 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) | |
2654 | 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) | |
2655 | if Debounces.on == false then break end | |
2656 | rs:wait() | |
2657 | end | |
2658 | Shell() | |
2659 | shell.Transparency = 1 | |
2660 | for i = 1, 10 do | |
2661 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2662 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2663 | 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) | |
2664 | 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) | |
2665 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2666 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2667 | 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) | |
2668 | 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) | |
2669 | if Debounces.on == false then break end | |
2670 | rs:wait() | |
2671 | end | |
2672 | Shell() | |
2673 | shell.Transparency = 0 | |
2674 | shell2.Transparency = 1 | |
2675 | for i = 1, 10 do | |
2676 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2677 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2678 | 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) | |
2679 | 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) | |
2680 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2681 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2682 | 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) | |
2683 | 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) | |
2684 | if Debounces.on == false then break end | |
2685 | rs:wait() | |
2686 | end | |
2687 | Shell() | |
2688 | shell2.Transparency = 0 | |
2689 | shell.Transparency = 1 | |
2690 | for i = 1, 10 do | |
2691 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2692 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2693 | 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) | |
2694 | 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) | |
2695 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2696 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2697 | 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) | |
2698 | 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) | |
2699 | if Debounces.on == false then break end | |
2700 | rs:wait() | |
2701 | end | |
2702 | Shell() | |
2703 | shell.Transparency = 0 | |
2704 | shell2.Transparency = 1 | |
2705 | for i = 1, 10 do | |
2706 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2707 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2708 | 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) | |
2709 | 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) | |
2710 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2711 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2712 | 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) | |
2713 | 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) | |
2714 | if Debounces.on == false then break end | |
2715 | rs:wait() | |
2716 | end | |
2717 | Shell() | |
2718 | shell2.Transparency = 0 | |
2719 | shell.Transparency = 1 | |
2720 | for i = 1, 10 do | |
2721 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2722 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2723 | 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) | |
2724 | 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) | |
2725 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2727 | 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) | |
2728 | 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) | |
2729 | if Debounces.on == false then break end | |
2730 | rs:wait() | |
2731 | end | |
2732 | Shell() | |
2733 | shell.Transparency = 0 | |
2734 | shell2.Transparency = 1 | |
2735 | for i = 1, 10 do | |
2736 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2737 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2738 | 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) | |
2739 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
2740 | 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) | |
2741 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2742 | 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) | |
2743 | 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) | |
2744 | if Debounces.on == false then break end | |
2745 | rs:wait() | |
2746 | end | |
2747 | Shell() | |
2748 | shell2.Transparency = 0 | |
2749 | shell.Transparency = 1 | |
2750 | for i = 1, 10 do | |
2751 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2752 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2753 | 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) | |
2754 | 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) | |
2755 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2757 | 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) | |
2758 | 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) | |
2759 | if Debounces.on == false then break end | |
2760 | rs:wait() | |
2761 | end | |
2762 | Shell() | |
2763 | shell.Transparency = 0 | |
2764 | shell2.Transparency = 1 | |
2765 | for i = 1, 10 do | |
2766 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2767 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2768 | 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) | |
2769 | 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) | |
2770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2772 | 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) | |
2773 | 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) | |
2774 | if Debounces.on == false then break end | |
2775 | rs:wait() | |
2776 | end | |
2777 | Shell() | |
2778 | shell2.Transparency = 0 | |
2779 | shell.Transparency = 1 | |
2780 | for i = 1, 10 do | |
2781 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2782 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2783 | 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) | |
2784 | 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) | |
2785 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2786 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2787 | 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) | |
2788 | 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) | |
2789 | if Debounces.on == false then break end | |
2790 | rs:wait() | |
2791 | end | |
2792 | Shell() | |
2793 | shell.Transparency = 0 | |
2794 | shell2.Transparency = 1 | |
2795 | for i = 1, 10 do | |
2796 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2797 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2798 | 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) | |
2799 | 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) | |
2800 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2801 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2802 | 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) | |
2803 | 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) | |
2804 | if Debounces.on == false then break end | |
2805 | rs:wait() | |
2806 | end | |
2807 | Shell() | |
2808 | shell2.Transparency = 0 | |
2809 | shell.Transparency = 1 | |
2810 | for i = 1, 10 do | |
2811 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2812 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2813 | 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) | |
2814 | 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) | |
2815 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2816 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2817 | 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) | |
2818 | 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) | |
2819 | if Debounces.on == false then break end | |
2820 | rs:wait() | |
2821 | end | |
2822 | Shell() | |
2823 | shell.Transparency = 0 | |
2824 | shell2.Transparency = 1 | |
2825 | for i = 1, 10 do | |
2826 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2827 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2828 | 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) | |
2829 | 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) | |
2830 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2831 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2832 | 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) | |
2833 | 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) | |
2834 | if Debounces.on == false then break end | |
2835 | rs:wait() | |
2836 | end | |
2837 | shell.Transparency = 1 | |
2838 | if Debounces.CanAttack == false then | |
2839 | Debounces.CanAttack = true | |
2840 | Debounces.NoIdl = false | |
2841 | Debounces.on = false | |
2842 | end | |
2843 | end | |
2844 | end | |
2845 | end) | |
2846 | ---------------------------------------------------- | |
2847 | Search = false | |
2848 | mouse.KeyDown:connect(function(key) | |
2849 | if key == "n" then | |
2850 | if Search == false then | |
2851 | Search = true | |
2852 | for i,v in pairs(game.Players:getPlayers()) do | |
2853 | if v.Name~=char.Name then | |
2854 | for j,k in pairs(v.Character:GetChildren()) do | |
2855 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
2856 | bawx=Instance.new("SelectionBox",cam) | |
2857 | bawx.Color = BrickColor.new("Bright red") | |
2858 | bawx.Transparency = .5 | |
2859 | bawx.Adornee = k | |
2860 | end | |
2861 | end | |
2862 | end | |
2863 | end | |
2864 | elseif Search == true then | |
2865 | Search = false | |
2866 | for i, v in pairs(cam:GetChildren()) do | |
2867 | if v:IsA("SelectionBox") then | |
2868 | v:Destroy() | |
2869 | end | |
2870 | end | |
2871 | end | |
2872 | end | |
2873 | end) | |
2874 | ---------------------------------------------------- | |
2875 | Grab = false | |
2876 | mouse.KeyDown:connect(function(key) | |
2877 | if key == "z" then | |
2878 | Debounces.on = true | |
2879 | Debounces.NoIdl = true | |
2880 | Debounces.ks = true | |
2881 | if Grab == false then | |
2882 | gp = nil | |
2883 | for i = 1, 20 do | |
2884 | 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) | |
2885 | 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) | |
2886 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2887 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2888 | 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) | |
2889 | 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) | |
2890 | if Debounces.on == false then break end | |
2891 | rs:wait() | |
2892 | end | |
2893 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2894 | ht = hit.Parent | |
2895 | hum1=ht:FindFirstChild('Humanoid') | |
2896 | if hum1 ~= nil then | |
2897 | if Debounces.ks==true then | |
2898 | z = Instance.new("Sound",hed) | |
2899 | z.SoundId = "rbxassetid://169380525" | |
2900 | z.Volume = 1 | |
2901 | z:Play() | |
2902 | Debounces.ks=false | |
2903 | end | |
2904 | hum1.PlatformStand=true | |
2905 | gp = ht | |
2906 | Grab = true | |
2907 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
2908 | asd.Parent = larm | |
2909 | asd.Name = "asd" | |
2910 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
2911 | --[[elseif hum1 == nil then | |
2912 | con1:disconnect() | |
2913 | wait() return]]-- | |
2914 | end | |
2915 | end) | |
2916 | for i = 1, 20 do | |
2917 | 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) | |
2918 | 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) | |
2919 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2920 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2921 | 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) | |
2922 | 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) | |
2923 | if Debounces.on == false then break end | |
2924 | rs:wait() | |
2925 | end | |
2926 | if hum1 == nil then | |
2927 | Debounces.on = false | |
2928 | Debounces.NoIdl = false | |
2929 | end | |
2930 | con1:disconnect() | |
2931 | elseif Grab == true then | |
2932 | Grab = false | |
2933 | Punch() | |
2934 | z = Instance.new("Sound",hed) | |
2935 | z.SoundId = "rbxassetid://169380525" | |
2936 | z.Pitch = ptz[math.random(1,#ptz)] | |
2937 | z.Volume = 1 | |
2938 | z:Play() | |
2939 | for i = 1, 10 do | |
2940 | 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) | |
2941 | 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) | |
2942 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2943 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2944 | 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) | |
2945 | 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) | |
2946 | if Debounces.on == false then break end | |
2947 | rs:wait() | |
2948 | end | |
2949 | Punch() | |
2950 | z = Instance.new("Sound",hed) | |
2951 | z.SoundId = "rbxassetid://169380525" | |
2952 | z.Pitch = ptz[math.random(1,#ptz)] | |
2953 | z.Volume = 1 | |
2954 | z:Play() | |
2955 | for i = 1, 10 do | |
2956 | 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) | |
2957 | 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) | |
2958 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2959 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2960 | 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) | |
2961 | 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) | |
2962 | if Debounces.on == false then break end | |
2963 | rs:wait() | |
2964 | end | |
2965 | Punch() | |
2966 | z = Instance.new("Sound",hed) | |
2967 | z.SoundId = "rbxassetid://169380525" | |
2968 | z.Pitch = ptz[math.random(1,#ptz)] | |
2969 | z.Volume = 1 | |
2970 | z:Play() | |
2971 | for i = 1, 10 do | |
2972 | 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) | |
2973 | 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) | |
2974 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2975 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2976 | 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) | |
2977 | 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) | |
2978 | if Debounces.on == false then break end | |
2979 | rs:wait() | |
2980 | end | |
2981 | Punch() | |
2982 | z = Instance.new("Sound",hed) | |
2983 | z.SoundId = "rbxassetid://169380525" | |
2984 | z.Pitch = ptz[math.random(1,#ptz)] | |
2985 | z.Volume = 1 | |
2986 | z:Play() | |
2987 | for i = 1, 10 do | |
2988 | 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) | |
2989 | 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) | |
2990 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2991 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2992 | 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) | |
2993 | 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) | |
2994 | if Debounces.on == false then break end | |
2995 | rs:wait() | |
2996 | end | |
2997 | Punch() | |
2998 | z = Instance.new("Sound",hed) | |
2999 | z.SoundId = "rbxassetid://169380525" | |
3000 | z.Pitch = ptz[math.random(1,#ptz)] | |
3001 | z.Volume = 1 | |
3002 | z:Play() | |
3003 | for i = 1, 10 do | |
3004 | 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) | |
3005 | 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) | |
3006 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3007 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3008 | 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) | |
3009 | 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) | |
3010 | if Debounces.on == false then break end | |
3011 | rs:wait() | |
3012 | end | |
3013 | Punch() | |
3014 | z = Instance.new("Sound",hed) | |
3015 | z.SoundId = "rbxassetid://169380525" | |
3016 | z.Pitch = ptz[math.random(1,#ptz)] | |
3017 | z.Volume = 1 | |
3018 | z:Play() | |
3019 | for i = 1, 10 do | |
3020 | 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) | |
3021 | 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) | |
3022 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3023 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3024 | 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) | |
3025 | 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) | |
3026 | if Debounces.on == false then break end | |
3027 | rs:wait() | |
3028 | end | |
3029 | Punch() | |
3030 | z = Instance.new("Sound",hed) | |
3031 | z.SoundId = "rbxassetid://169380525" | |
3032 | z.Pitch = ptz[math.random(1,#ptz)] | |
3033 | z.Volume = 1 | |
3034 | z:Play() | |
3035 | for i = 1, 10 do | |
3036 | 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) | |
3037 | 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) | |
3038 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3039 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3040 | 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) | |
3041 | 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) | |
3042 | if Debounces.on == false then break end | |
3043 | rs:wait() | |
3044 | end | |
3045 | Punch() | |
3046 | z = Instance.new("Sound",hed) | |
3047 | z.SoundId = "rbxassetid://169380525" | |
3048 | z.Pitch = ptz[math.random(1,#ptz)] | |
3049 | z.Volume = 1 | |
3050 | z:Play() | |
3051 | for i = 1, 10 do | |
3052 | 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) | |
3053 | 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) | |
3054 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3055 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3056 | 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) | |
3057 | 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) | |
3058 | if Debounces.on == false then break end | |
3059 | rs:wait() | |
3060 | end | |
3061 | Punch() | |
3062 | z = Instance.new("Sound",hed) | |
3063 | z.SoundId = "rbxassetid://169380525" | |
3064 | z.Pitch = ptz[math.random(1,#ptz)] | |
3065 | z.Volume = 1 | |
3066 | z:Play() | |
3067 | for i = 1, 10 do | |
3068 | 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) | |
3069 | 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) | |
3070 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3071 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3072 | 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) | |
3073 | 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) | |
3074 | if Debounces.on == false then break end | |
3075 | rs:wait() | |
3076 | end | |
3077 | Punch() | |
3078 | z = Instance.new("Sound",hed) | |
3079 | z.SoundId = "rbxassetid://169380525" | |
3080 | z.Pitch = ptz[math.random(1,#ptz)] | |
3081 | z.Volume = 1 | |
3082 | z:Play() | |
3083 | for i = 1, 10 do | |
3084 | 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) | |
3085 | 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) | |
3086 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3087 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3088 | 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) | |
3089 | 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) | |
3090 | if Debounces.on == false then break end | |
3091 | rs:wait() | |
3092 | end | |
3093 | Punch() | |
3094 | z = Instance.new("Sound",hed) | |
3095 | z.SoundId = "rbxassetid://169380525" | |
3096 | z.Pitch = ptz[math.random(1,#ptz)] | |
3097 | z.Volume = 1 | |
3098 | z:Play() | |
3099 | for i = 1, 10 do | |
3100 | 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) | |
3101 | 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) | |
3102 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3103 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3104 | 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) | |
3105 | 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) | |
3106 | if Debounces.on == false then break end | |
3107 | rs:wait() | |
3108 | end | |
3109 | Punch() | |
3110 | z = Instance.new("Sound",hed) | |
3111 | z.SoundId = "rbxassetid://169380525" | |
3112 | z.Pitch = ptz[math.random(1,#ptz)] | |
3113 | z.Volume = 1 | |
3114 | z:Play() | |
3115 | for i = 1, 10 do | |
3116 | 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) | |
3117 | 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) | |
3118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3120 | 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) | |
3121 | 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) | |
3122 | if Debounces.on == false then break end | |
3123 | rs:wait() | |
3124 | end | |
3125 | con1:disconnect() | |
3126 | Debounces.on = false | |
3127 | Debounces.NoIdl = false | |
3128 | if gp ~= nil then | |
3129 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3130 | for i,v in pairs(larm:GetChildren()) do | |
3131 | if v.Name == "asd" and v:IsA("Weld") then | |
3132 | v:Remove() | |
3133 | end | |
3134 | end | |
3135 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3136 | - | bv.maxForce = Vector3.new(400000, 400000, 400000) |
3136 | + | bv.maxForce = Vector3.new(9999999999999400000, 9999999999999400000, 9999999999999400000) |
3137 | bv.P = 125000 | |
3138 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3139 | hum1=nil | |
3140 | ht=nil | |
3141 | Debounces.on = false | |
3142 | Debounces.NoIdl = false | |
3143 | elseif ht == nil then wait() | |
3144 | Grab = false | |
3145 | Debounces.on = false | |
3146 | Debounces.NoIdl = false | |
3147 | end | |
3148 | end | |
3149 | end | |
3150 | end) | |
3151 | ---------------------------------------------------- | |
3152 | mouse.KeyDown:connect(function(key) | |
3153 | if string.byte(key) == 52 then | |
3154 | char.Humanoid.WalkSpeed = 60 | |
3155 | end | |
3156 | end) | |
3157 | mouse.KeyUp:connect(function(key) | |
3158 | if string.byte(key) == 52 then | |
3159 | char.Humanoid.WalkSpeed = 8 | |
3160 | end | |
3161 | end) | |
3162 | ------------------------------- | |
3163 | local animpose = "Idle" | |
3164 | local lastanimpose = "Idle" | |
3165 | local sine = 0 | |
3166 | local change = 1 | |
3167 | local val = 0 | |
3168 | local ffing = false | |
3169 | ------------------------------- | |
3170 | game:GetService("RunService").RenderStepped:connect(function() | |
3171 | --[[if char.Humanoid.Jump == true then | |
3172 | jump = true | |
3173 | else | |
3174 | jump = false | |
3175 | end]] | |
3176 | char.Humanoid.FreeFalling:connect(function(f) | |
3177 | if f then | |
3178 | ffing = true | |
3179 | else | |
3180 | ffing = false | |
3181 | end | |
3182 | end) | |
3183 | sine = sine + change | |
3184 | if jumpn == true then | |
3185 | animpose = "Jumping" | |
3186 | elseif ffing == true then | |
3187 | animpose = "Freefalling" | |
3188 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3189 | animpose = "Idle" | |
3190 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3191 | animpose = "Walking" | |
3192 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3193 | animpose = "Running" | |
3194 | end | |
3195 | if animpose ~= lastanimpose then | |
3196 | sine = 0 | |
3197 | if Debounces.NoIdl == false then | |
3198 | if animpose == "Idle" then | |
3199 | for i = 1, 2 do | |
3200 | 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) | |
3201 | 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) | |
3202 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3204 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3205 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3206 | end | |
3207 | elseif animpose == "Walking" then | |
3208 | for i = 1, 2 do | |
3209 | 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) | |
3210 | 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) | |
3211 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3212 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3213 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3214 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3215 | end | |
3216 | elseif animpose == "Running" then | |
3217 | for i = 1, 2 do | |
3218 | 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) | |
3219 | 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) | |
3220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3222 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3223 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3224 | wait() | |
3225 | end | |
3226 | end | |
3227 | else | |
3228 | end | |
3229 | end | |
3230 | lastanimpose = animpose | |
3231 | if Debounces.NoIdl == false then | |
3232 | if animpose == "Idle" then | |
3233 | change = 0.5 | |
3234 | 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) | |
3235 | 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) | |
3236 | 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) | |
3237 | 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) | |
3238 | 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) | |
3239 | 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) | |
3240 | elseif animpose == "Walking" then | |
3241 | change = 1 | |
3242 | 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) | |
3243 | 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) | |
3244 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3245 | 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) | |
3246 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3247 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3248 | elseif animpose == "Running" then | |
3249 | change = 1 | |
3250 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
3251 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
3252 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3253 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
3254 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
3255 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
3256 | end | |
3257 | end | |
3258 | end) | |
3259 | ||
3260 | - | hum.MaxHealth = 9001 |
3260 | + | hum.MaxHealth = 9001999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 |
3261 | wait(3) | |
3262 | - | hum.Health = 9001 |
3262 | + | hum.Health = 9001999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 |
3263 | ||
3264 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3265 | --[[Part0 = Vector3 (Start pos) | |
3266 | Part1 = Vector3 (End pos) | |
3267 | Times = number (Amount of lightning parts) | |
3268 | Offset = number (Offset) | |
3269 | Color = color (brickcolor value) | |
3270 | Thickness = number (thickness) | |
3271 | Trans = number (transparency) | |
3272 | ]]-- | |
3273 | local magz = (Part0 - Part1).magnitude | |
3274 | local curpos = Part0 | |
3275 | local trz = {-Offset,Offset} | |
3276 | for i=1,Times do | |
3277 | local li = Instance.new("Part", torso) | |
3278 | li.Name = "Lightning" | |
3279 | li.TopSurface =0 | |
3280 | li.Material = "Neon" | |
3281 | li.BottomSurface = 0 | |
3282 | li.Anchored = true | |
3283 | li.Locked = true | |
3284 | li.Transparency = Trans or 0.4 | |
3285 | li.BrickColor = BrickColor.new(Color) | |
3286 | li.formFactor = "Custom" | |
3287 | li.CanCollide = false | |
3288 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3289 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3290 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3291 | if Times == i then | |
3292 | local magz2 = (curpos - Part1).magnitude | |
3293 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3294 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3295 | else | |
3296 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3297 | end | |
3298 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3299 | game.Debris:AddItem(li,.1) | |
3300 | end | |
3301 | end | |
3302 | ||
3303 | BodyParts = {} -- Parts to emit lightning effects from | |
3304 | for _, v in pairs(char:GetChildren()) do | |
3305 | if v:IsA("Part") then | |
3306 | table.insert(BodyParts, v) | |
3307 | end | |
3308 | end | |
3309 | ||
3310 | Bounding = {} -- Calculate the bounding boxes | |
3311 | for _, v in pairs(BodyParts) do | |
3312 | local temp = {X=nil, Y=nil, Z=nil} | |
3313 | temp.X = v.Size.X/2 * 10 | |
3314 | temp.Y = v.Size.Y/2 * 10 | |
3315 | temp.Z = v.Size.Z/2 * 10 | |
3316 | Bounding[v.Name] = temp | |
3317 | --table.insert(Bounding, v.Name, temp) | |
3318 | end | |
3319 | ||
3320 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
3321 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3322 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3323 | local Pos1 = Vector3.new( | |
3324 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3325 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3326 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3327 | ) | |
3328 | local Pos2 = Vector3.new( | |
3329 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3330 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3331 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3332 | ) | |
3333 | local SPos1 = Body1.Position + Pos1 | |
3334 | local SPos2 = Body2.Position + Pos2 | |
3335 | - | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) |
3335 | + | Lightning(SPos1, SPos2, 4, 3, "Really black", .3, .56) |
3336 | end |