SHOW:
|
|
- or go back to the newest paste.
1 | wait(2.0) | |
2 | local char = game.Players.LocalPlayer.Character | |
3 | for i,v in pairs(char:children()) do | |
4 | if v:IsA("Accessory") then | |
5 | v:Destroy() | |
6 | end | |
7 | end | |
8 | local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso) | |
9 | aura.Size = NumberSequence.new(0) | |
10 | aura.Lifetime = NumberRange.new(0) | |
11 | aura.LightEmission = 0 | |
12 | local jun = game.Players.LocalPlayer | |
13 | local p = game.Players.LocalPlayer | |
14 | local char = p.Character | |
15 | local mouse = p:GetMouse() | |
16 | local larm = char["Left Arm"] | |
17 | local rarm = char["Right Arm"] | |
18 | local lleg = char["Left Leg"] | |
19 | local rleg = char["Right Leg"] | |
20 | local hed = char.Head | |
21 | local torso = char.Torso | |
22 | local hum = char.Humanoid | |
23 | local cam = game.Workspace.CurrentCamera | |
24 | local root = char.HumanoidRootPart | |
25 | local deb = false | |
26 | local shot = 0 | |
27 | local debris=game:service"Debris" | |
28 | local l = game:GetService("Lighting") | |
29 | local rs = game:GetService("RunService").RenderStepped | |
30 | ||
31 | ypcall(function() | |
32 | shirt = Instance.new("Shirt", char) | |
33 | shirt.Name = "Shirt" | |
34 | pants = Instance.new("Pants", char) | |
35 | pants.Name = "Pants" | |
36 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" | |
37 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" | |
38 | end) | |
39 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
40 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
41 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
42 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
43 | Hair99 = Instance.new("Part") | |
44 | ||
45 | Hair99.Parent = jun.Character | |
46 | Hair99.Name = "Hair" | |
47 | Hair99.formFactor = "Symmetric" | |
48 | Hair99.Size = Vector3.new(1, 1, 1) | |
49 | Hair99.CFrame = jun.Character.Head.CFrame | |
50 | Hair99:BreakJoints() | |
51 | Hair99.CanCollide = false | |
52 | Hair99.TopSurface = "Smooth" | |
53 | Hair99.BottomSurface = "Smooth" | |
54 | Hair99.BrickColor = BrickColor.new("Recarnation Pink") | |
55 | - | Hair99.BrickColor = BrickColor.new("New Yeller") |
55 | + | |
56 | ||
57 | Weld = Instance.new("Weld") | |
58 | Weld.Part0 = jun.Character.Head | |
59 | Weld.Part1 = Hair99 | |
60 | Weld.Parent = jun.Character.Head | |
61 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
62 | ||
63 | Hair7 = Instance.new("Part") | |
64 | Hair7.Parent = jun.Character | |
65 | Hair7.Name = "Hair" | |
66 | Hair7.CanCollide = false | |
67 | Hair7.Locked = true | |
68 | Hair7.TopSurface = "Smooth" | |
69 | Hair7.BottomSurface = "Smooth" | |
70 | Hair7.formFactor = "Symmetric" | |
71 | Hair7.Material = "Neon" | |
72 | Hair7.BrickColor = BrickColor.new("Cyan") | |
73 | - | Hair7.BrickColor = BrickColor.new("Black") |
73 | + | |
74 | Hair7.Size = Vector3.new(1, 1, 1) | |
75 | Hair7.Transparency = 1 | |
76 | ||
77 | Mesh = Instance.new("SpecialMesh") | |
78 | Mesh.Parent = Hair99 | |
79 | Mesh.MeshType = "Sphere" | |
80 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
81 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
82 | ||
83 | ||
84 | Weld = Instance.new("Weld") | |
85 | Weld.Parent = jun.Character.Head | |
86 | Weld.Part0 = jun.Character.Head | |
87 | Weld.Part1 = Hair7 | |
88 | Weld.C0 = CFrame.new(0, 1, 0) | |
89 | ||
90 | Mesh = Instance.new("SpecialMesh") | |
91 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
92 | Mesh.Parent = Hair7 | |
93 | Mesh.Scale = Vector3.new(1, 1, 1) | |
94 | Mesh.MeshType = "FileMesh" | |
95 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
96 | Mesh.TextureId = "" | |
97 | ||
98 | ||
99 | for i = 1, 6 do | |
100 | Hair99.Transparency = Hair99.Transparency - .2 | |
101 | Hair7.Transparency = Hair7.Transparency - .2 | |
102 | wait(0) | |
103 | end | |
104 | local m = Instance.new("Model") | |
105 | game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://0" | |
106 | local p = game.Players.LocalPlayer | |
107 | local char = p.Character | |
108 | local mouse = p:GetMouse() | |
109 | local larm = char["Left Arm"] | |
110 | local rarm = char["Right Arm"] | |
111 | local lleg = char["Left Leg"] | |
112 | local rleg = char["Right Leg"] | |
113 | local hed = char.Head | |
114 | local torso = char.Torso | |
115 | local hum = char.Humanoid | |
116 | local cam = game.Workspace.CurrentCamera | |
117 | local root = char.HumanoidRootPart | |
118 | local deb = false | |
119 | local shot = 0 | |
120 | local debris=game:service"Debris" | |
121 | local l = game:GetService("Lighting") | |
122 | local rs = game:GetService("RunService").RenderStepped | |
123 | ||
124 | ||
125 | local p = game.Players.LocalPlayer | |
126 | local char = p.Character | |
127 | Vegeta = Instance.new("Model",game.Players.LocalPlayer.Character.Torso) | |
128 | Vegeta.Name = "Vegeta" | |
129 | humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
130 | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
131 | shirt.Name = "Shirt" | |
132 | pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
133 | pants.Name = "Pants" | |
134 | torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
135 | torso.Size = Vector3.new(2,2,1) | |
136 | torso.Rotation = Vector3.new(0,180,0) | |
137 | torso.Position = Vector3.new(0,4,0) | |
138 | torso.BrickColor = BrickColor.new("Pastel brown") | |
139 | torso.Name = "Torso" | |
140 | head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
141 | head.Size = Vector3.new(1.25,1.25,1.25) | |
142 | head.BrickColor = BrickColor.new("Pastel brown") | |
143 | head.Name = "Head" | |
144 | head.Position = Vector3.new(0,6,0) | |
145 | headmesh = Instance.new("SpecialMesh",head) | |
146 | headmesh.MeshType = "Head" | |
147 | larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
148 | larm.Size = Vector3.new(1,2,1) | |
149 | larm.BrickColor = BrickColor.new("Pastel brown") | |
150 | larm.Name = "Left Arm" | |
151 | larm.Position = Vector3.new(-2,4,0) | |
152 | rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
153 | rarm.Size = Vector3.new(1,2,1) | |
154 | rarm.BrickColor = BrickColor.new("Pastel brown") | |
155 | rarm.Name = "Right Arm" | |
156 | rarm.Position = Vector3.new(2,4,0) | |
157 | lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
158 | lleg.Size = Vector3.new(1,2,1) | |
159 | lleg.Name = "Left Leg" | |
160 | lleg.Position = Vector3.new(1,2,0) | |
161 | rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
162 | rleg.Size = Vector3.new(1,2,1) | |
163 | rleg.Name = "Right Leg" | |
164 | rleg.Position = Vector3.new(-1,2,0) | |
165 | headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Head) | |
166 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
167 | headweld.Part1 = torso | |
168 | headweld.C0 = CFrame.new(0, -1.5, 0) | |
169 | larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso) | |
170 | larmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
171 | larmweld.Part1 = larm | |
172 | larmweld.C0 = CFrame.new(1.5, 0, 0) | |
173 | rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso) | |
174 | rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
175 | rarmweld.Part1 = rarm | |
176 | rarmweld.C0 = CFrame.new(-1.5, 0, 0) | |
177 | rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso) | |
178 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
179 | rlegweld.Part1 = rleg | |
180 | rlegweld.C0 = CFrame.new(-0.5, -2, 0) | |
181 | llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso) | |
182 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
183 | llegweld.Part1 = lleg | |
184 | llegweld.C0 = CFrame.new(0.5, -2, 0) | |
185 | modelhair = Instance.new("Model",game.Players.LocalPlayer.Character.Torso.Vegeta) | |
186 | modelhair.Name = "Hair" | |
187 | hair = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair) | |
188 | hair.Name = "hair" | |
189 | hair.BrickColor = BrickColor.new("Black") | |
190 | hairmesh = Instance.new("SpecialMesh",hair) | |
191 | hairmesh.Scale = Vector3.new(7,7,7) | |
192 | hairmesh.Offset = Vector3.new(0, 0.8, 0.7) | |
193 | hairmesh.MeshType = "FileMesh" | |
194 | hairmesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
195 | hairweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair) | |
196 | hairweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
197 | hairweld.Part1 = hair | |
198 | hairweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
199 | npctoplayer = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso) | |
200 | npctoplayer.Part0 = game.Players.LocalPlayer.Character.Torso | |
201 | npctoplayer.Part1 = torso | |
202 | npctoplayer.C0 = CFrame.new(0, 0, -10) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
203 | game.Players.LocalPlayer.Character.Torso.Vegeta.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268667762" | |
204 | game.Players.LocalPlayer.Character.Torso.Vegeta.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268667843" | |
205 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"CMON VEGETA FUSION NOW","Red") | |
206 | wait(2.0) | |
207 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Put The Ear Ring On Ur Right Ear","Red") | |
208 | wait(2.0) | |
209 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,".....","Red") | |
210 | wait(0.8) | |
211 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"WOOOOOOOO","Red") | |
212 | local close = -10 | |
213 | for i=1,10 do | |
214 | wait(0.2) | |
215 | close = close + 1 | |
216 | npctoplayer.C0 = CFrame.new(0, 0, close) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) | |
217 | end | |
218 | game.Players.LocalPlayer.Character.Torso.Vegeta:Destroy() | |
219 | wait(0.1) | |
220 | ||
221 | ||
222 | ||
223 | ||
224 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
225 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
226 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
227 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
228 | local p = game.Players.LocalPlayer | |
229 | local char = p.Character | |
230 | local mouse = p:GetMouse() | |
231 | local larm = char["Left Arm"] | |
232 | local rarm = char["Right Arm"] | |
233 | local lleg = char["Left Leg"] | |
234 | local rleg = char["Right Leg"] | |
235 | local hed = char.Head | |
236 | local torso = char.Torso | |
237 | local hum = char.Humanoid | |
238 | local cam = game.Workspace.CurrentCamera | |
239 | local root = char.HumanoidRootPart | |
240 | local deb = false | |
241 | local shot = 0 | |
242 | local debris=game:service"Debris" | |
243 | local l = game:GetService("Lighting") | |
244 | local rs = game:GetService("RunService").RenderStepped | |
245 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
246 | function lerp(a, b, t) -- Linear interpolation | |
247 | return a + (b - a)*t | |
248 | end | |
249 | ||
250 | function slerp(a, b, t) --Spherical interpolation | |
251 | dot = a:Dot(b) | |
252 | if dot > 0.99999 or dot < -0.99999 then | |
253 | return t <= 0.5 and a or b | |
254 | else | |
255 | r = math.acos(dot) | |
256 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
257 | end | |
258 | end | |
259 | function matrixInterpolate(a, b, t) | |
260 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
261 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
262 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
263 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
264 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
265 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
266 | local t = v1:Dot(v2) | |
267 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
268 | return CFrame.new() | |
269 | end | |
270 | return CFrame.new( | |
271 | v0.x, v0.y, v0.z, | |
272 | v1.x, v1.y, v1.z, | |
273 | v2.x, v2.y, v2.z, | |
274 | v3.x, v3.y, v3.z) | |
275 | end | |
276 | ---------------------------------------------------- | |
277 | function genWeld(a,b) | |
278 | local w = Instance.new("Weld",a) | |
279 | w.Part0 = a | |
280 | w.Part1 = b | |
281 | return w | |
282 | end | |
283 | function weld(a, b) | |
284 | local weld = Instance.new("Weld") | |
285 | weld.Name = "W" | |
286 | weld.Part0 = a | |
287 | weld.Part1 = b | |
288 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
289 | weld.Parent = a | |
290 | return weld; | |
291 | end | |
292 | ---------------------------------------------------- | |
293 | function Lerp(c1,c2,al) | |
294 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
295 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
296 | for i,v in pairs(com1) do | |
297 | com1[i] = v+(com2[i]-v)*al | |
298 | end | |
299 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
300 | end | |
301 | ---------------------------------------------------- | |
302 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
303 | local wld = Instance.new("Weld", wp1) | |
304 | wld.Part0 = wp0 | |
305 | wld.Part1 = wp1 | |
306 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
307 | end | |
308 | ---------------------------------------------------- | |
309 | function weld5(part0, part1, c0, c1) | |
310 | weeld=Instance.new("Weld", part0) | |
311 | weeld.Part0=part0 | |
312 | weeld.Part1=part1 | |
313 | weeld.C0=c0 | |
314 | weeld.C1=c1 | |
315 | return weeld | |
316 | end | |
317 | ---------------------------------------------------- | |
318 | function HasntTouched(plrname) | |
319 | local ret = true | |
320 | for _, v in pairs(Touche) do | |
321 | if v == plrname then | |
322 | ret = false | |
323 | end | |
324 | end | |
325 | return ret | |
326 | end | |
327 | newWeld(torso, larm, -1.5, 0.5, 0) | |
328 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
329 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
330 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
331 | newWeld(torso, hed, 0, 1.5, 0) | |
332 | newWeld(torso, lleg, -0.5, -1, 0) | |
333 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
334 | newWeld(torso, rleg, 0.5, -1, 0) | |
335 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
336 | newWeld(root, torso, 0, -1, 0) | |
337 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
338 | ||
339 | ---------------------------------------------------- | |
340 | local p = game.Players.LocalPlayer | |
341 | local char = p.Character | |
342 | local mouse = p:GetMouse() | |
343 | local larm = char["Left Arm"] | |
344 | local rarm = char["Right Arm"] | |
345 | local lleg = char["Left Leg"] | |
346 | local rleg = char["Right Leg"] | |
347 | local hed = char.Head | |
348 | local torso = char.Torso | |
349 | local hum = char.Humanoid | |
350 | local cam = game.Workspace.CurrentCamera | |
351 | local root = char.HumanoidRootPart | |
352 | local deb = false | |
353 | local shot = 0 | |
354 | local debris=game:service"Debris" | |
355 | local l = game:GetService("Lighting") | |
356 | local rs = game:GetService("RunService").RenderStepped | |
357 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
358 | math.randomseed(os.time()) | |
359 | for i,v in pairs(char:children()) do | |
360 | if v:IsA("Hat") then | |
361 | v:Destroy() | |
362 | end | |
363 | end | |
364 | for i,v in pairs (hed:GetChildren()) do | |
365 | if v:IsA("Sound") then | |
366 | v:Destroy() | |
367 | end | |
368 | end | |
369 | ---------------------------------------------------- | |
370 | Debounces = { | |
371 | CanAttack = true; | |
372 | NoIdl = false; | |
373 | Slashing = false; | |
374 | Slashed = false; | |
375 | RPunch = false; | |
376 | RPunched = false; | |
377 | LPunch = false; | |
378 | LPunched = false; | |
379 | } | |
380 | local Touche = {char.Name, } | |
381 | ---------------------------------------------------- | |
382 | ||
383 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
384 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
385 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
386 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
387 | ---------------------------------------------------- | |
388 | ||
389 | ---------------------------------------------------- | |
390 | function lerp(a, b, t) -- Linear interpolation | |
391 | return a + (b - a)*t | |
392 | end | |
393 | ||
394 | function slerp(a, b, t) --Spherical interpolation | |
395 | dot = a:Dot(b) | |
396 | if dot > 0.99999 or dot < -0.99999 then | |
397 | return t <= 0.5 and a or b | |
398 | else | |
399 | r = math.acos(dot) | |
400 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
401 | end | |
402 | end | |
403 | ||
404 | function matrixInterpolate(a, b, t) | |
405 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
406 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
407 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
408 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
409 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
410 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
411 | local t = v1:Dot(v2) | |
412 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
413 | return CFrame.new() | |
414 | end | |
415 | return CFrame.new( | |
416 | v0.x, v0.y, v0.z, | |
417 | v1.x, v1.y, v1.z, | |
418 | v2.x, v2.y, v2.z, | |
419 | v3.x, v3.y, v3.z) | |
420 | end | |
421 | ---------------------------------------------------- | |
422 | function genWeld(a,b) | |
423 | local w = Instance.new("Weld",a) | |
424 | w.Part0 = a | |
425 | w.Part1 = b | |
426 | return w | |
427 | end | |
428 | function weld(a, b) | |
429 | local weld = Instance.new("Weld") | |
430 | weld.Name = "W" | |
431 | weld.Part0 = a | |
432 | weld.Part1 = b | |
433 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
434 | weld.Parent = a | |
435 | return weld; | |
436 | end | |
437 | ---------------------------------------------------- | |
438 | function Lerp(c1,c2,al) | |
439 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
440 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
441 | for i,v in pairs(com1) do | |
442 | com1[i] = v+(com2[i]-v)*al | |
443 | end | |
444 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
445 | end | |
446 | ---------------------------------------------------- | |
447 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
448 | local wld = Instance.new("Weld", wp1) | |
449 | wld.Part0 = wp0 | |
450 | wld.Part1 = wp1 | |
451 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
452 | end | |
453 | ---------------------------------------------------- | |
454 | function weld5(part0, part1, c0, c1) | |
455 | weeld=Instance.new("Weld", part0) | |
456 | weeld.Part0=part0 | |
457 | weeld.Part1=part1 | |
458 | weeld.C0=c0 | |
459 | weeld.C1=c1 | |
460 | return weeld | |
461 | end | |
462 | ---------------------------------------------------- | |
463 | function HasntTouched(plrname) | |
464 | local ret = true | |
465 | for _, v in pairs(Touche) do | |
466 | if v == plrname then | |
467 | ret = false | |
468 | end | |
469 | end | |
470 | return ret | |
471 | end | |
472 | ---------------------------------------------------- | |
473 | ||
474 | ---------------------------------------------------- | |
475 | ||
476 | ---------------------------------------------------- | |
477 | local Transforming = true | |
478 | hum.WalkSpeed = 0 | |
479 | pt=Instance.new('Part',torso) | |
480 | pt.Anchored=true | |
481 | pt.CanCollide=false | |
482 | pt.Locked = true | |
483 | pt.FormFactor='Custom' | |
484 | pt.Size=Vector3.new(1,1,1) | |
485 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
486 | pt.Transparency=.6 | |
487 | pt.BrickColor=BrickColor.new('White') | |
488 | msh=Instance.new('SpecialMesh',pt) | |
489 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
490 | msh.Scale=Vector3.new(8,4,8) | |
491 | pt2=pt:clone() | |
492 | pt2.Parent = torso | |
493 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
494 | pt2.BrickColor=BrickColor.new("White") | |
495 | msh2=msh:clone() | |
496 | msh2.Parent=pt2 | |
497 | msh2.Scale=Vector3.new(10,5,10) | |
498 | ||
499 | 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} | |
500 | ||
501 | bl = Instance.new("Part", char) | |
502 | bl.Locked = true | |
503 | bl.Name = "Shell" | |
504 | bl.BrickColor = BrickColor.new("White") | |
505 | bl.Anchored = true | |
506 | bl.CanCollide = false | |
507 | bl.Transparency = 0 | |
508 | bl.Reflectance = 0 | |
509 | bl.BottomSurface = 0 | |
510 | bl.TopSurface = 0 | |
511 | bl.Shape = 0 | |
512 | blm = Instance.new("SpecialMesh",bl) | |
513 | blm.MeshType = "Sphere" | |
514 | blm.Scale = Vector3.new(1,1,1) | |
515 | blm.MeshId = "rbxassetid://9982590" | |
516 | ||
517 | coroutine.resume(coroutine.create(function() | |
518 | for i=1, math.huge, 4 do | |
519 | rs:wait() | |
520 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
521 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
522 | bl.Transparency = bl.Transparency + 0.005 | |
523 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
524 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
525 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
526 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
527 | end | |
528 | end)) | |
529 | ||
530 | local fx = Instance.new("Part",torso) | |
531 | fx.Anchored = true | |
532 | fx.Material = "Neon" | |
533 | fx.CanCollide = false | |
534 | fx.Locked = true | |
535 | fx.Transparency = 1 | |
536 | fx.Material = "SmoothPlastic" | |
537 | fx.Size = Vector3.new(1,1,1) | |
538 | fx.TopSurface = "SmoothNoOutlines" | |
539 | fx.BottomSurface = "SmoothNoOutlines" | |
540 | fx.BrickColor = BrickColor.new("White") | |
541 | fxm = Instance.new("SpecialMesh",fx) | |
542 | fxm.MeshType = "Sphere" | |
543 | fxm.Scale = Vector3.new(1,1,1) | |
544 | for i = 1, 20 do rs:wait() | |
545 | fx.Transparency = fx.Transparency - (1/20) | |
546 | fx.CFrame = torso.CFrame | |
547 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
548 | rs:wait() | |
549 | end | |
550 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
551 | if c.className == "Hat" then -- base form hair. | |
552 | c.Handle.Transparency = 0 -- Put after transformation | |
553 | end | |
554 | if c.Name == "Hair" then | |
555 | c:Remove() | |
556 | end | |
557 | end | |
558 | wait(1.0) | |
559 | ypcall(function() | |
560 | ||
561 | shirt = Instance.new("Shirt", char) | |
562 | shirt.Name = "Shirt" | |
563 | pants = Instance.new("Pants", char) | |
564 | pants.Name = "Pants" | |
565 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276106335" | |
566 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=254301872" | |
567 | end) | |
568 | ---------------------------------------------------- | |
569 | local m = Instance.new("Model") | |
570 | m.Name = "Hair" | |
571 | b1 = Instance.new("SpecialMesh", p) | |
572 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
573 | b1.TextureId = "" | |
574 | b1.MeshType = Enum.MeshType.FileMesh | |
575 | b1.Name = "Mesh" | |
576 | b1.VertexColor = Vector3.new(0, 0, 0) | |
577 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
578 | p2 = Instance.new("Part", m) | |
579 | p2.BrickColor = BrickColor.new("Pastel brown") | |
580 | p2.Transparency = 1 | |
581 | p2.Name = "Head" | |
582 | p2.FormFactor = Enum.FormFactor.Symmetric | |
583 | p2.Size = Vector3.new(2, 1, 1) | |
584 | p2.CFrame = CFrame.new(9,9,9) | |
585 | p2.CanCollide = false | |
586 | p2.Locked = true | |
587 | p2.TopSurface = Enum.SurfaceType.Smooth | |
588 | b2 = Instance.new("SpecialMesh", p2) | |
589 | b2.MeshType = Enum.MeshType.Head | |
590 | b2.Name = "Mesh" | |
591 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
592 | p3 = Instance.new("Part", m) | |
593 | p3.BrickColor = BrickColor.new("Dark red") | |
594 | p3.FormFactor = Enum.FormFactor.Symmetric | |
595 | p3.Size = Vector3.new(3,3,3) | |
596 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
597 | p3.CanCollide = false | |
598 | p3.Locked = true | |
599 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
600 | p3.TopSurface = Enum.SurfaceType.Smooth | |
601 | b3 = Instance.new("SpecialMesh", p3) | |
602 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
603 | b3.TextureId = "" | |
604 | b3.MeshType = Enum.MeshType.FileMesh | |
605 | b3.Name = "Mesh" | |
606 | b3.VertexColor = Vector3.new(0, 0, 0) | |
607 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
608 | w1 = Instance.new("Weld", p1) | |
609 | w1.Name = "Head_Weld" | |
610 | w1.Part0 = p1 | |
611 | 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) | |
612 | w1.Part1 = p2 | |
613 | 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) | |
614 | w2 = Instance.new("Weld", p2) | |
615 | w2.Name = "Part_Weld" | |
616 | w2.Part0 = p2 | |
617 | 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) | |
618 | w2.Part1 = p3 | |
619 | 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) | |
620 | w3 = Instance.new("Weld", p3) | |
621 | w3.Name = "Part_Weld" | |
622 | w3.Part0 = p3 | |
623 | w3.C0 = CFrame.new() | |
624 | w3.Part1 = p4 | |
625 | w3.C1 = CFrame.new() | |
626 | ||
627 | m.Parent = char | |
628 | m:MakeJoints() | |
629 | ---------------------------------------------------- | |
630 | local cor = Instance.new("Part", char.Hair) | |
631 | cor.Name = "Link" | |
632 | cor.Locked = true | |
633 | cor.BottomSurface = 0 | |
634 | cor.CanCollide = false | |
635 | cor.Size = Vector3.new(1, 9, 1) | |
636 | cor.Transparency = 1 | |
637 | cor.TopSurface = 0 | |
638 | corw = Instance.new("Weld", cor) | |
639 | corw.Part0 = hed | |
640 | corw.Part1 = cor | |
641 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
642 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
643 | weld1 = Instance.new("Weld", char.Hair) | |
644 | weld1.Part0 = cor | |
645 | weld1.Part1 = char.Hair.Head | |
646 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
647 | ---------------------------------------------------- | |
648 | GroundWave1 = function() | |
649 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
650 | local Colors = {"New Yeller", "New Yeller"} | |
651 | local wave = Instance.new("Part", torso) | |
652 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
653 | wave.Anchored = true | |
654 | wave.CanCollide = false | |
655 | wave.Locked = true | |
656 | wave.Size = Vector3.new(1, 1, 1) | |
657 | wave.TopSurface = "Smooth" | |
658 | wave.BottomSurface = "Smooth" | |
659 | wave.Transparency = 0.35 | |
660 | wave.CFrame = HandCF | |
661 | wm = Instance.new("SpecialMesh", wave) | |
662 | wm.MeshId = "rbxassetid://3270017" | |
663 | coroutine.wrap(function() | |
664 | for i = 1, 30, 1 do | |
665 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
666 | wave.Size = wm.Scale | |
667 | wave.CFrame = HandCF | |
668 | wave.Transparency = i/30 | |
669 | wait() | |
670 | end | |
671 | wait() | |
672 | wave:Destroy() | |
673 | end)() | |
674 | end | |
675 | ---------------------------------------------------- | |
676 | GroundWave = function() | |
677 | if Transforming == true then | |
678 | local wave = Instance.new("Part", torso) | |
679 | wave.BrickColor = BrickColor.new("White") | |
680 | wave.Anchored = true | |
681 | wave.CanCollide = false | |
682 | wave.Locked = true | |
683 | wave.Size = Vector3.new(1, 1, 1) | |
684 | wave.TopSurface = "Smooth" | |
685 | wave.BottomSurface = "Smooth" | |
686 | wave.Transparency = 0.35 | |
687 | wave.CFrame = fx.CFrame | |
688 | wm = Instance.new("SpecialMesh", wave) | |
689 | wm.MeshType = "Sphere" | |
690 | wm.Scale = Vector3.new(1,1,1) | |
691 | coroutine.wrap(function() | |
692 | for i = 1, 18, 1 do | |
693 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
694 | --wave.Size = wm.Scale | |
695 | wave.CFrame = fx.CFrame | |
696 | wave.Transparency = i/14 | |
697 | wait() | |
698 | end | |
699 | wait() | |
700 | wave:Destroy() | |
701 | end)() | |
702 | elseif Transforming == false then | |
703 | wait() | |
704 | end | |
705 | end | |
706 | ||
707 | for i = 1, 100 do rs:wait() | |
708 | fx.CFrame = torso.CFrame | |
709 | end | |
710 | ||
711 | Spawn(function() | |
712 | while wait(1) do | |
713 | GroundWave() | |
714 | end | |
715 | end) | |
716 | ||
717 | wait(4) | |
718 | ||
719 | Transforming = false | |
720 | earring1 = Instance.new("Part",game.Players.LocalPlayer.Character.Head) | |
721 | earring1.Size = Vector3.new(2,2,2) | |
722 | earring1.CanCollide = false | |
723 | earring1.BrickColor = BrickColor.new("New Yeller") | |
724 | earmesh1 = Instance.new("SpecialMesh",earring1) | |
725 | earmesh1.MeshType = "Sphere" | |
726 | earmesh1.Scale = Vector3.new(0.15,0.15,0.15) | |
727 | earweld1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
728 | earweld1.Part0 = game.Players.LocalPlayer.Character.Head | |
729 | earweld1.Part1 = earring1 | |
730 | earweld1.C0 = CFrame.new(0.7, -0.2, 0) | |
731 | earring2 = Instance.new("Part",game.Players.LocalPlayer.Character.Head) | |
732 | earring2.Size = Vector3.new(2,2,2) | |
733 | earring2.CanCollide = false | |
734 | earring2.BrickColor = BrickColor.new("New Yeller") | |
735 | earmesh2 = Instance.new("SpecialMesh",earring2) | |
736 | earmesh2.MeshType = "Sphere" | |
737 | earmesh2.Scale = Vector3.new(0.15,0.15,0.15) | |
738 | earweld2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head) | |
739 | earweld2.Part0 = game.Players.LocalPlayer.Character.Head | |
740 | earweld2.Part1 = earring2 | |
741 | earweld2.C0 = CFrame.new(-0.7, -0.2, 0) | |
742 | ||
743 | for i = 1, 20 do rs:wait() | |
744 | fx.Transparency = fx.Transparency + (1/20) | |
745 | fx.CFrame = torso.CFrame | |
746 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
747 | rs:wait() | |
748 | end | |
749 | z = Instance.new("Sound", char) | |
750 | z.SoundId = "rbxassetid://738380342" | |
751 | z.Pitch = 1 | |
752 | z.Volume = 1 | |
753 | wait(.1) | |
754 | z:Play() | |
755 | pt:Destroy() | |
756 | pt2:Destroy() | |
757 | bl:Destroy() | |
758 | hum.WalkSpeed = 16 | |
759 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HeHe","Red") | |
760 | wait(1.9) | |
761 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"This the fusion between kakotrot and vegeta","Red") | |
762 | wait(2.0) | |
763 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Vegito","Red") | |
764 | wait(2) | |
765 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"And This","Red") | |
766 | wait(1.3) | |
767 | for i = 1,20 do | |
768 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
769 | ||
770 | end | |
771 | wait(0.4) | |
772 | for i = 1,20 do | |
773 | ||
774 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
775 | end | |
776 | wait(0.8) | |
777 | for i = 1,20 do | |
778 | wait() | |
779 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.2) | |
780 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-35)), 0.2) | |
781 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(35)), 0.2) | |
782 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.4) | |
783 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.4) | |
784 | end | |
785 | wait(0.5) | |
786 | for i = 1,20 do | |
787 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
788 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
789 | ||
790 | end | |
791 | wait() | |
792 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Vegito Blue!","Red") | |
793 | wait() | |
794 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
795 | if c.className == "Hat" then -- base form hair. | |
796 | c.Handle.Transparency = 0 -- Put after transformation | |
797 | end | |
798 | if c.Name == "Hair" then | |
799 | c:Remove() | |
800 | end | |
801 | end | |
802 | wait(0.00001) | |
803 | local m = Instance.new("Model") | |
804 | m.Name = "Hair" | |
805 | b1 = Instance.new("SpecialMesh", p) | |
806 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
807 | b1.TextureId = "" | |
808 | b1.MeshType = Enum.MeshType.FileMesh | |
809 | b1.Name = "Mesh" | |
810 | b1.VertexColor = Vector3.new(0, 0, 0) | |
811 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
812 | p2 = Instance.new("Part", m) | |
813 | p2.BrickColor = BrickColor.new("Pastel brown") | |
814 | p2.Transparency = 1 | |
815 | p2.Name = "Head" | |
816 | p2.FormFactor = Enum.FormFactor.Symmetric | |
817 | p2.Size = Vector3.new(2, 1, 1) | |
818 | p2.CFrame = CFrame.new(9,9,9) | |
819 | p2.CanCollide = false | |
820 | p2.Locked = true | |
821 | p2.TopSurface = Enum.SurfaceType.Smooth | |
822 | b2 = Instance.new("SpecialMesh", p2) | |
823 | b2.MeshType = Enum.MeshType.Head | |
824 | b2.Name = "Mesh" | |
825 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
826 | p3 = Instance.new("Part", m) | |
827 | p3.BrickColor = BrickColor.new("Bright blue") | |
828 | p3.FormFactor = Enum.FormFactor.Symmetric | |
829 | p3.Size = Vector3.new(3,3,3) | |
830 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
831 | p3.CanCollide = false | |
832 | p3.Locked = true | |
833 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
834 | p3.TopSurface = Enum.SurfaceType.Smooth | |
835 | b3 = Instance.new("SpecialMesh", p3) | |
836 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
837 | b3.TextureId = "" | |
838 | b3.MeshType = Enum.MeshType.FileMesh | |
839 | b3.Name = "Mesh" | |
840 | b3.VertexColor = Vector3.new(0, 0, 0) | |
841 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
842 | w1 = Instance.new("Weld", p1) | |
843 | w1.Name = "Head_Weld" | |
844 | w1.Part0 = p1 | |
845 | 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) | |
846 | w1.Part1 = p2 | |
847 | 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) | |
848 | w2 = Instance.new("Weld", p2) | |
849 | w2.Name = "Part_Weld" | |
850 | w2.Part0 = p2 | |
851 | 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) | |
852 | w2.Part1 = p3 | |
853 | 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) | |
854 | w3 = Instance.new("Weld", p3) | |
855 | w3.Name = "Part_Weld" | |
856 | w3.Part0 = p3 | |
857 | w3.C0 = CFrame.new() | |
858 | w3.Part1 = p4 | |
859 | w3.C1 = CFrame.new() | |
860 | ||
861 | m.Parent = char | |
862 | m:MakeJoints() | |
863 | ---------------------------------------------------- | |
864 | local cor = Instance.new("Part", char.Hair) | |
865 | cor.Name = "Link" | |
866 | cor.Locked = true | |
867 | cor.BottomSurface = 0 | |
868 | cor.CanCollide = false | |
869 | cor.Size = Vector3.new(1, 9, 1) | |
870 | cor.Transparency = 1 | |
871 | cor.TopSurface = 0 | |
872 | corw = Instance.new("Weld", cor) | |
873 | corw.Part0 = hed | |
874 | corw.Part1 = cor | |
875 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
876 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
877 | weld1 = Instance.new("Weld", char.Hair) | |
878 | weld1.Part0 = cor | |
879 | weld1.Part1 = char.Hair.Head | |
880 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
881 | ||
882 | local torso = game.Players.LocalPlayer.Character.Torso | |
883 | local block = Instance.new("Part",torso) | |
884 | block.Size = Vector3.new(0.1,0.1,0.1) | |
885 | block.Transparency = 1 | |
886 | local weld = Instance.new("Weld",torso) | |
887 | weld.Part0 = torso | |
888 | weld.Part1 = block | |
889 | weld.C0 = CFrame.new(0,5,0) | |
890 | local tables = {5,4,3,2,1} | |
891 | local part = Instance.new("ParticleEmitter") | |
892 | part.Parent = game.Players.LocalPlayer.Character.Torso | |
893 | part.LockedToPart = true | |
894 | part.Color = ColorSequence.new(Color3.fromRGB(93,93,255)) | |
895 | part.Texture = "rbxassetid://290968480" | |
896 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7),NumberSequenceKeypoint.new(1,1)}) | |
897 | part.Transparency = NumberSequence.new(0.5) | |
898 | part.Lifetime = NumberRange.new(1.7) | |
899 | part.Rate = 10 | |
900 | local part2 = Instance.new("ParticleEmitter",block) | |
901 | part2.Lifetime = NumberRange.new(2) | |
902 | part2.Speed = NumberRange.new(0) | |
903 | part2.Size = NumberSequence.new(8) | |
904 | part2.LockedToPart = true | |
905 | part2.Transparency = NumberSequence.new(0.5) | |
906 | part2.Rate = 3 | |
907 | part2.Color = ColorSequence.new(Color3.fromRGB(93,93,255)) | |
908 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" | |
909 | local model = Instance.new("Model",torso) | |
910 | ||
911 | local ball0 = Instance.new("Part",model) | |
912 | ball0.Transparency = 0.5 | |
913 | ball0.BrickColor = BrickColor.new("Bright blue") | |
914 | ball0.Size = Vector3.new(1,1,1) | |
915 | ball0mesh = Instance.new("SpecialMesh",ball0) | |
916 | ball0mesh.MeshType = "Sphere" | |
917 | ball0mesh.Scale = Vector3.new(1,1,1) | |
918 | ballweld = Instance.new("Weld",model) | |
919 | ballweld.Part0 = torso | |
920 | ballweld.Part1 = ball0 | |
921 | for i = 1,15 do | |
922 | wait(0.1) | |
923 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,9)}) | |
924 | part2.Size = NumberSequence.new(18) | |
925 | for i = 1 , 3 do | |
926 | wait() | |
927 | ball0mesh.Scale = ball0mesh.Scale + Vector3.new(15,15,15) | |
928 | ||
929 | end | |
930 | ||
931 | wait(0.1) | |
932 | part2.Size = NumberSequence.new(8) | |
933 | part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7),NumberSequenceKeypoint.new(1,1)}) | |
934 | ball0mesh.Scale = Vector3.new(1,1,1) | |
935 | ||
936 | end | |
937 | ||
938 | ||
939 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
940 | local wave = Instance.new("Part", torso) | |
941 | wave.BrickColor = BrickColor.new("Institutional white") | |
942 | wave.Anchored = true | |
943 | wave.CanCollide = false | |
944 | wave.Locked = true | |
945 | wave.Size = Vector3.new(1, 1, 1) | |
946 | wave.TopSurface = "Smooth" | |
947 | wave.BottomSurface = "Smooth" | |
948 | wave.Transparency = 0.35 | |
949 | wave.CFrame = HandCF | |
950 | wm = Instance.new("SpecialMesh", wave) | |
951 | wm.MeshId = "rbxassetid://3270017" | |
952 | coroutine.wrap(function() | |
953 | for i = 1, 14, 1 do | |
954 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
955 | wave.Size = wm.Scale | |
956 | wave.CFrame = HandCF | |
957 | wave.Transparency = i/14 | |
958 | wait() | |
959 | end | |
960 | wait() | |
961 | wave:Destroy() | |
962 | end)() | |
963 | ||
964 | ||
965 | z1 = Instance.new("Sound", char) | |
966 | z1.SoundId = "rbxassetid://600060450" | |
967 | z1.Pitch = 1 | |
968 | z1.Volume = 1 | |
969 | z1.Looped = true | |
970 | wait(.1) | |
971 | z1:Play() | |
972 | ---------------------------------------------------- | |
973 | Blast = function() | |
974 | local Colors = {"New Yeller", "New Yeller"} | |
975 | local wave = Instance.new("Part", torso) | |
976 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
977 | wave.Anchored = true | |
978 | wave.CanCollide = false | |
979 | wave.Locked = true | |
980 | wave.Size = Vector3.new(1, 1, 1) | |
981 | wave.TopSurface = "Smooth" | |
982 | wave.BottomSurface = "Smooth" | |
983 | wave.Transparency = 0.35 | |
984 | wave.CFrame = rarm.CFrame | |
985 | wm = Instance.new("SpecialMesh", wave) | |
986 | wm.MeshType = "Sphere" | |
987 | wm.Scale = Vector3.new(1,1,1) | |
988 | z = Instance.new("Sound",wave) | |
989 | z.SoundId = "rbxassetid://237035051" | |
990 | z.Volume = 1 | |
991 | z.Pitch = .9 | |
992 | z:Play() | |
993 | coroutine.wrap(function() | |
994 | for i = 1, 30, 1 do | |
995 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
996 | --wave.Size = wm.Scale | |
997 | wave.CFrame = rarm.CFrame | |
998 | wave.Transparency = (1/14) | |
999 | rs:wait() | |
1000 | end | |
1001 | rs:wait() | |
1002 | wave:Destroy() | |
1003 | z:Destroy() | |
1004 | end)() | |
1005 | end | |
1006 | ---------------------------------------------------- | |
1007 | rarm.Touched:connect(function(ht) | |
1008 | hit = ht.Parent | |
1009 | if ht and hit:IsA("Model") then | |
1010 | if hit:FindFirstChild("Humanoid") then | |
1011 | if hit.Name ~= p.Name then | |
1012 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1013 | Debounces.RPunched = true | |
1014 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1015 | if Debounces.ks==true then | |
1016 | z = Instance.new("Sound",hed) | |
1017 | z.SoundId = "rbxassetid://169380525" | |
1018 | z.Pitch = ptz[math.random(1,#ptz)] | |
1019 | z.Volume = 1 | |
1020 | z:Play() | |
1021 | end | |
1022 | wait(.2) | |
1023 | Debounces.RPunched = false | |
1024 | end | |
1025 | end | |
1026 | end | |
1027 | elseif ht and hit:IsA("Hat") then | |
1028 | if hit.Parent.Name ~= p.Name then | |
1029 | if hit.Parent:FindFirstChild("Humanoid") then | |
1030 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1031 | Debounces.RPunched = true | |
1032 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1033 | if Debounces.ks==true then | |
1034 | z = Instance.new("Sound",hed) | |
1035 | z.SoundId = "rbxassetid://169380525" | |
1036 | z.Pitch = ptz[math.random(1,#ptz)] | |
1037 | z.Volume = 1 | |
1038 | z:Play() | |
1039 | end | |
1040 | wait(.2) | |
1041 | Debounces.RPunched = false | |
1042 | end | |
1043 | end | |
1044 | end | |
1045 | end | |
1046 | end) | |
1047 | larm.Touched:connect(function(ht) | |
1048 | hit = ht.Parent | |
1049 | if ht and hit:IsA("Model") then | |
1050 | if hit:FindFirstChild("Humanoid") then | |
1051 | if hit.Name ~= p.Name then | |
1052 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1053 | Debounces.LPunched = true | |
1054 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1055 | if Debounces.ks2==true then | |
1056 | z = Instance.new("Sound",hed) | |
1057 | z.SoundId = "rbxassetid://169380525" | |
1058 | z.Pitch = ptz[math.random(1,#ptz)] | |
1059 | z.Volume = 1 | |
1060 | z:Play() | |
1061 | end | |
1062 | wait(.2) | |
1063 | Debounces.LPunched = false | |
1064 | end | |
1065 | end | |
1066 | end | |
1067 | elseif ht and hit:IsA("Hat") then | |
1068 | if hit.Parent.Name ~= p.Name then | |
1069 | if hit.Parent:FindFirstChild("Humanoid") then | |
1070 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1071 | Debounces.LPunched = true | |
1072 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1073 | if Debounces.ks2==true then | |
1074 | z = Instance.new("Sound",hed) | |
1075 | z.SoundId = "rbxassetid://169380525" | |
1076 | z.Pitch = ptz[math.random(1,#ptz)] | |
1077 | z.Volume = 1 | |
1078 | z:Play() | |
1079 | end | |
1080 | wait(.2) | |
1081 | Debounces.LPunched = false | |
1082 | end | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | end) | |
1087 | ---------------------------------------------------- | |
1088 | mod4 = Instance.new("Model",char) | |
1089 | ||
1090 | ptez = {0.7, 0.8, 0.9, 1} | |
1091 | ||
1092 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1093 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1094 | local List = {} | |
1095 | for i,v in pairs(workspace:GetChildren())do | |
1096 | if v:IsA("Model")then | |
1097 | if v:findFirstChild("Torso")then | |
1098 | if v ~= char then | |
1099 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1100 | table.insert(List,v) | |
1101 | end | |
1102 | end | |
1103 | end | |
1104 | end | |
1105 | end | |
1106 | return List | |
1107 | end | |
1108 | ||
1109 | function Punch() | |
1110 | part=Instance.new('Part',mod4) | |
1111 | part.Anchored=true | |
1112 | part.CanCollide=false | |
1113 | part.FormFactor='Custom' | |
1114 | part.Size=Vector3.new(.2,.2,.2) | |
1115 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1116 | part.Transparency=.7 | |
1117 | part.BrickColor=BrickColor.new('New Yeller') | |
1118 | mesh=Instance.new('SpecialMesh',part) | |
1119 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1120 | mesh.Scale=Vector3.new(3,3,3) | |
1121 | part2=Instance.new('Part',mod4) | |
1122 | part2.Anchored=true | |
1123 | part2.CanCollide=false | |
1124 | part2.FormFactor='Custom' | |
1125 | part2.Size=Vector3.new(.2,.2,.2) | |
1126 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1127 | part2.Transparency=.7 | |
1128 | part2.BrickColor=BrickColor.new('New Yeller') | |
1129 | mesh2=Instance.new('SpecialMesh',part2) | |
1130 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1131 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1132 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1133 | if v:FindFirstChild('Humanoid') then | |
1134 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
1135 | end | |
1136 | end | |
1137 | coroutine.resume(coroutine.create(function() | |
1138 | for i=0,0.62,0.4 do | |
1139 | wait() | |
1140 | part.CFrame=part.CFrame | |
1141 | part.Transparency=i | |
1142 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1143 | part2.CFrame=part2.CFrame | |
1144 | part2.Transparency=i | |
1145 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1146 | end | |
1147 | part.Parent=nil | |
1148 | part2.Parent=nil | |
1149 | end)) | |
1150 | end | |
1151 | ---------------------------------------------------- | |
1152 | rarm.Touched:connect(function(ht) | |
1153 | hit = ht.Parent | |
1154 | if ht and hit:IsA("Model") then | |
1155 | if hit:FindFirstChild("Humanoid") then | |
1156 | if hit.Name ~= p.Name then | |
1157 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1158 | Debounces.RPunched = true | |
1159 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1160 | if Debounces.ks==true then | |
1161 | z = Instance.new("Sound",hed) | |
1162 | z.SoundId = "rbxassetid://169380525" | |
1163 | z.Pitch = ptz[math.random(1,#ptz)] | |
1164 | z.Volume = 1 | |
1165 | z:Play() | |
1166 | end | |
1167 | wait(.2) | |
1168 | Debounces.RPunched = false | |
1169 | end | |
1170 | end | |
1171 | end | |
1172 | elseif ht and hit:IsA("Hat") then | |
1173 | if hit.Parent.Name ~= p.Name then | |
1174 | if hit.Parent:FindFirstChild("Humanoid") then | |
1175 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1176 | Debounces.RPunched = true | |
1177 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1178 | if Debounces.ks==true then | |
1179 | z = Instance.new("Sound",hed) | |
1180 | z.SoundId = "rbxassetid://169380525" | |
1181 | z.Pitch = ptz[math.random(1,#ptz)] | |
1182 | z.Volume = 1 | |
1183 | z:Play() | |
1184 | end | |
1185 | wait(.2) | |
1186 | Debounces.RPunched = false | |
1187 | end | |
1188 | end | |
1189 | end | |
1190 | end | |
1191 | end) | |
1192 | larm.Touched:connect(function(ht) | |
1193 | hit = ht.Parent | |
1194 | if ht and hit:IsA("Model") then | |
1195 | if hit:FindFirstChild("Humanoid") then | |
1196 | if hit.Name ~= p.Name then | |
1197 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1198 | Debounces.LPunched = true | |
1199 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1200 | if Debounces.ks2==true then | |
1201 | z = Instance.new("Sound",hed) | |
1202 | z.SoundId = "rbxassetid://169380525" | |
1203 | z.Pitch = ptz[math.random(1,#ptz)] | |
1204 | z.Volume = 1 | |
1205 | z:Play() | |
1206 | end | |
1207 | wait(.2) | |
1208 | Debounces.LPunched = false | |
1209 | end | |
1210 | end | |
1211 | end | |
1212 | elseif ht and hit:IsA("Hat") then | |
1213 | if hit.Parent.Name ~= p.Name then | |
1214 | if hit.Parent:FindFirstChild("Humanoid") then | |
1215 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1216 | Debounces.LPunched = true | |
1217 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999)) | |
1218 | if Debounces.ks2==true then | |
1219 | z = Instance.new("Sound",hed) | |
1220 | z.SoundId = "rbxassetid://169380525" | |
1221 | z.Pitch = ptz[math.random(1,#ptz)] | |
1222 | z.Volume = 1 | |
1223 | z:Play() | |
1224 | end | |
1225 | wait(.2) | |
1226 | Debounces.LPunched = false | |
1227 | end | |
1228 | end | |
1229 | end | |
1230 | end | |
1231 | end) | |
1232 | ---------------------------------------------------- | |
1233 | local player = game.Players.LocalPlayer | |
1234 | local pchar = player.Character | |
1235 | local mouse = player:GetMouse() | |
1236 | local cam = workspace.CurrentCamera | |
1237 | ||
1238 | local rad = math.rad | |
1239 | ||
1240 | local keysDown = {} | |
1241 | local flySpeed = 0 | |
1242 | local MAX_FLY_SPEED = 150 | |
1243 | ||
1244 | local canFly = false | |
1245 | local flyToggled = false | |
1246 | ||
1247 | local forward, side = 0, 0 | |
1248 | local lastForward, lastSide = 0, 0 | |
1249 | ||
1250 | local floatBP = Instance.new("BodyPosition") | |
1251 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1252 | local flyBV = Instance.new("BodyVelocity") | |
1253 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1254 | local turnBG = Instance.new("BodyGyro") | |
1255 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1256 | ||
1257 | mouse.KeyDown:connect(function(key) | |
1258 | keysDown[key] = true | |
1259 | ||
1260 | if key == "f" then | |
1261 | flyToggled = not flyToggled | |
1262 | ||
1263 | if not flyToggled then | |
1264 | stanceToggle = "Normal" | |
1265 | floatBP.Parent = nil | |
1266 | flyBV.Parent = nil | |
1267 | turnBG.Parent = nil | |
1268 | root.Velocity = Vector3.new() | |
1269 | pchar.Humanoid.PlatformStand = false | |
1270 | end | |
1271 | end | |
1272 | ||
1273 | end) | |
1274 | mouse.KeyUp:connect(function(key) | |
1275 | keysDown[key] = nil | |
1276 | end) | |
1277 | ||
1278 | local function updateFly() | |
1279 | ||
1280 | if not flyToggled then return end | |
1281 | ||
1282 | lastForward = forward | |
1283 | lastSide = side | |
1284 | ||
1285 | forward = 0 | |
1286 | side = 0 | |
1287 | ||
1288 | if keysDown.w then | |
1289 | forward = forward + 1 | |
1290 | end | |
1291 | if keysDown.s then | |
1292 | forward = forward - 1 | |
1293 | end | |
1294 | if keysDown.a then | |
1295 | side = side - 1 | |
1296 | end | |
1297 | if keysDown.d then | |
1298 | side = side + 1 | |
1299 | end | |
1300 | ||
1301 | canFly = (forward ~= 0 or side ~= 0) | |
1302 | ||
1303 | if canFly then | |
1304 | stanceToggle = "Floating" | |
1305 | turnBG.Parent = root | |
1306 | floatBP.Parent = nil | |
1307 | flyBV.Parent = root | |
1308 | ||
1309 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1310 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1311 | else | |
1312 | floatBP.position = root.Position | |
1313 | floatBP.Parent = root | |
1314 | ||
1315 | flySpeed = flySpeed - 1 | |
1316 | if flySpeed < 0 then flySpeed = 0 end | |
1317 | end | |
1318 | ||
1319 | local camCF = cam.CoordinateFrame | |
1320 | local in_forward = canFly and forward or lastForward | |
1321 | local in_side = canFly and side or lastSide | |
1322 | ||
1323 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1324 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1325 | ||
1326 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1327 | 0) | |
1328 | end | |
1329 | ||
1330 | game:service'RunService'.RenderStepped:connect(function() | |
1331 | if flyToggled then | |
1332 | pchar.Humanoid.PlatformStand = true | |
1333 | end | |
1334 | updateFly() | |
1335 | end) | |
1336 | ------------------------------- | |
1337 | mouse.KeyDown:connect(function(key) | |
1338 | if key == "q" then | |
1339 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Its Over","Red") | |
1340 | if Debounces.CanAttack == true then | |
1341 | Debounces.CanAttack = false | |
1342 | Debounces.NoIdl = true | |
1343 | Debounces.on = true | |
1344 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1345 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1346 | local List = {} | |
1347 | for i,v in pairs(workspace:GetChildren())do | |
1348 | if v:IsA("Model")then | |
1349 | if v:findFirstChild("Torso")then | |
1350 | if v ~= char then | |
1351 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1352 | table.insert(List,v) | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | end | |
1357 | end | |
1358 | return List | |
1359 | end | |
1360 | z = Instance.new("Sound",hed) | |
1361 | z.SoundId = "rbxassetid://232213955" | |
1362 | z.Pitch = 1 | |
1363 | z.Volume = 1 | |
1364 | wait(0.2) | |
1365 | z:Play() | |
1366 | sp = Instance.new("Part",rarm) | |
1367 | sp.Anchored = true | |
1368 | sp.CanCollide = false | |
1369 | sp.Locked = true | |
1370 | sp.Transparency = 0 | |
1371 | sp.Material = "Neon" | |
1372 | sp.Size = Vector3.new(1,1,1) | |
1373 | sp.TopSurface = "SmoothNoOutlines" | |
1374 | sp.BottomSurface = "SmoothNoOutlines" | |
1375 | sp.BrickColor = BrickColor.new("New Yeller") | |
1376 | spm = Instance.new("SpecialMesh",sp) | |
1377 | spm.MeshType = "Sphere" | |
1378 | spm.Scale = Vector3.new(31,31,31) | |
1379 | sp2 = Instance.new("Part", rarm) | |
1380 | sp2.Name = "Energy" | |
1381 | sp2.BrickColor = BrickColor.new("New Yeller") | |
1382 | sp2.Size = Vector3.new(10, 10, 10) | |
1383 | sp2.Shape = "Ball" | |
1384 | sp2.CanCollide = false | |
1385 | sp2.Anchored = true | |
1386 | sp2.Locked = true | |
1387 | sp2.TopSurface = 0 | |
1388 | sp2.BottomSurface = 0 | |
1389 | sp2.Transparency = 1 | |
1390 | spm2 = Instance.new("SpecialMesh",sp2) | |
1391 | spm2.MeshId = "rbxassetid://9982590" | |
1392 | spm2.Scale = Vector3.new(10,10,10) | |
1393 | for i = 1, 20 do | |
1394 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1395 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1396 | 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) | |
1397 | 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) | |
1398 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1399 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1400 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1401 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1402 | if Debounces.on == false then break end | |
1403 | rs:wait() | |
1404 | end | |
1405 | for i = 1, 100, 20 do rs:wait() | |
1406 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1407 | end | |
1408 | for i = 1, 20 do | |
1409 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1410 | 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) | |
1411 | 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) | |
1412 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1413 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1414 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1415 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1416 | if Debounces.on == false then break end | |
1417 | rs:wait() | |
1418 | end | |
1419 | sp.Transparency = 1 | |
1420 | for i = 1, 20 do | |
1421 | 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) | |
1422 | 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) | |
1423 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1424 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1425 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1426 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1427 | if Debounces.on == false then break end | |
1428 | rs:wait() | |
1429 | end | |
1430 | wait(1) | |
1431 | sp.Transparency = 0 | |
1432 | sp2.Transparency = 0.84 | |
1433 | for i = 1, 20 do | |
1434 | --spm.Scale = spm.Scale - Vector3.new(15,15,15) | |
1435 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1436 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1437 | 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) | |
1438 | 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) | |
1439 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1440 | 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) | |
1441 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1442 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1443 | if Debounces.on == false then break end | |
1444 | rs:wait() | |
1445 | end | |
1446 | for i = 1, 2880, 50 do | |
1447 | rs:wait() | |
1448 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1449 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1450 | rs:wait() | |
1451 | end | |
1452 | sp:Destroy() | |
1453 | sp2:Destroy() | |
1454 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Disapear!","Red") | |
1455 | local X = Instance.new("Part",char) | |
1456 | local O = Instance.new("ObjectValue",X) | |
1457 | O.Name = "creator" | |
1458 | X.Locked = true | |
1459 | X.Name = "Shell" | |
1460 | X.Anchored = false | |
1461 | X.CanCollide = false | |
1462 | X.Transparency = 0 | |
1463 | X.Reflectance = 0 | |
1464 | X.BottomSurface = 0 | |
1465 | X.TopSurface = 0 | |
1466 | X.Shape = 0 | |
1467 | local V = Instance.new("ObjectValue",X) | |
1468 | V.Value = char | |
1469 | V.Name = "creator" | |
1470 | X.BrickColor = BrickColor.new("New Yeller") | |
1471 | X.Size = Vector3.new(20,20,20) | |
1472 | X.Material = "Neon" | |
1473 | local Z = Instance.new("SpecialMesh",X) | |
1474 | Z.MeshType = "Sphere" | |
1475 | Z.Scale = Vector3.new(10,10,15) | |
1476 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1477 | local bv = Instance.new("BodyVelocity",X) | |
1478 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1479 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1480 | bv.velocity = X.CFrame.lookVector*65 | |
1481 | ||
1482 | Explode = X.Touched:connect(function(hit) | |
1483 | if hit ~= char and hit.Name ~= "Shell" then | |
1484 | local cf = X.CFrame | |
1485 | bv:Destroy() | |
1486 | X.Anchored = true | |
1487 | Z:Remove() | |
1488 | Explode:disconnect() | |
1489 | X.Size = Vector3.new(3,3,3) | |
1490 | X.Touched:connect(function(hit) end) | |
1491 | X.CanCollide = false | |
1492 | local part3 = Instance.new("Part", rarm) | |
1493 | part3.Anchored=true | |
1494 | part3.CanCollide=false | |
1495 | part3.Locked = true | |
1496 | part3.TopSurface = "SmoothNoOutlines" | |
1497 | part3.BottomSurface = "SmoothNoOutlines" | |
1498 | part3.FormFactor='Custom' | |
1499 | part3.Size=Vector3.new(1,1, 1) | |
1500 | part3.CFrame=X.CFrame | |
1501 | part3.Transparency=0 | |
1502 | part3.BrickColor=BrickColor.new("New Yeller") | |
1503 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1504 | mesh3.MeshType = "Sphere" | |
1505 | mesh3.Scale = Vector3.new(1,1,1) | |
1506 | --debris:AddItem(X,8) | |
1507 | local part4 = Instance.new("Part", rarm) | |
1508 | part4.Material = "Neon" | |
1509 | part4.Anchored=true | |
1510 | part4.CanCollide=false | |
1511 | part4.Locked = true | |
1512 | part4.TopSurface = "SmoothNoOutlines" | |
1513 | part4.BottomSurface = "SmoothNoOutlines" | |
1514 | part4.FormFactor='Custom' | |
1515 | part4.Size=Vector3.new(1,1, 1) | |
1516 | part4.CFrame=X.CFrame | |
1517 | part4.Transparency=0 | |
1518 | part4.BrickColor=BrickColor.new("Hot pink") | |
1519 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1520 | mesh4.MeshType = "Sphere" | |
1521 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1522 | local part7 = Instance.new("Part", rarm) | |
1523 | part7.Material = "Neon" | |
1524 | part7.Anchored=true | |
1525 | part7.CanCollide=false | |
1526 | part7.Locked = true | |
1527 | part7.TopSurface = "SmoothNoOutlines" | |
1528 | part7.BottomSurface = "SmoothNoOutlines" | |
1529 | part7.FormFactor='Custom' | |
1530 | part7.Size=Vector3.new(1,1, 1) | |
1531 | part7.CFrame=X.CFrame | |
1532 | part7.Transparency=0 | |
1533 | part7.BrickColor=BrickColor.new("New Yeller") | |
1534 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1535 | mesh7.MeshType = "Sphere" | |
1536 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1537 | --[[X.Touched:connect(function(ht) | |
1538 | hit = ht.Parent | |
1539 | if ht and hit:IsA("Model") then | |
1540 | if hit:FindFirstChild("Humanoid") then | |
1541 | if hit.Name ~= p.Name then | |
1542 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1543 | wait(.3) | |
1544 | end | |
1545 | end | |
1546 | elseif ht and hit:IsA("Hat") then | |
1547 | if hit.Parent.Name ~= p.Name then | |
1548 | if hit.Parent:FindFirstChild("Humanoid") then | |
1549 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
1550 | wait(.3) | |
1551 | end | |
1552 | end | |
1553 | end | |
1554 | end) | |
1555 | part3.Touched:connect(function(ht) | |
1556 | hit = ht.Parent | |
1557 | if ht and hit:IsA("Model") then | |
1558 | if hit:FindFirstChild("Humanoid") then | |
1559 | if hit.Name ~= p.Name then | |
1560 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(999,9999)) | |
1561 | wait(.3) | |
1562 | end | |
1563 | end | |
1564 | elseif ht and hit:IsA("Hat") then | |
1565 | if hit.Parent.Name ~= p.Name then | |
1566 | if hit.Parent:FindFirstChild("Humanoid") then | |
1567 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999)) | |
1568 | wait(.3) | |
1569 | end | |
1570 | end | |
1571 | end | |
1572 | end)]]-- | |
1573 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1574 | if v:FindFirstChild('Humanoid') then | |
1575 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
1576 | v.Humanoid.PlatformStand = true | |
1577 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1578 | end | |
1579 | end | |
1580 | ||
1581 | local acos = math.acos | |
1582 | local sqrt = math.sqrt | |
1583 | local Vec3 = Vector3.new | |
1584 | local fromAxisAngle = CFrame.fromAxisAngle | |
1585 | ||
1586 | local function toAxisAngle(CFr) | |
1587 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1588 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1589 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1590 | A = A == 0 and 0.00001 or A | |
1591 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1592 | B = B == 0 and 0.00001 or B | |
1593 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1594 | C = C == 0 and 0.00001 or C | |
1595 | local x = (R21-R12)/sqrt(A) | |
1596 | local y = (R02-R20)/sqrt(B) | |
1597 | local z = (R10-R01)/sqrt(C) | |
1598 | return Vec3(x,y,z),Angle | |
1599 | end | |
1600 | ||
1601 | function ApplyTrig(Num,Func) | |
1602 | local Min,Max = Func(0),Func(1) | |
1603 | local i = Func(Num) | |
1604 | return (i-Min)/(Max-Min) | |
1605 | end | |
1606 | ||
1607 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1608 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1609 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1610 | end | |
1611 | ||
1612 | function Crater(Torso,Radius) | |
1613 | Spawn(function() | |
1614 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1615 | local Ignore = {} | |
1616 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1617 | if v.Character ~= nil then | |
1618 | Ignore[#Ignore+1] = v.Character | |
1619 | end | |
1620 | end | |
1621 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1622 | if Hit == nil then return end | |
1623 | local Parts = {} | |
1624 | for i = 1,360,10 do | |
1625 | local P = Instance.new("Part",Torso.Parent) | |
1626 | P.Anchored = true | |
1627 | P.FormFactor = "Custom" | |
1628 | P.BrickColor = Hit.BrickColor | |
1629 | P.Material = Hit.Material | |
1630 | P.TopSurface = "Smooth" | |
1631 | P.BottomSurface = "Smooth" | |
1632 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1633 | 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))) | |
1634 | 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} | |
1635 | if math.random(0,5) == 0 then -- rubble | |
1636 | local P = Instance.new("Part",Torso.Parent) | |
1637 | P.Anchored = true | |
1638 | P.FormFactor = "Custom" | |
1639 | P.BrickColor = Hit.BrickColor | |
1640 | P.Material = Hit.Material | |
1641 | P.TopSurface = "Smooth" | |
1642 | P.BottomSurface = "Smooth" | |
1643 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1644 | 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))) | |
1645 | 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} | |
1646 | end | |
1647 | end | |
1648 | for i = 0,1,0.05 do | |
1649 | for i2,v in pairs(Parts) do | |
1650 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1651 | end | |
1652 | wait(0.02) | |
1653 | end | |
1654 | for i,v in pairs(Parts) do | |
1655 | if v[1].Size.X > 2.1 then | |
1656 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1657 | end | |
1658 | v[1].Anchored = false | |
1659 | end | |
1660 | for i = 0,1,0.05 do | |
1661 | for i2,v in pairs(Parts) do | |
1662 | v[1].Transparency = i | |
1663 | if i == 1 then | |
1664 | v[1]:Destroy() | |
1665 | elseif i >= 0.25 then | |
1666 | v[1].CanCollide = false | |
1667 | end | |
1668 | end | |
1669 | wait(0.02) | |
1670 | end | |
1671 | Parts = nil | |
1672 | end) | |
1673 | end | |
1674 | ||
1675 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1676 | for i = 1, 360, 360/t do | |
1677 | local c = Instance.new("Part", game.Workspace) | |
1678 | c.FormFactor = 3 | |
1679 | c.TopSurface = 0 | |
1680 | c.BottomSurface = 0 | |
1681 | c.Size = s | |
1682 | c.Anchored = true | |
1683 | c.CanCollide = wt | |
1684 | c.Material=workspace.Base.Material | |
1685 | c.Transparency = trans | |
1686 | c.BrickColor = workspace.Base.BrickColor | |
1687 | 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 | |
1688 | c.Locked=true | |
1689 | game.Debris:AddItem(c,15) | |
1690 | end | |
1691 | end | |
1692 | ||
1693 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1694 | local p = Instance.new('Part',parent or Weapon) | |
1695 | p.formFactor = 'Custom' | |
1696 | p.Size = Vector3.new(x,y,z) | |
1697 | p.BrickColor = BrickColor.new(color) | |
1698 | p.CanCollide = cc | |
1699 | p.Transparency = tr | |
1700 | p.Anchored = an | |
1701 | p.TopSurface,p.BottomSurface = 0,0 | |
1702 | p.Locked=true | |
1703 | p:BreakJoints() | |
1704 | return p end | |
1705 | ||
1706 | Mesh = function(par,num,x,y,z) | |
1707 | local msh = _ | |
1708 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1709 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1710 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1711 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1712 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1713 | end msh.Scale = Vector3.new(x,y,z) | |
1714 | return msh end | |
1715 | ||
1716 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1717 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1718 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1719 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1720 | v1,v2,v3=sz.x,sz.y,sz.z | |
1721 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1722 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1723 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1724 | a.CFrame=cfr | |
1725 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1726 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1727 | ||
1728 | Spawn(function() | |
1729 | while wait() do | |
1730 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1731 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1732 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1733 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1734 | a.Transparency=a.Transparency+0.05 | |
1735 | a2.Transparency=a2.Transparency+0.05 | |
1736 | a3.Transparency=a3.Transparency+0.05 | |
1737 | end | |
1738 | end) | |
1739 | end | |
1740 | ||
1741 | Crater(X,20) | |
1742 | 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) | |
1743 | z = Instance.new("Sound",X) | |
1744 | z.SoundId = "rbxassetid://231917744" | |
1745 | z.Pitch = .5 | |
1746 | z.Volume = 10 | |
1747 | z1 = Instance.new("Sound",X) | |
1748 | z1.SoundId = "rbxassetid://231917744" | |
1749 | z1.Pitch = .5 | |
1750 | z1.Volume = 10 | |
1751 | z2 = Instance.new("Sound",X) | |
1752 | z2.SoundId = "rbxassetid://231917744" | |
1753 | z2.Pitch = .5 | |
1754 | z2.Volume = 10 | |
1755 | z3 = Instance.new("Sound",X) | |
1756 | z3.SoundId = "rbxassetid://245537790" | |
1757 | z3.Pitch = .7 | |
1758 | z3.Volume = 1 | |
1759 | z4 = Instance.new("Sound",X) | |
1760 | z4.SoundId = "rbxassetid://245537790" | |
1761 | z4.Pitch = .7 | |
1762 | z4.Volume = 1 | |
1763 | wait(0.1) | |
1764 | z:Play() | |
1765 | z1:Play() | |
1766 | z2:Play() | |
1767 | z3:Play() | |
1768 | z4:Play() | |
1769 | ||
1770 | local part=Instance.new('Part',rarm) | |
1771 | part.Anchored=true | |
1772 | part.CanCollide=false | |
1773 | part.Locked = true | |
1774 | part.FormFactor='Custom' | |
1775 | part.Size=Vector3.new(1,1,1) | |
1776 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
1777 | part.Transparency=0 | |
1778 | part.BrickColor=BrickColor.new('New Yeller') | |
1779 | local mesh=Instance.new('SpecialMesh',part) | |
1780 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1781 | mesh.Scale=Vector3.new(2,2,2) | |
1782 | local part2=part:clone() | |
1783 | part2.Parent = rarm | |
1784 | part2.BrickColor=BrickColor.new("New Yeller") | |
1785 | local part5=part:clone() | |
1786 | part5.Parent = rarm | |
1787 | part5.BrickColor=BrickColor.new("Magenta") | |
1788 | local part6=part:clone() | |
1789 | part6.Parent = rarm | |
1790 | part6.BrickColor=BrickColor.new("Black") | |
1791 | local mesh2=mesh:clone() | |
1792 | mesh2.Parent=part2 | |
1793 | mesh2.Scale=Vector3.new(3, 3, 3) | |
1794 | local mesh5=mesh:clone() | |
1795 | mesh5.Parent=part5 | |
1796 | mesh5.Scale=Vector3.new(3, 3, 3) | |
1797 | local mesh6=mesh:clone() | |
1798 | mesh6.Parent=part6 | |
1799 | mesh6.Scale=Vector3.new(3, 3, 3) | |
1800 | local blast = Instance.new("Part", rarm) | |
1801 | blast.BrickColor = BrickColor.new("New Yeller") | |
1802 | blast.Anchored = true | |
1803 | blast.CanCollide = false | |
1804 | blast.Locked = true | |
1805 | blast.Size = Vector3.new(1, 1, 1) | |
1806 | blast.TopSurface = "Smooth" | |
1807 | blast.BottomSurface = "Smooth" | |
1808 | blast.Transparency = 0 | |
1809 | blast.CFrame = HandCF | |
1810 | local bm = Instance.new("SpecialMesh", blast) | |
1811 | bm.Scale = Vector3.new(5,1,5) | |
1812 | bm.MeshId = "rbxassetid://3270017" | |
1813 | local blast2 = Instance.new("Part", rarm) | |
1814 | blast2.BrickColor = BrickColor.new("New Yeller") | |
1815 | blast2.Anchored = true | |
1816 | blast2.CanCollide = false | |
1817 | blast2.Locked = true | |
1818 | blast2.Size = Vector3.new(1, 1, 1) | |
1819 | blast2.TopSurface = "Smooth" | |
1820 | blast2.BottomSurface = "Smooth" | |
1821 | blast2.Transparency = 0 | |
1822 | blast2.CFrame = HandCF | |
1823 | local bm2 = Instance.new("SpecialMesh", blast2) | |
1824 | bm2.Scale = Vector3.new(3,1,3) | |
1825 | bm2.MeshId = "rbxassetid://3270017" | |
1826 | local blast3 = Instance.new("Part", rarm) | |
1827 | blast3.BrickColor = BrickColor.new("New Yeller") | |
1828 | blast3.Anchored = true | |
1829 | blast3.CanCollide = false | |
1830 | blast3.Locked = true | |
1831 | blast3.Size = Vector3.new(1, 1, 1) | |
1832 | blast3.TopSurface = "Smooth" | |
1833 | blast3.BottomSurface = "Smooth" | |
1834 | blast3.Transparency = 0 | |
1835 | blast3.CFrame = HandCF | |
1836 | local bm3 = Instance.new("SpecialMesh", blast3) | |
1837 | bm3.Scale = Vector3.new(3,1,3) | |
1838 | bm3.MeshId = "rbxassetid://3270017" | |
1839 | for i = 1,120 do rs:wait() | |
1840 | X.Transparency = X.Transparency + (1/120) | |
1841 | part.Transparency = part.Transparency + (1/120) | |
1842 | part2.Transparency = part2.Transparency + (1/120) | |
1843 | part3.Transparency = part3.Transparency + (1/120) | |
1844 | part4.Transparency = part4.Transparency + (1/120) | |
1845 | part5.Transparency = part5.Transparency + (1/120) | |
1846 | part6.Transparency = part6.Transparency + (1/120) | |
1847 | part7.Transparency = part7.Transparency + (1/120) | |
1848 | blast.Transparency = blast.Transparency + (1/120) | |
1849 | blast2.Transparency = blast2.Transparency + (1/120) | |
1850 | blast3.Transparency = blast3.Transparency + (1/120) | |
1851 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
1852 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
1853 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
1854 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
1855 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
1856 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
1857 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
1858 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
1859 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
1860 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
1861 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
1862 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
1863 | X.CFrame = cf | |
1864 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
1865 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
1866 | part3.CFrame=X.CFrame | |
1867 | part4.CFrame=X.CFrame | |
1868 | part7.CFrame=X.CFrame | |
1869 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
1870 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
1871 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1872 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
1873 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
1874 | rs:wait() | |
1875 | end | |
1876 | X:Destroy() | |
1877 | part:Destroy() | |
1878 | part2:Destroy() | |
1879 | part3:Destroy() | |
1880 | part4:Destroy() | |
1881 | part5:Destroy() | |
1882 | part6:Destroy() | |
1883 | blast:Destroy() | |
1884 | blast2:Destroy() | |
1885 | blast3:Destroy() | |
1886 | z:Destroy() | |
1887 | z1:Destroy() | |
1888 | z2:Destroy() | |
1889 | z3:Destroy() | |
1890 | z4:Destroy() | |
1891 | end | |
1892 | end) | |
1893 | for i = 1, 20 do | |
1894 | 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) | |
1895 | 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) | |
1896 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1897 | 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) | |
1898 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
1899 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
1900 | if Debounces.on == false then break end | |
1901 | rs:wait() | |
1902 | end | |
1903 | if Debounces.CanAttack == false then | |
1904 | Debounces.CanAttack = true | |
1905 | Debounces.NoIdl = false | |
1906 | Debounces.on = false | |
1907 | end | |
1908 | end | |
1909 | end | |
1910 | end) | |
1911 | ---------------------------------------------------- | |
1912 | mouse.KeyDown:connect(function(key) | |
1913 | if key == "e" then | |
1914 | if Debounces.CanAttack == true then | |
1915 | Debounces.CanAttack = false | |
1916 | Debounces.on = true | |
1917 | Debounces.NoIdl = true | |
1918 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
1919 | z = Instance.new("Sound", rarm) | |
1920 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1921 | z.Volume = .6 | |
1922 | z.Pitch = pt[math.random(1,#pt)] | |
1923 | z.Looped = false | |
1924 | z:Play() | |
1925 | Debounces.RPunch = true | |
1926 | Debounces.LPunch = true | |
1927 | Debounces.ks = true | |
1928 | Debounces.ks2 = true | |
1929 | for i = 1, 3 do | |
1930 | 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) | |
1931 | 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) | |
1932 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1933 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1934 | 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) | |
1935 | 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) | |
1936 | if Debounces.on == false then break end | |
1937 | wait() | |
1938 | end | |
1939 | z2 = Instance.new("Sound", larm) | |
1940 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1941 | z2.Volume = .6 | |
1942 | z2.Pitch = pt[math.random(1,#pt)] | |
1943 | z2.Looped = false | |
1944 | z2:Play() | |
1945 | for i = 1, 3 do | |
1946 | 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) | |
1947 | 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) | |
1948 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1949 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1950 | 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) | |
1951 | 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) | |
1952 | if Debounces.on == false then break end | |
1953 | wait() | |
1954 | end | |
1955 | z3 = Instance.new("Sound", rarm) | |
1956 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1957 | z3.Volume = 0.6 | |
1958 | z3.Pitch = pt[math.random(1,#pt)] | |
1959 | z3.Looped = false | |
1960 | z3:Play() | |
1961 | for i = 1, 3 do | |
1962 | 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) | |
1963 | 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) | |
1964 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1965 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1966 | 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) | |
1967 | 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) | |
1968 | if Debounces.on == false then break end | |
1969 | wait() | |
1970 | end | |
1971 | z4 = Instance.new("Sound", larm) | |
1972 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1973 | z4.Volume = .6 | |
1974 | z4.Pitch = pt[math.random(1,#pt)] | |
1975 | z4.Looped = false | |
1976 | z4:Play() | |
1977 | for i = 1, 3 do | |
1978 | 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) | |
1979 | 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) | |
1980 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1981 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1982 | 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) | |
1983 | 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) | |
1984 | if Debounces.on == false then break end | |
1985 | wait() | |
1986 | end | |
1987 | z5 = Instance.new("Sound", rarm) | |
1988 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1989 | z5.Volume = .6 | |
1990 | z5.Pitch = pt[math.random(1,#pt)] | |
1991 | z5.Looped = false | |
1992 | z5:Play() | |
1993 | for i = 1, 3 do | |
1994 | 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) | |
1995 | 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) | |
1996 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1997 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1998 | 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) | |
1999 | 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) | |
2000 | if Debounces.on == false then break end | |
2001 | wait() | |
2002 | end | |
2003 | z6 = Instance.new("Sound", larm) | |
2004 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2005 | z6.Volume = .6 | |
2006 | z6.Pitch = pt[math.random(1,#pt)] | |
2007 | z6.Looped = false | |
2008 | z6:Play() | |
2009 | for i = 1, 3 do | |
2010 | 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) | |
2011 | 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) | |
2012 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2013 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2014 | 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) | |
2015 | 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) | |
2016 | if Debounces.on == false then break end | |
2017 | wait() | |
2018 | end | |
2019 | z7 = Instance.new("Sound", rarm) | |
2020 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2021 | z7.Volume = .6 | |
2022 | z7.Pitch = pt[math.random(1,#pt)] | |
2023 | z7.Looped = false | |
2024 | z7:Play() | |
2025 | for i = 1, 3 do | |
2026 | 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) | |
2027 | 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) | |
2028 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2029 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2030 | 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) | |
2031 | 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) | |
2032 | if Debounces.on == false then break end | |
2033 | wait() | |
2034 | end | |
2035 | z8 = Instance.new("Sound", larm) | |
2036 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2037 | z8.Volume = .6 | |
2038 | z8.Pitch = pt[math.random(1,#pt)] | |
2039 | z8.Looped = false | |
2040 | z8:Play() | |
2041 | for i = 1, 3 do | |
2042 | 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) | |
2043 | 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) | |
2044 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2045 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2046 | 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) | |
2047 | 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) | |
2048 | if Debounces.on == false then break end | |
2049 | wait() | |
2050 | end | |
2051 | z9 = Instance.new("Sound", rarm) | |
2052 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2053 | z9.Volume = 0.6 | |
2054 | z9.Pitch = pt[math.random(1,#pt)] | |
2055 | z9.Looped = false | |
2056 | z9:Play() | |
2057 | for i = 1, 3 do | |
2058 | 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) | |
2059 | 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) | |
2060 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2061 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2062 | 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) | |
2063 | 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) | |
2064 | if Debounces.on == false then break end | |
2065 | wait() | |
2066 | end | |
2067 | z10 = Instance.new("Sound", larm) | |
2068 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2069 | z10.Volume = .6 | |
2070 | z10.Pitch = pt[math.random(1,#pt)] | |
2071 | z10.Looped = false | |
2072 | z10:Play() | |
2073 | for i = 1, 3 do | |
2074 | 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) | |
2075 | 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) | |
2076 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2077 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2078 | 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) | |
2079 | 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) | |
2080 | if Debounces.on == false then break end | |
2081 | wait() | |
2082 | end | |
2083 | z11 = Instance.new("Sound", rarm) | |
2084 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2085 | z11.Volume = .6 | |
2086 | z11.Pitch = pt[math.random(1,#pt)] | |
2087 | z11.Looped = false | |
2088 | z11:Play() | |
2089 | for i = 1, 3 do | |
2090 | 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) | |
2091 | 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) | |
2092 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2093 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2094 | 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) | |
2095 | 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) | |
2096 | if Debounces.on == false then break end | |
2097 | wait() | |
2098 | end | |
2099 | z12 = Instance.new("Sound", larm) | |
2100 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2101 | z12.Volume = .6 | |
2102 | z12.Pitch = pt[math.random(1,#pt)] | |
2103 | z12.Looped = false | |
2104 | z12:Play() | |
2105 | for i = 1, 3 do | |
2106 | 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) | |
2107 | 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) | |
2108 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2110 | 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) | |
2111 | 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) | |
2112 | if Debounces.on == false then break end | |
2113 | wait() | |
2114 | end | |
2115 | z13 = Instance.new("Sound", rarm) | |
2116 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2117 | z13.Volume = 0.6 | |
2118 | z13.Pitch = pt[math.random(1,#pt)] | |
2119 | z13.Looped = false | |
2120 | z13:Play() | |
2121 | for i = 1, 3 do | |
2122 | 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) | |
2123 | 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) | |
2124 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2125 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2126 | 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) | |
2127 | 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) | |
2128 | if Debounces.on == false then break end | |
2129 | wait() | |
2130 | end | |
2131 | z14 = Instance.new("Sound", larm) | |
2132 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2133 | z14.Volume = .6 | |
2134 | z14.Pitch = pt[math.random(1,#pt)] | |
2135 | z14.Looped = false | |
2136 | z14:Play() | |
2137 | for i = 1, 3 do | |
2138 | 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) | |
2139 | 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) | |
2140 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2141 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2142 | 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) | |
2143 | 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) | |
2144 | if Debounces.on == false then break end | |
2145 | wait() | |
2146 | end | |
2147 | z15 = Instance.new("Sound", rarm) | |
2148 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2149 | z15.Volume = .6 | |
2150 | z15.Pitch = pt[math.random(1,#pt)] | |
2151 | z15.Looped = false | |
2152 | z15:Play() | |
2153 | for i = 1, 3 do | |
2154 | 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) | |
2155 | 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) | |
2156 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2157 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2158 | 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) | |
2159 | 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) | |
2160 | if Debounces.on == false then break end | |
2161 | wait() | |
2162 | end | |
2163 | z16 = Instance.new("Sound", larm) | |
2164 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2165 | z16.Volume = .6 | |
2166 | z16.Pitch = pt[math.random(1,#pt)] | |
2167 | z16.Looped = false | |
2168 | z16:Play() | |
2169 | for i = 1, 3 do | |
2170 | 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) | |
2171 | 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) | |
2172 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2173 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2174 | 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) | |
2175 | 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) | |
2176 | if Debounces.on == false then break end | |
2177 | wait() | |
2178 | end | |
2179 | z17 = Instance.new("Sound", rarm) | |
2180 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2181 | z17.Volume = .6 | |
2182 | z17.Pitch = pt[math.random(1,#pt)] | |
2183 | z17.Looped = false | |
2184 | z17:Play() | |
2185 | for i = 1, 3 do | |
2186 | 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) | |
2187 | 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) | |
2188 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2189 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2190 | 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) | |
2191 | 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) | |
2192 | if Debounces.on == false then break end | |
2193 | wait() | |
2194 | end | |
2195 | z18 = Instance.new("Sound", larm) | |
2196 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2197 | z18.Volume = .6 | |
2198 | z18.Pitch = pt[math.random(1,#pt)] | |
2199 | z18.Looped = false | |
2200 | z18:Play() | |
2201 | for i = 1, 3 do | |
2202 | 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) | |
2203 | 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) | |
2204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2205 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2206 | 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) | |
2207 | 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) | |
2208 | if Debounces.on == false then break end | |
2209 | wait() | |
2210 | end | |
2211 | z19 = Instance.new("Sound", rarm) | |
2212 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2213 | z19.Volume = 0.6 | |
2214 | z19.Pitch = pt[math.random(1,#pt)] | |
2215 | z19.Looped = false | |
2216 | z19:Play() | |
2217 | for i = 1, 3 do | |
2218 | 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) | |
2219 | 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) | |
2220 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2221 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2222 | 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) | |
2223 | 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) | |
2224 | if Debounces.on == false then break end | |
2225 | wait() | |
2226 | end | |
2227 | z20 = Instance.new("Sound", larm) | |
2228 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2229 | z20.Volume = .6 | |
2230 | z20.Pitch = pt[math.random(1,#pt)] | |
2231 | z20.Looped = false | |
2232 | z20:Play() | |
2233 | for i = 1, 3 do | |
2234 | 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) | |
2235 | 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) | |
2236 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2237 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2238 | 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) | |
2239 | 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) | |
2240 | if Debounces.on == false then break end | |
2241 | wait() | |
2242 | end | |
2243 | z:Destroy() | |
2244 | z2:Destroy() | |
2245 | z3:Destroy() | |
2246 | z4:Destroy() | |
2247 | z5:Destroy() | |
2248 | z6:Destroy() | |
2249 | z7:Destroy() | |
2250 | z8:Destroy() | |
2251 | z9:Destroy() | |
2252 | z10:Destroy() | |
2253 | z11:Destroy() | |
2254 | z12:Destroy() | |
2255 | z13:Destroy() | |
2256 | z14:Destroy() | |
2257 | z15:Destroy() | |
2258 | z16:Destroy() | |
2259 | z17:Destroy() | |
2260 | z18:Destroy() | |
2261 | z19:Destroy() | |
2262 | z20:Destroy() | |
2263 | Debounces.LPunch = false | |
2264 | Debounces.RPunch = false | |
2265 | Debounces.ks = false | |
2266 | Debounces.ks2 = false | |
2267 | if Debounces.CanAttack == false then | |
2268 | Debounces.CanAttack = true | |
2269 | Debounces.on = false | |
2270 | Debounces.NoIdl = false | |
2271 | end | |
2272 | end | |
2273 | end | |
2274 | end) | |
2275 | ------------------------------- | |
2276 | mouse.KeyDown:connect(function(key) | |
2277 | if key == "t" then | |
2278 | if Debounces.CanAttack == true then | |
2279 | Debounces.CanAttack = false | |
2280 | Debounces.NoIdl = true | |
2281 | Debounces.on = true | |
2282 | Debounces.ks = true | |
2283 | kik = rleg.Touched:connect(function(ht) | |
2284 | hit = ht.Parent | |
2285 | if ht and hit:IsA("Model") then | |
2286 | if hit:FindFirstChild("Humanoid") then | |
2287 | if hit.Name ~= p.Name then | |
2288 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2289 | Debounces.Slashed = true]]-- | |
2290 | if Debounces.ks==true then | |
2291 | z = Instance.new("Sound",hed) | |
2292 | z.SoundId = "rbxassetid://169380525" | |
2293 | z.Volume = 1 | |
2294 | z:Play() | |
2295 | Debounces.ks=false | |
2296 | end | |
2297 | hit:FindFirstChild("Humanoid"):TakeDamage(9999) | |
2298 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2299 | --Debounces.Slashed = false | |
2300 | --end | |
2301 | end | |
2302 | end | |
2303 | elseif ht and hit:IsA("Hat") then | |
2304 | if hit.Parent.Name ~= p.Name then | |
2305 | if hit.Parent:FindFirstChild("Humanoid") then | |
2306 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2307 | Debounces.Slashed = true]]-- | |
2308 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(9999) | |
2309 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2310 | --Debounces.Slashed = false | |
2311 | --end | |
2312 | end | |
2313 | end | |
2314 | end | |
2315 | end) | |
2316 | for i = 1,20 do | |
2317 | 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) | |
2318 | 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) | |
2319 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2320 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2321 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2322 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2323 | if Debounces.on == false then break end | |
2324 | rs:wait() | |
2325 | end | |
2326 | kik:disconnect() | |
2327 | if Debounces.CanAttack == false then | |
2328 | Debounces.CanAttack = true | |
2329 | Debounces.NoIdl = false | |
2330 | Debounces.on = false | |
2331 | end | |
2332 | end | |
2333 | end | |
2334 | end) | |
2335 | ---------------------------------------------------- | |
2336 | ||
2337 | mouse.KeyDown:connect(function(key) | |
2338 | if key == "y" then | |
2339 | ||
2340 | ||
2341 | ||
2342 | if Debounces.CanAttack == true then | |
2343 | Debounces.CanAttack = false | |
2344 | Debounces.on = true | |
2345 | Debounces.NoIdl = true | |
2346 | for i = 1, 15 do | |
2347 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-35)), 0.2) | |
2348 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(45)), 0.6) | |
2349 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2350 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2351 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2352 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2353 | if Debounces.on == false then break end | |
2354 | rs:wait(7.7) | |
2355 | end | |
2356 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS","Red") | |
2357 | wait(1.0) | |
2358 | ||
2359 | ||
2360 | Debounces.on = false | |
2361 | Debounces.Here = false | |
2362 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"KAME","Red") | |
2363 | wait(1.8) | |
2364 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAME","Red") | |
2365 | wait(1.8) | |
2366 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAAAAAAAAAAAAAAAAAAAA","Red") | |
2367 | shot = shot + 1 | |
2368 | for i = 1, 15 do | |
2369 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.2) | |
2370 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-90)), 0.6) | |
2371 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2372 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2373 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2374 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2375 | ||
2376 | rs:wait(7.7) | |
2377 | end | |
2378 | local rng = Instance.new("Part", larm) | |
2379 | rng.Anchored = true | |
2380 | rng.BrickColor = BrickColor.new("New Yeller") | |
2381 | rng.CanCollide = false | |
2382 | rng.FormFactor = 3 | |
2383 | rng.Name = "Ring" | |
2384 | rng.Size = Vector3.new(1, 1, 1) | |
2385 | rng.Transparency = 0.35 | |
2386 | rng.TopSurface = 0 | |
2387 | rng.BottomSurface = 0 | |
2388 | rng2 = rng:clone() | |
2389 | rng3 = rng2:clone() | |
2390 | rng4 = rng2:clone() | |
2391 | local rngm = Instance.new("SpecialMesh", rng) | |
2392 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2393 | rngm.Scale = Vector3.new(10, 10, 1) | |
2394 | rngm2 = rngm:clone() | |
2395 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2396 | rngm3=rngm2:clone() | |
2397 | rngm3.Parent = rng3 | |
2398 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2399 | rngm4 = rngm2:clone() | |
2400 | rngm4.Parent = rng4 | |
2401 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2402 | local bem = Instance.new("Part", larm) | |
2403 | bem.Anchored = true | |
2404 | bem.BrickColor = BrickColor.new("New Yeller") | |
2405 | bem.CanCollide = false | |
2406 | bem.FormFactor = 3 | |
2407 | bem.Name = "Beam" .. shot | |
2408 | bem.Size = Vector3.new(1, 1, 1) | |
2409 | bem.Transparency = 0.35 | |
2410 | bem.TopSurface = 0 | |
2411 | bem.BottomSurface = 0 | |
2412 | local bemm = Instance.new("SpecialMesh", bem) | |
2413 | bemm.MeshType = 4 | |
2414 | bemm.Scale = Vector3.new(1, 4, 4) | |
2415 | local out = Instance.new("Part", larm) | |
2416 | out.Anchored = true | |
2417 | out.BrickColor = BrickColor.new("New Yeller") | |
2418 | out.CanCollide = false | |
2419 | out.FormFactor = 3 | |
2420 | out.Name = "Out" | |
2421 | out.Size = Vector3.new(4, 4, 4) | |
2422 | out.Transparency = 0.35 | |
2423 | out.TopSurface = 0 | |
2424 | out.BottomSurface = 0 | |
2425 | local outm = Instance.new("SpecialMesh", out) | |
2426 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2427 | outm.Scale = Vector3.new(6, 4, 6) | |
2428 | local bnd = Instance.new("Part", larm) | |
2429 | bnd.Anchored = true | |
2430 | bnd.BrickColor = BrickColor.new("New Yeller") | |
2431 | bnd.CanCollide = false | |
2432 | bnd.FormFactor = 3 | |
2433 | bnd.Name = "Bend" | |
2434 | bnd.Size = Vector3.new(1, 1, 1) | |
2435 | bnd.Transparency = 1 | |
2436 | bnd.TopSurface = 0 | |
2437 | bnd.BottomSurface = 0 | |
2438 | local bndm = Instance.new("SpecialMesh", bnd) | |
2439 | bndm.MeshType = 3 | |
2440 | bndm.Scale = Vector3.new(8, 8, 8) | |
2441 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2442 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2443 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2444 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2445 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2446 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2447 | Debounces.Shewt = true | |
2448 | coroutine.wrap(function() | |
2449 | for i = 1, 20, 0.2 do | |
2450 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2451 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2452 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2453 | rng.Transparency = i/20 | |
2454 | rng3.Transparency = 1/24 | |
2455 | rng4.Transparency = i/26 | |
2456 | wait() | |
2457 | end | |
2458 | wait(3.0) | |
2459 | rng:Destroy() | |
2460 | end)() | |
2461 | if Debounces.Shewt == true then | |
2462 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2463 | hit = ht.Parent | |
2464 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2465 | if HasntTouched(hit.Name) == true and deb == false then | |
2466 | deb = true | |
2467 | coroutine.wrap(function() | |
2468 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2469 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2470 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
2471 | end)() | |
2472 | table.insert(Touche, hit.Name) | |
2473 | deb = false | |
2474 | end | |
2475 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2476 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2477 | deb = true | |
2478 | coroutine.wrap(function() | |
2479 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2480 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2481 | wait(1) | |
2482 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2483 | end)() | |
2484 | table.insert(Touche, hit.Parent.Name) | |
2485 | deb = false | |
2486 | for i, v in pairs(Touche) do | |
2487 | print(v) | |
2488 | end | |
2489 | end | |
2490 | end | |
2491 | end) | |
2492 | end | |
2493 | for i = 0, 260, 8 do | |
2494 | bem.Size = Vector3.new(i, 3, 3) | |
2495 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2496 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2497 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2498 | bnd.Size = Vector3.new(1,1,1) | |
2499 | bndm.Scale = Vector3.new(8,8,8) | |
2500 | if i % 10 == 0 then | |
2501 | local newRng = rng2:Clone() | |
2502 | newRng.Parent = larm | |
2503 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2504 | local newRngm = rngm2:clone() | |
2505 | newRngm.Parent=newRng | |
2506 | coroutine.wrap(function() | |
2507 | for i = 1, 10, 0.2 do | |
2508 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2509 | newRng.Transparency = i/10 | |
2510 | wait() | |
2511 | end | |
2512 | wait(3.0) | |
2513 | newRng:Destroy() | |
2514 | end)() | |
2515 | end | |
2516 | wait() | |
2517 | end | |
2518 | wait(3.0) | |
2519 | Debounces.Shewt = false | |
2520 | bem:Destroy() | |
2521 | out:Destroy() | |
2522 | bnd:Destroy() | |
2523 | Debounces.Ready = false | |
2524 | for i, v in pairs(Touche) do | |
2525 | table.remove(Touche, i) | |
2526 | end | |
2527 | wait() | |
2528 | table.insert(Touche, char.Name) | |
2529 | Debounces.NoIdl = false | |
2530 | if Debounces.CanAttack == false then | |
2531 | Debounces.CanAttack = true | |
2532 | end | |
2533 | end | |
2534 | end | |
2535 | end) | |
2536 | ---------------------------------------------------- | |
2537 | --[[mouse.KeyDown:connect(function(key) | |
2538 | if key == "y" then | |
2539 | if Debounces.CanAttack == true then | |
2540 | Debounces.CanAttack = false | |
2541 | Debounces.NoIdl = true | |
2542 | Debounces.on = true | |
2543 | local shell = Instance.new("Part",torso) | |
2544 | shell.BrickColor = BrickColor.new("New Yeller") | |
2545 | shell.Anchored = false | |
2546 | shell.CanCollide = false | |
2547 | shell.Locked = true | |
2548 | shell.TopSurface = "SmoothNoOutlines" | |
2549 | shell.BottomSurface = "SmoothNoOutlines" | |
2550 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
2551 | shell.FormFactor = 3 | |
2552 | local shellm = Instance.new("SpecialMesh",shell) | |
2553 | shellm.MeshType = "Sphere" | |
2554 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
2555 | Omega = function() | |
2556 | local X = Instance.new("Part",char) | |
2557 | local O = Instance.new("ObjectValue",X) | |
2558 | O.Name = "creator" | |
2559 | X.Locked = true | |
2560 | X.Name = "Shell" | |
2561 | X.Anchored = false | |
2562 | X.CanCollide = false | |
2563 | X.Transparency = 0.5 | |
2564 | X.Reflectance = 0 | |
2565 | X.BottomSurface = 0 | |
2566 | X.TopSurface = 0 | |
2567 | X.Shape = 0 | |
2568 | local V = Instance.new("ObjectValue",X) | |
2569 | V.Value = char | |
2570 | V.Name = "creator" | |
2571 | X.BrickColor = BrickColor.new("New Yeller") | |
2572 | X.Size = Vector3.new(40,40,40) | |
2573 | --X.Material = "Neon" | |
2574 | local Z = Instance.new("SpecialMesh",X) | |
2575 | Z.MeshType = "Sphere" | |
2576 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
2577 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2578 | local bv = Instance.new("BodyVelocity",X) | |
2579 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2580 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2581 | bv.velocity = root.CFrame.lookVector*10 | |
2582 | Explode = X.Touched:connect(function(hit) | |
2583 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2584 | local cf = X.CFrame | |
2585 | bv:Destroy() | |
2586 | X.Anchored = true | |
2587 | Z:Remove() | |
2588 | Explode:disconnect() | |
2589 | X.Size = Vector3.new(3,3,3) | |
2590 | X.Touched:connect(function(hit) end) | |
2591 | X.CanCollide = false | |
2592 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
2593 | if v:FindFirstChild('Humanoid') then | |
2594 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
2595 | end | |
2596 | end | |
2597 | for i = 1, (40) do rs:wait() | |
2598 | X.Transparency = X.Transparency + (1/40) | |
2599 | X.Size = X.Size + Vector3.new(1,1,1) | |
2600 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
2601 | end | |
2602 | X:Destroy() | |
2603 | end | |
2604 | end) | |
2605 | end | |
2606 | for i = 1,200 do | |
2607 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2608 | 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) | |
2609 | 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) | |
2610 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2611 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2612 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2613 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2614 | if Debounces.on == false then break end | |
2615 | rs:wait() | |
2616 | end | |
2617 | for i = 1,30 do | |
2618 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
2619 | 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) | |
2620 | 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) | |
2621 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2622 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2623 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2624 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2625 | if Debounces.on == false then break end | |
2626 | rs:wait() | |
2627 | end | |
2628 | for i = 1,40 do | |
2629 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
2630 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2631 | 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) | |
2632 | 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) | |
2633 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2634 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2635 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2636 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2637 | if Debounces.on == false then break end | |
2638 | rs:wait() | |
2639 | end | |
2640 | for i = 1,40 do | |
2641 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
2642 | 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) | |
2643 | 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) | |
2644 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2645 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2646 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2647 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2648 | if Debounces.on == false then break end | |
2649 | rs:wait() | |
2650 | end | |
2651 | for i = 1,60 do | |
2652 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2653 | 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) | |
2654 | 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) | |
2655 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2656 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2657 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2658 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2659 | if Debounces.on == false then break end | |
2660 | rs:wait() | |
2661 | end | |
2662 | for i = 1,60 do | |
2663 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2664 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2665 | 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) | |
2666 | 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) | |
2667 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2668 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2669 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2670 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2671 | if Debounces.on == false then break end | |
2672 | rs:wait() | |
2673 | end | |
2674 | if Debounces.CanAttack == false then | |
2675 | Debounces.CanAttack = true | |
2676 | Debounces.NoIdl = false | |
2677 | Debounces.on = false | |
2678 | end | |
2679 | end | |
2680 | end | |
2681 | end)]] | |
2682 | ---------------------------------------------------- | |
2683 | ||
2684 | mouse.KeyDown:connect(function(key) | |
2685 | if key == "h" then | |
2686 | ||
2687 | ||
2688 | ||
2689 | if Debounces.CanAttack == true then | |
2690 | Debounces.CanAttack = false | |
2691 | Debounces.on = true | |
2692 | Debounces.NoIdl = true | |
2693 | for i = 1, 15 do | |
2694 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.2) | |
2695 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.6) | |
2696 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2697 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0) | |
2698 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2699 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2700 | if Debounces.on == false then break end | |
2701 | rs:wait(7.7) | |
2702 | end | |
2703 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS","Red") | |
2704 | wait(1.0) | |
2705 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"FINAL!","Red") | |
2706 | ||
2707 | local larm = game.Players.LocalPlayer.Character["Left Arm"] | |
2708 | local balls = Instance.new("Part",larm) | |
2709 | balls.Anchored = false | |
2710 | balls.Material = "Neon" | |
2711 | balls.CanCollide = false | |
2712 | balls.Locked = true | |
2713 | balls.Transparency = 0 | |
2714 | balls.Material = "SmoothPlastic" | |
2715 | balls.Size = Vector3.new(1,1,1) | |
2716 | balls.TopSurface = "SmoothNoOutlines" | |
2717 | balls.BottomSurface = "SmoothNoOutlines" | |
2718 | balls.BrickColor = BrickColor.new("New Yeller") | |
2719 | ballsm = Instance.new("SpecialMesh",balls) | |
2720 | ballsm.MeshType = "Sphere" | |
2721 | ballsm.Scale = Vector3.new(1,1,1) | |
2722 | local cor = Instance.new("Part", larm) | |
2723 | cor.Name = "Link" | |
2724 | cor.Locked = true | |
2725 | cor.BottomSurface = 0 | |
2726 | cor.CanCollide = false | |
2727 | cor.Size = Vector3.new(1, 9, 1) | |
2728 | cor.Transparency = 1 | |
2729 | cor.TopSurface = 0 | |
2730 | corw = Instance.new("Weld",larm) | |
2731 | corw.Part0 = larm | |
2732 | corw.Part1 = cor | |
2733 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2734 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2735 | weld1 = Instance.new("Weld",larm) | |
2736 | weld1.Part0 = balls | |
2737 | weld1.Part1 = larm | |
2738 | weld1.C0 = CFrame.new(0,2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2739 | ||
2740 | x = Instance.new("Sound",char) | |
2741 | x.SoundId = "rbxassetid://670166779" | |
2742 | x.Pitch = 1 | |
2743 | x.Volume = 5 | |
2744 | wait(.0000001) | |
2745 | x:Play() | |
2746 | for i = 1, 15 do | |
2747 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-45)), 0.2) | |
2748 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(45)), 0.6) | |
2749 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2750 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
2751 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2752 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2753 | ||
2754 | if Debounces.on == false then break end | |
2755 | rs:wait(7.7) | |
2756 | end | |
2757 | ||
2758 | wait(1.0) | |
2759 | ||
2760 | ||
2761 | Debounces.on = false | |
2762 | Debounces.Here = false | |
2763 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Kameeeeee","Red") | |
2764 | balls:Destroy() | |
2765 | wait(0.1) | |
2766 | local larm = game.Players.LocalPlayer.Character["Left Arm"] | |
2767 | local balls = Instance.new("Part",larm) | |
2768 | balls.Anchored = false | |
2769 | balls.Material = "Neon" | |
2770 | balls.CanCollide = false | |
2771 | balls.Locked = true | |
2772 | balls.Transparency = 0 | |
2773 | balls.Material = "SmoothPlastic" | |
2774 | balls.Size = Vector3.new(1,1,1) | |
2775 | balls.TopSurface = "SmoothNoOutlines" | |
2776 | balls.BottomSurface = "SmoothNoOutlines" | |
2777 | balls.BrickColor = BrickColor.new("Teal") | |
2778 | ballsm = Instance.new("SpecialMesh",balls) | |
2779 | ballsm.MeshType = "Sphere" | |
2780 | ballsm.Scale = Vector3.new(1,1,1) | |
2781 | local cor = Instance.new("Part", larm) | |
2782 | cor.Name = "Link" | |
2783 | cor.Locked = true | |
2784 | cor.BottomSurface = 0 | |
2785 | cor.CanCollide = false | |
2786 | cor.Size = Vector3.new(1, 9, 1) | |
2787 | cor.Transparency = 1 | |
2788 | cor.TopSurface = 0 | |
2789 | corw = Instance.new("Weld",larm) | |
2790 | corw.Part0 = larm | |
2791 | corw.Part1 = cor | |
2792 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2793 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2794 | weld1 = Instance.new("Weld",larm) | |
2795 | weld1.Part0 = balls | |
2796 | weld1.Part1 = larm | |
2797 | weld1.C0 = CFrame.new(0,1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
2798 | ||
2799 | for i = 1, 15 do | |
2800 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-35)), 0.2) | |
2801 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(45)), 0.6) | |
2802 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2803 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2804 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2805 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2806 | ||
2807 | end | |
2808 | wait(0.5) | |
2809 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Hameeeeee","Red") | |
2810 | wait(0.5) | |
2811 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAAAAAAAAAAAAAAAAAAAA","Red") | |
2812 | ||
2813 | for i = 1, 15 do | |
2814 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.2) | |
2815 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-90)), 0.6) | |
2816 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2817 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2818 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2819 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2820 | ||
2821 | ||
2822 | end | |
2823 | wait(1.6) | |
2824 | shot = shot + 1 | |
2825 | balls:Destroy() | |
2826 | ||
2827 | local rng = Instance.new("Part",larm) | |
2828 | rng.Anchored = true | |
2829 | rng.BrickColor = BrickColor.new("New Yeller") | |
2830 | rng.CanCollide = false | |
2831 | rng.FormFactor = 3 | |
2832 | rng.Name = "Ring" | |
2833 | rng.Size = Vector3.new(8,8,8) | |
2834 | rng.Transparency = 0.35 | |
2835 | rng.TopSurface = 0 | |
2836 | rng.BottomSurface = 0 | |
2837 | rng2 = rng:clone() | |
2838 | rng3 = rng2:clone() | |
2839 | rng4 = rng2:clone() | |
2840 | local rngm = Instance.new("SpecialMesh", rng) | |
2841 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2842 | rngm.Scale = Vector3.new(40,40,4) | |
2843 | rngm2 = rngm:clone() | |
2844 | rngm2.Scale = Vector3.new(20,20,12) | |
2845 | rngm3=rngm2:clone() | |
2846 | rngm3.Parent = rng3 | |
2847 | rngm3.Scale = Vector3.new(32,32,4) | |
2848 | rngm4 = rngm2:clone() | |
2849 | rngm4.Parent = rng4 | |
2850 | rngm4.Scale = Vector3.new(24,24,4) | |
2851 | local bem = Instance.new("Part",larm) | |
2852 | bem.Anchored = true | |
2853 | bem.BrickColor = BrickColor.new("Teal") | |
2854 | bem.CanCollide = true | |
2855 | bem.FormFactor = 3 | |
2856 | bem.Name = "Beam" .. shot | |
2857 | bem.Size = Vector3.new(1,10,10) | |
2858 | bem.Transparency = 0.35 | |
2859 | bem.TopSurface = 0 | |
2860 | bem.BottomSurface = 0 | |
2861 | local bemm = Instance.new("SpecialMesh", bem) | |
2862 | bemm.MeshType = 4 | |
2863 | bemm.Scale = Vector3.new(1, 10, 10) | |
2864 | local out = Instance.new("Part",char) | |
2865 | out.Anchored = true | |
2866 | out.BrickColor = BrickColor.new("Teal") | |
2867 | out.CanCollide = false | |
2868 | out.FormFactor = 3 | |
2869 | out.Name = "Out" | |
2870 | out.Size = Vector3.new(1,10,10) | |
2871 | out.Transparency = 0.35 | |
2872 | out.TopSurface = 0 | |
2873 | out.BottomSurface = 0 | |
2874 | local outm = Instance.new("SpecialMesh", out) | |
2875 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2876 | outm.Scale = Vector3.new(12, 10, 12) | |
2877 | local bnd = Instance.new("Part", larm) | |
2878 | bnd.Anchored = true | |
2879 | bnd.BrickColor = BrickColor.new("Teal") | |
2880 | bnd.CanCollide = false | |
2881 | bnd.FormFactor = 3 | |
2882 | bnd.Name = "Bend" | |
2883 | bnd.Size = Vector3.new(10,10,10) | |
2884 | bnd.Transparency = 1 | |
2885 | bnd.TopSurface = 0 | |
2886 | bnd.BottomSurface = 0 | |
2887 | local bndm = Instance.new("SpecialMesh", bnd) | |
2888 | bndm.MeshType = 3 | |
2889 | bndm.Scale = Vector3.new(10,10,10) | |
2890 | out.CFrame = larm.CFrame * CFrame.new(03, 1.7, 0) | |
2891 | bem.CFrame = out.CFrame * CFrame.new(03, -0.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2892 | bnd.CFrame = bem.CFrame * CFrame.new(0,0,0) | |
2893 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2894 | rng3.CFrame = rng.CFrame * CFrame.new(3, -.5, 0) | |
2895 | rng4.CFrame = rng.CFrame * CFrame.new(3, -1, 0) | |
2896 | Debounces.Shewt = true | |
2897 | coroutine.wrap(function() | |
2898 | for i = 1, 20, 0.2 do | |
2899 | rngm.Scale = Vector3.new(16 + i*6, 10 + i*6, 2) | |
2900 | rngm3.Scale = Vector3.new(18 + i*8, 8 + i*8, 2) | |
2901 | rngm4.Scale = Vector3.new(20 + i*10, 6 + i*10, 2) | |
2902 | rng.Transparency = i/20 | |
2903 | rng3.Transparency = 1/24 | |
2904 | rng4.Transparency = i/26 | |
2905 | wait() | |
2906 | end | |
2907 | wait(3.0) | |
2908 | rng:Destroy() | |
2909 | end)() | |
2910 | if Debounces.Shewt == true then | |
2911 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2912 | hit = ht.Parent | |
2913 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2914 | if HasntTouched(hit.Name) == true and deb == false then | |
2915 | deb = true | |
2916 | coroutine.wrap(function() | |
2917 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2918 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2919 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999)) | |
2920 | end)() | |
2921 | table.insert(Touche, hit.Name) | |
2922 | deb = false | |
2923 | end | |
2924 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2925 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2926 | deb = true | |
2927 | coroutine.wrap(function() | |
2928 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2929 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2930 | wait(1) | |
2931 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2932 | end)() | |
2933 | table.insert(Touche, hit.Parent.Name) | |
2934 | deb = false | |
2935 | for i, v in pairs(Touche) do | |
2936 | print(v) | |
2937 | end | |
2938 | end | |
2939 | end | |
2940 | end) | |
2941 | end | |
2942 | for i = 0, 260, 8 do | |
2943 | bem.Size = Vector3.new(i, 3,3) | |
2944 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2945 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2946 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2947 | bnd.Size = Vector3.new(10,10,10) | |
2948 | bndm.Scale = Vector3.new(10,10,10) | |
2949 | if i % 10 == 0 then | |
2950 | local newRng = rng2:Clone() | |
2951 | newRng.Parent = larm | |
2952 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2953 | local newRngm = rngm2:clone() | |
2954 | newRngm.Parent=newRng | |
2955 | coroutine.wrap(function() | |
2956 | for i = 1, 10, 0.2 do | |
2957 | newRngm.Scale = Vector3.new(12 + i*2, 12 + i*2, 3) | |
2958 | newRng.Transparency = i/10 | |
2959 | wait() | |
2960 | end | |
2961 | wait(3.0) | |
2962 | newRng:Destroy() | |
2963 | pt:Destroy() | |
2964 | pt2:Destroy() | |
2965 | end)() | |
2966 | end | |
2967 | wait() | |
2968 | end | |
2969 | wait(3.0) | |
2970 | Debounces.Shewt = false | |
2971 | bem:Destroy() | |
2972 | out:Destroy() | |
2973 | bnd:Destroy() | |
2974 | Debounces.Ready = false | |
2975 | for i, v in pairs(Touche) do | |
2976 | table.remove(Touche, i) | |
2977 | end | |
2978 | wait() | |
2979 | table.insert(Touche, char.Name) | |
2980 | Debounces.NoIdl = false | |
2981 | if Debounces.CanAttack == false then | |
2982 | Debounces.CanAttack = true | |
2983 | end | |
2984 | end | |
2985 | end | |
2986 | end) | |
2987 | ---------------------------------------------------- | |
2988 | --[[mouse.KeyDown:connect(function(key) | |
2989 | if key == "h" then | |
2990 | if Debounces.CanAttack == true then | |
2991 | Debounces.CanAttack = false | |
2992 | Debounces.NoIdl = true | |
2993 | Debounces.on = true | |
2994 | local shell = Instance.new("Part",torso) | |
2995 | shell.BrickColor = BrickColor.new("New Yeller") | |
2996 | shell.Anchored = false | |
2997 | shell.CanCollide = false | |
2998 | shell.Locked = true | |
2999 | shell.TopSurface = "SmoothNoOutlines" | |
3000 | shell.BottomSurface = "SmoothNoOutlines" | |
3001 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
3002 | shell.FormFactor = 3 | |
3003 | local shellm = Instance.new("SpecialMesh",shell) | |
3004 | shellm.MeshType = "Sphere" | |
3005 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
3006 | Omega = function() | |
3007 | local X = Instance.new("Part",char) | |
3008 | local O = Instance.new("ObjectValue",X) | |
3009 | O.Name = "creator" | |
3010 | X.Locked = true | |
3011 | X.Name = "Shell" | |
3012 | X.Anchored = false | |
3013 | X.CanCollide = false | |
3014 | X.Transparency = 0.5 | |
3015 | X.Reflectance = 0 | |
3016 | X.BottomSurface = 0 | |
3017 | X.TopSurface = 0 | |
3018 | X.Shape = 0 | |
3019 | local V = Instance.new("ObjectValue",X) | |
3020 | V.Value = char | |
3021 | V.Name = "creator" | |
3022 | X.BrickColor = BrickColor.new("New Yeller") | |
3023 | X.Size = Vector3.new(40,40,40) | |
3024 | --X.Material = "Neon" | |
3025 | local Z = Instance.new("SpecialMesh",X) | |
3026 | Z.MeshType = "Sphere" | |
3027 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
3028 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
3029 | local bv = Instance.new("BodyVelocity",X) | |
3030 | bv.maxForce = Vector3.new(99999,99999,99999) | |
3031 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
3032 | bv.velocity = root.CFrame.lookVector*10 | |
3033 | Explode = X.Touched:connect(function(hit) | |
3034 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
3035 | local cf = X.CFrame | |
3036 | bv:Destroy() | |
3037 | X.Anchored = true | |
3038 | Z:Remove() | |
3039 | Explode:disconnect() | |
3040 | X.Size = Vector3.new(3,3,3) | |
3041 | X.Touched:connect(function(hit) end) | |
3042 | X.CanCollide = false | |
3043 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
3044 | if v:FindFirstChild('Humanoid') then | |
3045 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
3046 | end | |
3047 | end | |
3048 | for i = 1, (40) do rs:wait() | |
3049 | X.Transparency = X.Transparency + (1/40) | |
3050 | X.Size = X.Size + Vector3.new(1,1,1) | |
3051 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
3052 | end | |
3053 | X:Destroy() | |
3054 | end | |
3055 | end) | |
3056 | end | |
3057 | for i = 1,200 do | |
3058 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3059 | 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) | |
3060 | 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) | |
3061 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3062 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3063 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3064 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3065 | if Debounces.on == false then break end | |
3066 | rs:wait() | |
3067 | end | |
3068 | for i = 1,30 do | |
3069 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
3070 | 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) | |
3071 | 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) | |
3072 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3073 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3074 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3075 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3076 | if Debounces.on == false then break end | |
3077 | rs:wait() | |
3078 | end | |
3079 | for i = 1,40 do | |
3080 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
3081 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
3082 | 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) | |
3083 | 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) | |
3084 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3085 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3086 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3087 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3088 | if Debounces.on == false then break end | |
3089 | rs:wait() | |
3090 | end | |
3091 | for i = 1,40 do | |
3092 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
3093 | 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) | |
3094 | 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) | |
3095 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3096 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3097 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3098 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3099 | if Debounces.on == false then break end | |
3100 | rs:wait() | |
3101 | end | |
3102 | for i = 1,60 do | |
3103 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3104 | 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) | |
3105 | 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) | |
3106 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3107 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3108 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3109 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3110 | if Debounces.on == false then break end | |
3111 | rs:wait() | |
3112 | end | |
3113 | for i = 1,60 do | |
3114 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3115 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
3116 | 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) | |
3117 | 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) | |
3118 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3119 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3120 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3121 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3122 | if Debounces.on == false then break end | |
3123 | rs:wait() | |
3124 | end | |
3125 | if Debounces.CanAttack == false then | |
3126 | Debounces.CanAttack = true | |
3127 | Debounces.NoIdl = false | |
3128 | Debounces.on = false | |
3129 | end | |
3130 | end | |
3131 | end | |
3132 | end)]] | |
3133 | ---------------------------------------------------- | |
3134 | Charging = false | |
3135 | mouse.KeyDown:connect(function(key) | |
3136 | if key == "r" then | |
3137 | if Charging == false then | |
3138 | Charging = true | |
3139 | if Debounces.CanAttack == true then | |
3140 | Debounces.CanAttack = false | |
3141 | Debounces.NoIdl = true | |
3142 | Debounces.on = true | |
3143 | for i = 1,20 do | |
3144 | 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) | |
3145 | 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) | |
3146 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3147 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
3148 | 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) | |
3149 | 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) | |
3150 | if Debounces.on == false then break end | |
3151 | rs:wait() | |
3152 | end | |
3153 | --[[for i = 1,20 do | |
3154 | 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) | |
3155 | 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) | |
3156 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
3157 | 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) | |
3158 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
3159 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
3160 | if Debounces.on == false then break end | |
3161 | rs:wait() | |
3162 | end]]-- | |
3163 | pt=Instance.new('Part',torso) | |
3164 | pt.Anchored=true | |
3165 | pt.CanCollide=false | |
3166 | pt.Locked = true | |
3167 | pt.FormFactor='Custom' | |
3168 | pt.Size=Vector3.new(1,1,1) | |
3169 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3170 | pt.Transparency=.6 | |
3171 | pt.BrickColor=BrickColor.new('New Yeller') | |
3172 | msh=Instance.new('SpecialMesh',pt) | |
3173 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
3174 | msh.Scale=Vector3.new(8,4,8) | |
3175 | pt2=pt:clone() | |
3176 | pt2.Parent = torso | |
3177 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3178 | pt2.BrickColor=BrickColor.new("New Yeller") | |
3179 | msh2=msh:clone() | |
3180 | msh2.Parent=pt2 | |
3181 | msh2.Scale=Vector3.new(10,5,10) | |
3182 | ||
3183 | 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} | |
3184 | ||
3185 | bl = Instance.new("Part", char) | |
3186 | bl.Locked = true | |
3187 | bl.Name = "Shell" | |
3188 | bl.BrickColor = BrickColor.new("New Yeller") | |
3189 | bl.Anchored = true | |
3190 | bl.CanCollide = false | |
3191 | bl.Transparency = 0 | |
3192 | bl.Reflectance = 0 | |
3193 | bl.BottomSurface = 0 | |
3194 | bl.TopSurface = 0 | |
3195 | bl.Shape = 0 | |
3196 | blm = Instance.new("SpecialMesh",bl) | |
3197 | blm.MeshType = "Sphere" | |
3198 | blm.Scale = Vector3.new(1,1,1) | |
3199 | blm.MeshId = "rbxassetid://9982590" | |
3200 | ||
3201 | coroutine.resume(coroutine.create(function() | |
3202 | for i=1, math.huge, 4 do | |
3203 | if Charging == true then | |
3204 | rs:wait() | |
3205 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
3206 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
3207 | bl.Transparency = bl.Transparency + 0.005 | |
3208 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
3209 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
3210 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
3211 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
3212 | elseif Charging == false then break | |
3213 | end | |
3214 | end | |
3215 | end)) | |
3216 | ||
3217 | repeat | |
3218 | local p = Instance.new('Part',torso) | |
3219 | p.formFactor = 'Custom' | |
3220 | p.Size = Vector3.new(1,1,1) | |
3221 | p.BrickColor = workspace.Base.BrickColor | |
3222 | p.CanCollide = false | |
3223 | p.Transparency = 0 | |
3224 | p.Anchored = true | |
3225 | p.Locked=true | |
3226 | p.Material = workspace.Base.Material | |
3227 | s = math.random(1,40)/10 | |
3228 | local m = Instance.new("BlockMesh",p) | |
3229 | m.Scale = Vector3.new(s,s,s) | |
3230 | 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()) | |
3231 | --[[coroutine.wrap(function() | |
3232 | wait(2) | |
3233 | while Charging == true do | |
3234 | wait(2) | |
3235 | GroundWave1() | |
3236 | wait(2) | |
3237 | end | |
3238 | end)()]]-- | |
3239 | Spawn(function() | |
3240 | while rs:wait() do | |
3241 | if Charging == true then | |
3242 | 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))) | |
3243 | 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))) | |
3244 | 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)) | |
3245 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
3246 | 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))) | |
3247 | 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))) | |
3248 | elseif Charging == false then break | |
3249 | end | |
3250 | end | |
3251 | end) | |
3252 | Spawn(function() | |
3253 | while rs:wait() do | |
3254 | if p.Transparency >= 1 then p:Destroy() break end | |
3255 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
3256 | p.Transparency = p.Transparency+0.01 | |
3257 | end | |
3258 | end) | |
3259 | wait(.3) | |
3260 | until Charging == false | |
3261 | end | |
3262 | end | |
3263 | end | |
3264 | end) | |
3265 | ---------------------------------------------------- | |
3266 | mouse.KeyUp:connect(function(key) | |
3267 | if key == "r" then | |
3268 | if Charging == true then | |
3269 | Charging = false | |
3270 | pt:Destroy() | |
3271 | pt2:Destroy() | |
3272 | bl:Destroy() | |
3273 | if Debounces.CanAttack == false then | |
3274 | Debounces.CanAttack = true | |
3275 | Debounces.NoIdl = false | |
3276 | Debounces.on = false | |
3277 | end | |
3278 | end | |
3279 | end | |
3280 | end) | |
3281 | ---------------------------------------------------- | |
3282 | mouse.KeyDown:connect(function(key) | |
3283 | if key == "q" then | |
3284 | - | if key == "g" then |
3284 | + | |
3285 | Debounces.CanAttack = false | |
3286 | Debounces.NoIdl = true | |
3287 | Debounces.on = true | |
3288 | local shell = Instance.new("Part",torso) | |
3289 | shell.BrickColor = BrickColor.new("New Yeller") | |
3290 | shell.Anchored = true | |
3291 | shell.CanCollide = false | |
3292 | shell.Locked = true | |
3293 | shell.TopSurface = "SmoothNoOutlines" | |
3294 | shell.BottomSurface = "SmoothNoOutlines" | |
3295 | shell.Size = Vector3.new(1,1,1) | |
3296 | shellm = Instance.new("SpecialMesh",shell) | |
3297 | shellm.MeshType = "Sphere" | |
3298 | shellm.Scale = Vector3.new(1,1,1) | |
3299 | local shell2 = Instance.new("Part",torso) | |
3300 | shell2.BrickColor = BrickColor.new("Recarnation Pink") | |
3301 | - | shell2.BrickColor = BrickColor.new("New Yeller") |
3301 | + | |
3302 | shell2.CanCollide = false | |
3303 | shell2.Locked = true | |
3304 | shell2.TopSurface = "SmoothNoOutlines" | |
3305 | shell2.BottomSurface = "SmoothNoOutlines" | |
3306 | shell2.Size = Vector3.new(1,1,1) | |
3307 | shellm2 = Instance.new("SpecialMesh",shell2) | |
3308 | shellm2.MeshType = "Sphere" | |
3309 | shellm2.Scale = Vector3.new(1,1,1) | |
3310 | ||
3311 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
3312 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
3313 | local List = {} | |
3314 | for i,v in pairs(workspace:GetChildren())do | |
3315 | if v:IsA("Model")then | |
3316 | if v:findFirstChild("Torso")then | |
3317 | if v ~= char then | |
3318 | if(v.Torso.Position -Position).magnitude <= Distance then | |
3319 | table.insert(List,v) | |
3320 | end | |
3321 | end | |
3322 | end | |
3323 | end | |
3324 | end | |
3325 | return List | |
3326 | end | |
3327 | ||
3328 | Shell = function() | |
3329 | local X = Instance.new("Part",char) | |
3330 | local O = Instance.new("ObjectValue",X) | |
3331 | O.Name = "creator" | |
3332 | X.Locked = true | |
3333 | X.Name = "Shell" | |
3334 | X.Anchored = false | |
3335 | X.CanCollide = false | |
3336 | X.Transparency = 0 | |
3337 | X.Reflectance = 0 | |
3338 | X.BottomSurface = 0 | |
3339 | X.TopSurface = 0 | |
3340 | X.Shape = 0 | |
3341 | local V = Instance.new("ObjectValue",X) | |
3342 | V.Value = char | |
3343 | V.Name = "creator" | |
3344 | X.BrickColor = BrickColor.new("New Yeller") | |
3345 | X.Size = Vector3.new(1,1,1) | |
3346 | --X.Material = "Neon" | |
3347 | local Z = Instance.new("SpecialMesh",X) | |
3348 | Z.MeshType = "Sphere" | |
3349 | Z.Scale = Vector3.new(1,1,1) | |
3350 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
3351 | local bv = Instance.new("BodyVelocity",X) | |
3352 | bv.maxForce = Vector3.new(99999,99999,99999) | |
3353 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
3354 | bv.velocity = root.CFrame.lookVector*65 | |
3355 | Explode = X.Touched:connect(function(hit) | |
3356 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
3357 | local cf = X.CFrame | |
3358 | bv:Destroy() | |
3359 | X.Anchored = true | |
3360 | Z:Remove() | |
3361 | Explode:disconnect() | |
3362 | X.Size = Vector3.new(3,3,3) | |
3363 | X.Touched:connect(function(hit) end) | |
3364 | X.CanCollide = false | |
3365 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
3366 | if v:FindFirstChild('Humanoid') then | |
3367 | v.Humanoid:TakeDamage(math.random(99999,99999)) | |
3368 | end | |
3369 | end | |
3370 | for i = 1, (40) do rs:wait() | |
3371 | X.Transparency = X.Transparency + (1/40) | |
3372 | X.Size = X.Size + Vector3.new(1,1,1) | |
3373 | X.CFrame = cf | |
3374 | end | |
3375 | X:Destroy() | |
3376 | end | |
3377 | end) | |
3378 | end | |
3379 | Shell() | |
3380 | for i = 1, 10 do | |
3381 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3382 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3383 | 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) | |
3384 | 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) | |
3385 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
3386 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
3387 | 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) | |
3388 | 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) | |
3389 | if Debounces.on == false then break end | |
3390 | rs:wait() | |
3391 | end | |
3392 | Shell() | |
3393 | shell.Transparency = 1 | |
3394 | for i = 1, 10 do | |
3395 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3396 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3397 | 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) | |
3398 | 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) | |
3399 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3400 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3401 | 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) | |
3402 | 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) | |
3403 | if Debounces.on == false then break end | |
3404 | rs:wait() | |
3405 | end | |
3406 | Shell() | |
3407 | shell.Transparency = 0 | |
3408 | shell2.Transparency = 1 | |
3409 | for i = 1, 10 do | |
3410 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3411 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3412 | 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) | |
3413 | 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) | |
3414 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3415 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3416 | 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) | |
3417 | 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) | |
3418 | if Debounces.on == false then break end | |
3419 | rs:wait() | |
3420 | end | |
3421 | Shell() | |
3422 | shell2.Transparency = 0 | |
3423 | shell.Transparency = 1 | |
3424 | for i = 1, 10 do | |
3425 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3426 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3427 | 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) | |
3428 | 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) | |
3429 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3430 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3431 | 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) | |
3432 | 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) | |
3433 | if Debounces.on == false then break end | |
3434 | rs:wait() | |
3435 | end | |
3436 | Shell() | |
3437 | shell.Transparency = 0 | |
3438 | shell2.Transparency = 1 | |
3439 | for i = 1, 10 do | |
3440 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3441 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3442 | 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) | |
3443 | 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) | |
3444 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3445 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3446 | 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) | |
3447 | 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) | |
3448 | if Debounces.on == false then break end | |
3449 | rs:wait() | |
3450 | end | |
3451 | Shell() | |
3452 | shell2.Transparency = 0 | |
3453 | shell.Transparency = 1 | |
3454 | for i = 1, 10 do | |
3455 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3456 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3457 | 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) | |
3458 | 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) | |
3459 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3460 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3461 | 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) | |
3462 | 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) | |
3463 | if Debounces.on == false then break end | |
3464 | rs:wait() | |
3465 | end | |
3466 | Shell() | |
3467 | shell.Transparency = 0 | |
3468 | shell2.Transparency = 1 | |
3469 | for i = 1, 10 do | |
3470 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3471 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3472 | 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) | |
3473 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
3474 | 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) | |
3475 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3476 | 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) | |
3477 | 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) | |
3478 | if Debounces.on == false then break end | |
3479 | rs:wait() | |
3480 | end | |
3481 | Shell() | |
3482 | shell2.Transparency = 0 | |
3483 | shell.Transparency = 1 | |
3484 | for i = 1, 10 do | |
3485 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3486 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3487 | 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) | |
3488 | 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) | |
3489 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3490 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3491 | 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) | |
3492 | 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) | |
3493 | if Debounces.on == false then break end | |
3494 | rs:wait() | |
3495 | end | |
3496 | Shell() | |
3497 | shell.Transparency = 0 | |
3498 | shell2.Transparency = 1 | |
3499 | for i = 1, 10 do | |
3500 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3501 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3502 | 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) | |
3503 | 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) | |
3504 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3506 | 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) | |
3507 | 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) | |
3508 | if Debounces.on == false then break end | |
3509 | rs:wait() | |
3510 | end | |
3511 | Shell() | |
3512 | shell2.Transparency = 0 | |
3513 | shell.Transparency = 1 | |
3514 | for i = 1, 10 do | |
3515 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3516 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3517 | 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) | |
3518 | 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) | |
3519 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3520 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3521 | 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) | |
3522 | 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) | |
3523 | if Debounces.on == false then break end | |
3524 | rs:wait() | |
3525 | end | |
3526 | Shell() | |
3527 | shell.Transparency = 0 | |
3528 | shell2.Transparency = 1 | |
3529 | for i = 1, 10 do | |
3530 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3531 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3532 | 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) | |
3533 | 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) | |
3534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3535 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3536 | 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) | |
3537 | 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) | |
3538 | if Debounces.on == false then break end | |
3539 | rs:wait() | |
3540 | end | |
3541 | Shell() | |
3542 | shell2.Transparency = 0 | |
3543 | shell.Transparency = 1 | |
3544 | for i = 1, 10 do | |
3545 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3546 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3547 | 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) | |
3548 | 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) | |
3549 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3550 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3551 | 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) | |
3552 | 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) | |
3553 | if Debounces.on == false then break end | |
3554 | rs:wait() | |
3555 | end | |
3556 | Shell() | |
3557 | shell.Transparency = 0 | |
3558 | shell2.Transparency = 1 | |
3559 | for i = 1, 10 do | |
3560 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3561 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3562 | 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) | |
3563 | 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) | |
3564 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3565 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3566 | 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) | |
3567 | 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) | |
3568 | if Debounces.on == false then break end | |
3569 | rs:wait() | |
3570 | end | |
3571 | shell.Transparency = 1 | |
3572 | if Debounces.CanAttack == false then | |
3573 | Debounces.CanAttack = true | |
3574 | Debounces.NoIdl = false | |
3575 | Debounces.on = false | |
3576 | end | |
3577 | end | |
3578 | end | |
3579 | end) | |
3580 | ---------------------------------------------------- | |
3581 | Search = false | |
3582 | mouse.KeyDown:connect(function(key) | |
3583 | if key == "n" then | |
3584 | if Search == false then | |
3585 | Search = true | |
3586 | for i,v in pairs(game.Players:getPlayers()) do | |
3587 | if v.Name~=char.Name then | |
3588 | for j,k in pairs(v.Character:GetChildren()) do | |
3589 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
3590 | bawx=Instance.new("SelectionBox",cam) | |
3591 | bawx.Color = BrickColor.new("Bright red") | |
3592 | bawx.Transparency = .5 | |
3593 | bawx.Adornee = k | |
3594 | end | |
3595 | end | |
3596 | end | |
3597 | end | |
3598 | elseif Search == true then | |
3599 | Search = false | |
3600 | for i, v in pairs(cam:GetChildren()) do | |
3601 | if v:IsA("SelectionBox") then | |
3602 | v:Destroy() | |
3603 | end | |
3604 | end | |
3605 | end | |
3606 | end | |
3607 | end) | |
3608 | ---------------------------------------------------- | |
3609 | Grab = false | |
3610 | mouse.KeyDown:connect(function(key) | |
3611 | if key == "z" then | |
3612 | Debounces.on = true | |
3613 | Debounces.NoIdl = true | |
3614 | Debounces.ks = true | |
3615 | if Grab == false then | |
3616 | gp = nil | |
3617 | for i = 1, 20 do | |
3618 | 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) | |
3619 | 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) | |
3620 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3621 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3622 | 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) | |
3623 | 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) | |
3624 | if Debounces.on == false then break end | |
3625 | rs:wait() | |
3626 | end | |
3627 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3628 | ht = hit.Parent | |
3629 | hum1=ht:FindFirstChild('Humanoid') | |
3630 | if hum1 ~= nil then | |
3631 | if Debounces.ks==true then | |
3632 | z = Instance.new("Sound",hed) | |
3633 | z.SoundId = "rbxassetid://169380525" | |
3634 | z.Volume = 1 | |
3635 | z:Play() | |
3636 | Debounces.ks=false | |
3637 | end | |
3638 | hum1.PlatformStand=true | |
3639 | gp = ht | |
3640 | Grab = true | |
3641 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
3642 | asd.Parent = larm | |
3643 | asd.Name = "asd" | |
3644 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
3645 | --[[elseif hum1 == nil then | |
3646 | con1:disconnect() | |
3647 | wait() return]]-- | |
3648 | end | |
3649 | end) | |
3650 | for i = 1, 20 do | |
3651 | 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) | |
3652 | 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) | |
3653 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3654 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3655 | 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) | |
3656 | 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) | |
3657 | if Debounces.on == false then break end | |
3658 | rs:wait() | |
3659 | end | |
3660 | if hum1 == nil then | |
3661 | Debounces.on = false | |
3662 | Debounces.NoIdl = false | |
3663 | end | |
3664 | con1:disconnect() | |
3665 | elseif Grab == true then | |
3666 | Grab = false | |
3667 | Punch() | |
3668 | z = Instance.new("Sound",hed) | |
3669 | z.SoundId = "rbxassetid://169380525" | |
3670 | z.Pitch = ptz[math.random(1,#ptz)] | |
3671 | z.Volume = 1 | |
3672 | z:Play() | |
3673 | for i = 1, 10 do | |
3674 | 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) | |
3675 | 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) | |
3676 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3677 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3678 | 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) | |
3679 | 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) | |
3680 | if Debounces.on == false then break end | |
3681 | rs:wait() | |
3682 | end | |
3683 | Punch() | |
3684 | z = Instance.new("Sound",hed) | |
3685 | z.SoundId = "rbxassetid://169380525" | |
3686 | z.Pitch = ptz[math.random(1,#ptz)] | |
3687 | z.Volume = 1 | |
3688 | z:Play() | |
3689 | for i = 1, 10 do | |
3690 | 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) | |
3691 | 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) | |
3692 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3693 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3694 | 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) | |
3695 | 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) | |
3696 | if Debounces.on == false then break end | |
3697 | rs:wait() | |
3698 | end | |
3699 | Punch() | |
3700 | z = Instance.new("Sound",hed) | |
3701 | z.SoundId = "rbxassetid://169380525" | |
3702 | z.Pitch = ptz[math.random(1,#ptz)] | |
3703 | z.Volume = 1 | |
3704 | z:Play() | |
3705 | for i = 1, 10 do | |
3706 | 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) | |
3707 | 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) | |
3708 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3709 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3710 | 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) | |
3711 | 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) | |
3712 | if Debounces.on == false then break end | |
3713 | rs:wait() | |
3714 | end | |
3715 | Punch() | |
3716 | z = Instance.new("Sound",hed) | |
3717 | z.SoundId = "rbxassetid://169380525" | |
3718 | z.Pitch = ptz[math.random(1,#ptz)] | |
3719 | z.Volume = 1 | |
3720 | z:Play() | |
3721 | for i = 1, 10 do | |
3722 | 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) | |
3723 | 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) | |
3724 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3725 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3726 | 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) | |
3727 | 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) | |
3728 | if Debounces.on == false then break end | |
3729 | rs:wait() | |
3730 | end | |
3731 | Punch() | |
3732 | z = Instance.new("Sound",hed) | |
3733 | z.SoundId = "rbxassetid://169380525" | |
3734 | z.Pitch = ptz[math.random(1,#ptz)] | |
3735 | z.Volume = 1 | |
3736 | z:Play() | |
3737 | for i = 1, 10 do | |
3738 | 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) | |
3739 | 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) | |
3740 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3741 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3742 | 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) | |
3743 | 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) | |
3744 | if Debounces.on == false then break end | |
3745 | rs:wait() | |
3746 | end | |
3747 | Punch() | |
3748 | z = Instance.new("Sound",hed) | |
3749 | z.SoundId = "rbxassetid://169380525" | |
3750 | z.Pitch = ptz[math.random(1,#ptz)] | |
3751 | z.Volume = 1 | |
3752 | z:Play() | |
3753 | for i = 1, 10 do | |
3754 | 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) | |
3755 | 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) | |
3756 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3757 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3758 | 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) | |
3759 | 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) | |
3760 | if Debounces.on == false then break end | |
3761 | rs:wait() | |
3762 | end | |
3763 | Punch() | |
3764 | z = Instance.new("Sound",hed) | |
3765 | z.SoundId = "rbxassetid://169380525" | |
3766 | z.Pitch = ptz[math.random(1,#ptz)] | |
3767 | z.Volume = 1 | |
3768 | z:Play() | |
3769 | for i = 1, 10 do | |
3770 | 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) | |
3771 | 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) | |
3772 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3773 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3774 | 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) | |
3775 | 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) | |
3776 | if Debounces.on == false then break end | |
3777 | rs:wait() | |
3778 | end | |
3779 | Punch() | |
3780 | z = Instance.new("Sound",hed) | |
3781 | z.SoundId = "rbxassetid://169380525" | |
3782 | z.Pitch = ptz[math.random(1,#ptz)] | |
3783 | z.Volume = 1 | |
3784 | z:Play() | |
3785 | for i = 1, 10 do | |
3786 | 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) | |
3787 | 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) | |
3788 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3789 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3790 | 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) | |
3791 | 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) | |
3792 | if Debounces.on == false then break end | |
3793 | rs:wait() | |
3794 | end | |
3795 | Punch() | |
3796 | z = Instance.new("Sound",hed) | |
3797 | z.SoundId = "rbxassetid://169380525" | |
3798 | z.Pitch = ptz[math.random(1,#ptz)] | |
3799 | z.Volume = 1 | |
3800 | z:Play() | |
3801 | for i = 1, 10 do | |
3802 | 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) | |
3803 | 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) | |
3804 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3805 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3806 | 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) | |
3807 | 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) | |
3808 | if Debounces.on == false then break end | |
3809 | rs:wait() | |
3810 | end | |
3811 | Punch() | |
3812 | z = Instance.new("Sound",hed) | |
3813 | z.SoundId = "rbxassetid://169380525" | |
3814 | z.Pitch = ptz[math.random(1,#ptz)] | |
3815 | z.Volume = 1 | |
3816 | z:Play() | |
3817 | for i = 1, 10 do | |
3818 | 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) | |
3819 | 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) | |
3820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3822 | 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) | |
3823 | 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) | |
3824 | if Debounces.on == false then break end | |
3825 | rs:wait() | |
3826 | end | |
3827 | Punch() | |
3828 | z = Instance.new("Sound",hed) | |
3829 | z.SoundId = "rbxassetid://169380525" | |
3830 | z.Pitch = ptz[math.random(1,#ptz)] | |
3831 | z.Volume = 1 | |
3832 | z:Play() | |
3833 | for i = 1, 10 do | |
3834 | 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) | |
3835 | 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) | |
3836 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3837 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3838 | 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) | |
3839 | 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) | |
3840 | if Debounces.on == false then break end | |
3841 | rs:wait() | |
3842 | end | |
3843 | Punch() | |
3844 | z = Instance.new("Sound",hed) | |
3845 | z.SoundId = "rbxassetid://169380525" | |
3846 | z.Pitch = ptz[math.random(1,#ptz)] | |
3847 | z.Volume = 1 | |
3848 | z:Play() | |
3849 | for i = 1, 10 do | |
3850 | 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) | |
3851 | 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) | |
3852 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3853 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3854 | 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) | |
3855 | 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) | |
3856 | if Debounces.on == false then break end | |
3857 | rs:wait() | |
3858 | end | |
3859 | con1:disconnect() | |
3860 | Debounces.on = false | |
3861 | Debounces.NoIdl = false | |
3862 | if gp ~= nil then | |
3863 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3864 | for i,v in pairs(larm:GetChildren()) do | |
3865 | if v.Name == "asd" and v:IsA("Weld") then | |
3866 | v:Remove() | |
3867 | end | |
3868 | end | |
3869 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3870 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3871 | bv.P = 125000 | |
3872 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3873 | hum1=nil | |
3874 | ht=nil | |
3875 | Debounces.on = false | |
3876 | Debounces.NoIdl = false | |
3877 | elseif ht == nil then wait() | |
3878 | Grab = false | |
3879 | Debounces.on = false | |
3880 | Debounces.NoIdl = false | |
3881 | end | |
3882 | end | |
3883 | end | |
3884 | end) | |
3885 | ---------------------------------------------------- | |
3886 | mouse.KeyDown:connect(function(key) | |
3887 | if string.byte(key) == 52 then | |
3888 | char.Humanoid.WalkSpeed = 60 | |
3889 | end | |
3890 | end) | |
3891 | mouse.KeyUp:connect(function(key) | |
3892 | if string.byte(key) == 52 then | |
3893 | char.Humanoid.WalkSpeed = 8 | |
3894 | end | |
3895 | end) | |
3896 | ------------------------------- | |
3897 | local animpose = "Idle" | |
3898 | local lastanimpose = "Idle" | |
3899 | local sine = 0 | |
3900 | local change = 1 | |
3901 | local val = 0 | |
3902 | local ffing = false | |
3903 | ------------------------------- | |
3904 | game:GetService("RunService").RenderStepped:connect(function() | |
3905 | --[[if char.Humanoid.Jump == true then | |
3906 | jump = true | |
3907 | else | |
3908 | jump = false | |
3909 | end]] | |
3910 | char.Humanoid.FreeFalling:connect(function(f) | |
3911 | if f then | |
3912 | ffing = true | |
3913 | else | |
3914 | ffing = false | |
3915 | end | |
3916 | end) | |
3917 | sine = sine + change | |
3918 | if jumpn == true then | |
3919 | animpose = "Jumping" | |
3920 | elseif ffing == true then | |
3921 | animpose = "Freefalling" | |
3922 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3923 | animpose = "Idle" | |
3924 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3925 | animpose = "Walking" | |
3926 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3927 | animpose = "Running" | |
3928 | end | |
3929 | if animpose ~= lastanimpose then | |
3930 | sine = 0 | |
3931 | if Debounces.NoIdl == false then | |
3932 | if animpose == "Idle" then | |
3933 | for i = 1, 2 do | |
3934 | 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) | |
3935 | 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) | |
3936 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3937 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3938 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3939 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3940 | end | |
3941 | elseif animpose == "Walking" then | |
3942 | for i = 1, 2 do | |
3943 | 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) | |
3944 | 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) | |
3945 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3946 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3947 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3948 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3949 | end | |
3950 | elseif animpose == "Running" then | |
3951 | for i = 1, 2 do | |
3952 | 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) | |
3953 | 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) | |
3954 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3955 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3956 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3957 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3958 | wait() | |
3959 | end | |
3960 | end | |
3961 | else | |
3962 | end | |
3963 | end | |
3964 | lastanimpose = animpose | |
3965 | if Debounces.NoIdl == false then | |
3966 | if animpose == "Idle" then | |
3967 | change = 0.5 | |
3968 | 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) | |
3969 | 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) | |
3970 | 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) | |
3971 | 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) | |
3972 | 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) | |
3973 | 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) | |
3974 | elseif animpose == "Walking" then | |
3975 | change = 1 | |
3976 | 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) | |
3977 | 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) | |
3978 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3979 | 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) | |
3980 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3981 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3982 | elseif animpose == "Running" then | |
3983 | change = 1 | |
3984 | 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) | |
3985 | 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) | |
3986 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3987 | 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) | |
3988 | 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) | |
3989 | 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) | |
3990 | end | |
3991 | end | |
3992 | end) | |
3993 | ||
3994 | hum.MaxHealth = 9001 | |
3995 | wait(3) | |
3996 | hum.Health = 9001 | |
3997 | god = game.Players.LocalPlayer -- who's chat the commands respond to | |
3998 | function onChatted(msg) | |
3999 | if msg == "ssjb" then | |
4000 | wait(1.0) | |
4001 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Time To Go God Level","Red") | |
4002 | wait(3.0) | |
4003 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
4004 | if c.className == "Hat" then -- base form hair. | |
4005 | c.Handle.Transparency = 0 -- Put after transformation | |
4006 | end | |
4007 | if c.Name == "Hair" then | |
4008 | c:Remove() | |
4009 | end | |
4010 | end | |
4011 | wait(0.00001) | |
4012 | local m = Instance.new("Model") | |
4013 | m.Name = "Hair" | |
4014 | b1 = Instance.new("SpecialMesh", p) | |
4015 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
4016 | b1.TextureId = "" | |
4017 | b1.MeshType = Enum.MeshType.FileMesh | |
4018 | b1.Name = "Mesh" | |
4019 | b1.VertexColor = Vector3.new(0, 0, 0) | |
4020 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
4021 | p2 = Instance.new("Part", m) | |
4022 | p2.BrickColor = BrickColor.new("Pastel brown") | |
4023 | p2.Transparency = 1 | |
4024 | p2.Name = "Head" | |
4025 | p2.FormFactor = Enum.FormFactor.Symmetric | |
4026 | p2.Size = Vector3.new(2, 1, 1) | |
4027 | p2.CFrame = CFrame.new(9,9,9) | |
4028 | p2.CanCollide = false | |
4029 | p2.Locked = true | |
4030 | p2.TopSurface = Enum.SurfaceType.Smooth | |
4031 | b2 = Instance.new("SpecialMesh", p2) | |
4032 | b2.MeshType = Enum.MeshType.Head | |
4033 | b2.Name = "Mesh" | |
4034 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4035 | p3 = Instance.new("Part", m) | |
4036 | p3.BrickColor = BrickColor.new("Teal") | |
4037 | p3.FormFactor = Enum.FormFactor.Symmetric | |
4038 | p3.Size = Vector3.new(3,3,3) | |
4039 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
4040 | p3.CanCollide = false | |
4041 | p3.Locked = true | |
4042 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
4043 | p3.TopSurface = Enum.SurfaceType.Smooth | |
4044 | b3 = Instance.new("SpecialMesh", p3) | |
4045 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
4046 | b3.TextureId = "" | |
4047 | b3.MeshType = Enum.MeshType.FileMesh | |
4048 | b3.Name = "Mesh" | |
4049 | b3.VertexColor = Vector3.new(0, 0, 0) | |
4050 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
4051 | w1 = Instance.new("Weld", p1) | |
4052 | w1.Name = "Head_Weld" | |
4053 | w1.Part0 = p1 | |
4054 | 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) | |
4055 | w1.Part1 = p2 | |
4056 | 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) | |
4057 | w2 = Instance.new("Weld", p2) | |
4058 | w2.Name = "Part_Weld" | |
4059 | w2.Part0 = p2 | |
4060 | 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) | |
4061 | w2.Part1 = p3 | |
4062 | 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) | |
4063 | w3 = Instance.new("Weld", p3) | |
4064 | w3.Name = "Part_Weld" | |
4065 | w3.Part0 = p3 | |
4066 | w3.C0 = CFrame.new() | |
4067 | w3.Part1 = p4 | |
4068 | w3.C1 = CFrame.new() | |
4069 | ||
4070 | m.Parent = char | |
4071 | m:MakeJoints() | |
4072 | ---------------------------------------------------- | |
4073 | local cor = Instance.new("Part", char.Hair) | |
4074 | cor.Name = "Link" | |
4075 | cor.Locked = true | |
4076 | cor.BottomSurface = 0 | |
4077 | cor.CanCollide = false | |
4078 | cor.Size = Vector3.new(1, 9, 1) | |
4079 | cor.Transparency = 1 | |
4080 | cor.TopSurface = 0 | |
4081 | corw = Instance.new("Weld", cor) | |
4082 | corw.Part0 = hed | |
4083 | corw.Part1 = cor | |
4084 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4085 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4086 | weld1 = Instance.new("Weld", char.Hair) | |
4087 | weld1.Part0 = cor | |
4088 | weld1.Part1 = char.Hair.Head | |
4089 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4090 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Im Way More Powerful Now","Red") | |
4091 | aura:Destroy() | |
4092 | wait(0.1) | |
4093 | aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso) | |
4094 | aura.Texture = "http://www.roblox.com/asset/?id=347730682" | |
4095 | aura.VelocitySpread = 0 | |
4096 | aura.Size = NumberSequence.new(5) | |
4097 | aura.Lifetime = NumberRange.new(0.5) | |
4098 | aura.Color = ColorSequence.new(Color3.new(0, 255, 255)) | |
4099 | aura.LightEmission = 0.6 | |
4100 | z = Instance.new("Sound", char) | |
4101 | z.SoundId = "rbxassetid://662782202"--662782202 | |
4102 | z.Pitch = 1 | |
4103 | z.Volume = 1 | |
4104 | wait(.1) | |
4105 | z:Play() | |
4106 | ||
4107 | ||
4108 | ||
4109 | end | |
4110 | if msg == "ssj" then | |
4111 | wait(1.0) | |
4112 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Time To Show You True Power","Red") | |
4113 | wait(3.0) | |
4114 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
4115 | if c.className == "Hat" then -- base form hair. | |
4116 | c.Handle.Transparency = 0 -- Put after transformation | |
4117 | end | |
4118 | if c.Name == "Hair" then | |
4119 | c:Remove() | |
4120 | end | |
4121 | end | |
4122 | wait(0.00001) | |
4123 | local m = Instance.new("Model") | |
4124 | m.Name = "Hair" | |
4125 | b1 = Instance.new("SpecialMesh", p) | |
4126 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
4127 | b1.TextureId = "" | |
4128 | b1.MeshType = Enum.MeshType.FileMesh | |
4129 | b1.Name = "Mesh" | |
4130 | b1.VertexColor = Vector3.new(0, 0, 0) | |
4131 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
4132 | p2 = Instance.new("Part", m) | |
4133 | p2.BrickColor = BrickColor.new("Pastel brown") | |
4134 | p2.Transparency = 1 | |
4135 | p2.Name = "Head" | |
4136 | p2.FormFactor = Enum.FormFactor.Symmetric | |
4137 | p2.Size = Vector3.new(2, 1, 1) | |
4138 | p2.CFrame = CFrame.new(9,9,9) | |
4139 | p2.CanCollide = false | |
4140 | p2.Locked = true | |
4141 | p2.TopSurface = Enum.SurfaceType.Smooth | |
4142 | b2 = Instance.new("SpecialMesh", p2) | |
4143 | b2.MeshType = Enum.MeshType.Head | |
4144 | b2.Name = "Mesh" | |
4145 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4146 | p3 = Instance.new("Part", m) | |
4147 | p3.BrickColor = BrickColor.new("New Yeller") | |
4148 | p3.FormFactor = Enum.FormFactor.Symmetric | |
4149 | p3.Size = Vector3.new(3,3,3) | |
4150 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
4151 | p3.CanCollide = false | |
4152 | p3.Locked = true | |
4153 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
4154 | p3.TopSurface = Enum.SurfaceType.Smooth | |
4155 | b3 = Instance.new("SpecialMesh", p3) | |
4156 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
4157 | b3.TextureId = "" | |
4158 | b3.MeshType = Enum.MeshType.FileMesh | |
4159 | b3.Name = "Mesh" | |
4160 | b3.VertexColor = Vector3.new(0, 0, 0) | |
4161 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
4162 | w1 = Instance.new("Weld", p1) | |
4163 | w1.Name = "Head_Weld" | |
4164 | w1.Part0 = p1 | |
4165 | 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) | |
4166 | w1.Part1 = p2 | |
4167 | 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) | |
4168 | w2 = Instance.new("Weld", p2) | |
4169 | w2.Name = "Part_Weld" | |
4170 | w2.Part0 = p2 | |
4171 | 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) | |
4172 | w2.Part1 = p3 | |
4173 | 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) | |
4174 | w3 = Instance.new("Weld", p3) | |
4175 | w3.Name = "Part_Weld" | |
4176 | w3.Part0 = p3 | |
4177 | w3.C0 = CFrame.new() | |
4178 | w3.Part1 = p4 | |
4179 | w3.C1 = CFrame.new() | |
4180 | ||
4181 | m.Parent = char | |
4182 | m:MakeJoints() | |
4183 | ---------------------------------------------------- | |
4184 | local cor = Instance.new("Part", char.Hair) | |
4185 | cor.Name = "Link" | |
4186 | cor.Locked = true | |
4187 | cor.BottomSurface = 0 | |
4188 | cor.CanCollide = false | |
4189 | cor.Size = Vector3.new(1, 9, 1) | |
4190 | cor.Transparency = 1 | |
4191 | cor.TopSurface = 0 | |
4192 | corw = Instance.new("Weld", cor) | |
4193 | corw.Part0 = hed | |
4194 | corw.Part1 = cor | |
4195 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4196 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4197 | weld1 = Instance.new("Weld", char.Hair) | |
4198 | weld1.Part0 = cor | |
4199 | weld1.Part1 = char.Hair.Head | |
4200 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4201 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"This Is Super Vegito","Red") | |
4202 | aura:Destroy() | |
4203 | wait(0.1) | |
4204 | aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso) | |
4205 | aura.Texture = "http://www.roblox.com/asset/?id=347730682" | |
4206 | aura.VelocitySpread = 0 | |
4207 | aura.Size = NumberSequence.new(5) | |
4208 | aura.Lifetime = NumberRange.new(0.5) | |
4209 | aura.Color = ColorSequence.new(Color3.new(255, 255, 0)) | |
4210 | aura.LightEmission = 0.6 | |
4211 | z = Instance.new("Sound", char) | |
4212 | z.SoundId = "rbxassetid://662782202"--662782202 | |
4213 | z.Pitch = 1 | |
4214 | z.Volume = 1 | |
4215 | wait(.1) | |
4216 | z:Play() | |
4217 | end | |
4218 | if msg == "off" then | |
4219 | aura:Destroy() | |
4220 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
4221 | if c.className == "Hat" then -- base form hair. | |
4222 | c.Handle.Transparency = 0 -- Put after transformation | |
4223 | end | |
4224 | if c.Name == "Hair" then | |
4225 | c:Remove() | |
4226 | end | |
4227 | end | |
4228 | ||
4229 | wait(0.1) | |
4230 | local m = Instance.new("Model") | |
4231 | m.Name = "Hair" | |
4232 | b1 = Instance.new("SpecialMesh", p) | |
4233 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
4234 | b1.TextureId = "" | |
4235 | b1.MeshType = Enum.MeshType.FileMesh | |
4236 | b1.Name = "Mesh" | |
4237 | b1.VertexColor = Vector3.new(0, 0, 0) | |
4238 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
4239 | p2 = Instance.new("Part", m) | |
4240 | p2.BrickColor = BrickColor.new("Pastel brown") | |
4241 | p2.Transparency = 1 | |
4242 | p2.Name = "Head" | |
4243 | p2.FormFactor = Enum.FormFactor.Symmetric | |
4244 | p2.Size = Vector3.new(2, 1, 1) | |
4245 | p2.CFrame = CFrame.new(9,9,9) | |
4246 | p2.CanCollide = false | |
4247 | p2.Locked = true | |
4248 | p2.TopSurface = Enum.SurfaceType.Smooth | |
4249 | b2 = Instance.new("SpecialMesh", p2) | |
4250 | b2.MeshType = Enum.MeshType.Head | |
4251 | b2.Name = "Mesh" | |
4252 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
4253 | p3 = Instance.new("Part", m) | |
4254 | p3.BrickColor = BrickColor.new("Dark red") | |
4255 | p3.FormFactor = Enum.FormFactor.Symmetric | |
4256 | p3.Size = Vector3.new(3,3,3) | |
4257 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
4258 | p3.CanCollide = false | |
4259 | p3.Locked = true | |
4260 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
4261 | p3.TopSurface = Enum.SurfaceType.Smooth | |
4262 | b3 = Instance.new("SpecialMesh", p3) | |
4263 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
4264 | b3.TextureId = "" | |
4265 | b3.MeshType = Enum.MeshType.FileMesh | |
4266 | b3.Name = "Mesh" | |
4267 | b3.VertexColor = Vector3.new(0, 0, 0) | |
4268 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
4269 | w1 = Instance.new("Weld", p1) | |
4270 | w1.Name = "Head_Weld" | |
4271 | w1.Part0 = p1 | |
4272 | 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) | |
4273 | w1.Part1 = p2 | |
4274 | 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) | |
4275 | w2 = Instance.new("Weld", p2) | |
4276 | w2.Name = "Part_Weld" | |
4277 | w2.Part0 = p2 | |
4278 | 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) | |
4279 | w2.Part1 = p3 | |
4280 | 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) | |
4281 | w3 = Instance.new("Weld", p3) | |
4282 | w3.Name = "Part_Weld" | |
4283 | w3.Part0 = p3 | |
4284 | w3.C0 = CFrame.new() | |
4285 | w3.Part1 = p4 | |
4286 | w3.C1 = CFrame.new() | |
4287 | ||
4288 | m.Parent = char | |
4289 | m:MakeJoints() | |
4290 | ---------------------------------------------------- | |
4291 | local cor = Instance.new("Part", char.Hair) | |
4292 | cor.Name = "Link" | |
4293 | cor.Locked = true | |
4294 | cor.BottomSurface = 0 | |
4295 | cor.CanCollide = false | |
4296 | cor.Size = Vector3.new(1, 9, 1) | |
4297 | cor.Transparency = 1 | |
4298 | cor.TopSurface = 0 | |
4299 | corw = Instance.new("Weld", cor) | |
4300 | corw.Part0 = hed | |
4301 | corw.Part1 = cor | |
4302 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4303 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4304 | weld1 = Instance.new("Weld", char.Hair) | |
4305 | weld1.Part0 = cor | |
4306 | weld1.Part1 = char.Hair.Head | |
4307 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
4308 | end | |
4309 | ||
4310 | end | |
4311 | god.Chatted:connect(onChatted) | |
4312 | while true do --Loop | |
4313 | wait(0.04) | |
4314 | part2.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture | |
4315 | part2.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture | |
4316 | wait(0.04) --wait 1 second, you can change this and make it different for every one | |
4317 | part2.Texture = "http://www.roblox.com/asset/?id=358965632" | |
4318 | wait(0.04) | |
4319 | part2.Texture = "http://www.roblox.com/asset/?id=358965664" | |
4320 | wait(0.04) | |
4321 | end |