SHOW:
|
|
- or go back to the newest paste.
1 | warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|' | |
2 | wait(1) | |
3 | plr = game.Players.LocalPlayer | |
4 | char = plr.Character | |
5 | hum = char.Humanoid | |
6 | local cam = game.Workspace.CurrentCamera | |
7 | t = char.Torso | |
8 | h = char.Head | |
9 | ra = char["Right Arm"] | |
10 | la = char["Left Arm"] | |
11 | rl = char["Right Leg"] | |
12 | ll = char["Left Leg"] | |
13 | tors = char.Torso | |
14 | lleg = char["Left Leg"] | |
15 | root = char.HumanoidRootPart | |
16 | - | char.Humanoid.MaxHealth = 250000 |
16 | + | char.Humanoid.MaxHealth = math.huge |
17 | wait() | |
18 | - | char.Humanoid.Health = 250000 |
18 | + | char.Humanoid.Health = math.huge |
19 | hed = char.Head | |
20 | rleg = char["Right Leg"] | |
21 | rarm = char["Right Arm"] | |
22 | larm = char["Left Arm"] | |
23 | vt = Vector3.new | |
24 | bc = BrickColor.new | |
25 | br = BrickColor.random | |
26 | it = Instance.new | |
27 | cf = CFrame.new | |
28 | local rock3 = false | |
29 | local rock2 = false | |
30 | local rock = false | |
31 | New = function(Object, Parent, Name, Data) | |
32 | local Object = Instance.new(Object) | |
33 | for Index, Value in pairs(Data or {}) do | |
34 | Object[Index] = Value | |
35 | end | |
36 | Object.Parent = Parent | |
37 | Object.Name = Name | |
38 | return Object | |
39 | end | |
40 | ||
41 | local v3 = Vector3.new | |
42 | local ns = NumberSequence.new | |
43 | local nr = NumberRange.new | |
44 | local new = Instance.new | |
45 | local cf = CFrame.new | |
46 | local cfa = CFrame.Angles | |
47 | local bc = BrickColor.new | |
48 | ----------------------------------- | |
49 | function chatfunc(text) | |
50 | local chat = coroutine.wrap(function() | |
51 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
52 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
53 | end | |
54 | local naeeym2 = Instance.new("BillboardGui",Character) | |
55 | naeeym2.Size = UDim2.new(0,100,0,40) | |
56 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
57 | naeeym2.Adornee = Character.Head | |
58 | naeeym2.Name = "TalkingBillBoard" | |
59 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
60 | tecks2.BackgroundTransparency = 1 | |
61 | tecks2.BorderSizePixel = 0 | |
62 | tecks2.Text = "" | |
63 | tecks2.Font = "ArialBold" | |
64 | tecks2.TextSize = 30 | |
65 | tecks2.TextStrokeTransparency = 0 | |
66 | tecks2.TextColor3 = Color3.new(255,255,0) | |
67 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
68 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
69 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
70 | tecks3.BackgroundTransparency = 1 | |
71 | tecks3.BorderSizePixel = 0 | |
72 | tecks3.Text = "" | |
73 | tecks3.Font = "ArialBold" | |
74 | tecks3.TextSize = 30 | |
75 | tecks3.TextStrokeTransparency = 0 | |
76 | tecks3.TextColor3 = Color3.new(255,255,0) | |
77 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
78 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
79 | for i = 1,string.len(text),1 do | |
80 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, .6, .8) | |
81 | tecks2.Text = string.sub(text,1,i) | |
82 | tecks3.Text = string.sub(text,1,i) | |
83 | wait(0.01) | |
84 | end | |
85 | wait(2) | |
86 | for i = 1, 50 do | |
87 | swait() | |
88 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
89 | tecks2.Rotation = tecks2.Rotation - .8 | |
90 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
91 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
92 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
93 | tecks3.Rotation = tecks2.Rotation + .8 | |
94 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
95 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
96 | end | |
97 | naeeym2:Destroy() | |
98 | end) | |
99 | chat() | |
100 | end | |
101 | function onChatted(msg) | |
102 | chatfunc(msg) | |
103 | end | |
104 | if rock == true then | |
105 | wait(math.random(0.1,0.5)) | |
106 | ay = new("Part",tors) | |
107 | ay.Name = "NewPart2" | |
108 | ay.Size = v3(0.3,0.3,0.3) | |
109 | ay.CanCollide = false | |
110 | for i,v in pairs(workspace:GetChildren()) do | |
111 | if v:IsA("Part") then | |
112 | if v.Size.x > 150 then | |
113 | ||
114 | ||
115 | ay.BrickColor = v.BrickColor | |
116 | ay.Material = v.Material | |
117 | ay.Transparency = v.Transparency | |
118 | end | |
119 | end | |
120 | end | |
121 | ay.Position = v3(999,999,999) | |
122 | ay.CFrame = CFrame.new(RootPart.Position.x+math.random(-15,15),RootPart.Position.y-2,RootPart.Position.z+math.random(-15,15)) | |
123 | ys = Instance.new("BodyVelocity",ay) | |
124 | ys.Name = "GO" | |
125 | ys.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
126 | ||
127 | ys.Velocity = v3(0,6,0) | |
128 | game.Debris:AddItem(ay,math.random(3,4)) | |
129 | end | |
130 | ||
131 | ----------------------------------- | |
132 | ||
133 | local Create = LoadLibrary("RbxUtility").Create | |
134 | ||
135 | CFuncs = { | |
136 | ["Part"] = { | |
137 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
138 | local Part = Create("Part"){ | |
139 | Parent = Parent, | |
140 | Reflectance = Reflectance, | |
141 | Transparency = Transparency, | |
142 | CanCollide = false, | |
143 | Locked = true, | |
144 | BrickColor = BrickColor.new(tostring(BColor)), | |
145 | Name = Name, | |
146 | Size = Size, | |
147 | Material = Material, | |
148 | } | |
149 | RemoveOutlines(Part) | |
150 | return Part | |
151 | end; | |
152 | }; | |
153 | ||
154 | ["Mesh"] = { | |
155 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
156 | local Msh = Create(Mesh){ | |
157 | Parent = Part, | |
158 | Offset = OffSet, | |
159 | Scale = Scale, | |
160 | } | |
161 | if Mesh == "SpecialMesh" then | |
162 | Msh.MeshType = MeshType | |
163 | Msh.MeshId = MeshId | |
164 | end | |
165 | return Msh | |
166 | end; | |
167 | }; | |
168 | ||
169 | ["Mesh"] = { | |
170 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
171 | local Msh = Create(Mesh){ | |
172 | Parent = Part, | |
173 | Offset = OffSet, | |
174 | Scale = Scale, | |
175 | } | |
176 | if Mesh == "SpecialMesh" then | |
177 | Msh.MeshType = MeshType | |
178 | Msh.MeshId = MeshId | |
179 | end | |
180 | return Msh | |
181 | end; | |
182 | }; | |
183 | ||
184 | ["Weld"] = { | |
185 | Create = function(Parent, Part0, Part1, C0, C1) | |
186 | local Weld = Create("Weld"){ | |
187 | Parent = Parent, | |
188 | Part0 = Part0, | |
189 | Part1 = Part1, | |
190 | C0 = C0, | |
191 | C1 = C1, | |
192 | } | |
193 | return Weld | |
194 | end; | |
195 | }; | |
196 | ||
197 | ["Sound"] = { | |
198 | Create = function(id, par, vol, pit) | |
199 | coroutine.resume(coroutine.create(function() | |
200 | local S = Create("Sound"){ | |
201 | Volume = vol, | |
202 | Pitch = pit or 1, | |
203 | SoundId = id, | |
204 | Parent = par or workspace, | |
205 | } | |
206 | wait() | |
207 | S:play() | |
208 | game:GetService("Debris"):AddItem(S, 10) | |
209 | end)) | |
210 | end; | |
211 | }; | |
212 | ||
213 | ["ParticleEmitter"] = { | |
214 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
215 | local fp = Create("ParticleEmitter"){ | |
216 | Parent = Parent, | |
217 | Color = ColorSequence.new(Color1, Color2), | |
218 | LightEmission = LightEmission, | |
219 | Size = Size, | |
220 | Texture = Texture, | |
221 | Transparency = Transparency, | |
222 | ZOffset = ZOffset, | |
223 | Acceleration = Accel, | |
224 | Drag = Drag, | |
225 | LockedToPart = LockedToPart, | |
226 | VelocityInheritance = VelocityInheritance, | |
227 | EmissionDirection = EmissionDirection, | |
228 | Enabled = Enabled, | |
229 | Lifetime = LifeTime, | |
230 | Rate = Rate, | |
231 | Rotation = Rotation, | |
232 | RotSpeed = RotSpeed, | |
233 | Speed = Speed, | |
234 | VelocitySpread = VelocitySpread, | |
235 | } | |
236 | return fp | |
237 | end; | |
238 | }; | |
239 | ||
240 | CreateTemplate = { | |
241 | ||
242 | }; | |
243 | } | |
244 | ||
245 | ||
246 | ||
247 | New = function(Object, Parent, Name, Data) | |
248 | local Object = Instance.new(Object) | |
249 | for Index, Value in pairs(Data or {}) do | |
250 | Object[Index] = Value | |
251 | end | |
252 | Object.Parent = Parent | |
253 | Object.Name = Name | |
254 | return Object | |
255 | end | |
256 | local m = Instance.new("Model",char) | |
257 | ||
258 | function CreatePart(parent,transparency,reflectance,material,brickcolor) | |
259 | local p = Instance.new("Part") | |
260 | p.Parent = parent | |
261 | p.Size = Vector3.new(1,1,1) | |
262 | p.Transparency = transparency | |
263 | p.Reflectance = reflectance | |
264 | p.CanCollide = false | |
265 | p.Locked = true | |
266 | p.BrickColor = brickcolor | |
267 | p.Material = material | |
268 | return p | |
269 | end | |
270 | ||
271 | function CreateMesh(parent,meshtype,x1,y1,z1) | |
272 | local mesh = Instance.new("SpecialMesh",parent) | |
273 | mesh.MeshType = meshtype | |
274 | mesh.Scale = Vector3.new(x1,y1,z1) | |
275 | return mesh | |
276 | end | |
277 | ||
278 | function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1) | |
279 | local mesh = Instance.new("SpecialMesh",parent) | |
280 | mesh.MeshType = "FileMesh" | |
281 | mesh.MeshId = meshid | |
282 | mesh.TextureId = "http://www.roblox.com/asset/?id=269748808" | |
283 | mesh.Scale = Vector3.new(x1,y1,z1) | |
284 | mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b) | |
285 | return mesh | |
286 | end | |
287 | ||
288 | function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za) | |
289 | local weld = Instance.new("Weld") | |
290 | weld.Parent = parent | |
291 | weld.Part0 = part0 | |
292 | weld.Part1 = part1 | |
293 | weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za) | |
294 | weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za) | |
295 | return weld | |
296 | end | |
297 | ||
298 | ||
299 | function ApplyTrig(Num,Func) | |
300 | local Min,Max = Func(0),Func(1) | |
301 | local i = Func(Num) | |
302 | return (i-Min)/(Max-Min) | |
303 | --[[if Func == "sin" then | |
304 | return (math.sin((1-Num)*math.pi)+1)/2 | |
305 | elseif Func == "cos" then | |
306 | return (math.cos((1-Num)*math.pi)+1)/2 | |
307 | end]] | |
308 | end | |
309 | ||
310 | local acos = math.acos | |
311 | local sqrt = math.sqrt | |
312 | local Vec3 = Vector3.new | |
313 | ||
314 | local function toAxisAngle(CFr) | |
315 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
316 | local Angle = math.acos((R00+R11+R22-1)/2) | |
317 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
318 | A = A == 0 and 0.00001 or A | |
319 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
320 | B = B == 0 and 0.00001 or B | |
321 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
322 | C = C == 0 and 0.00001 or C | |
323 | local x = (R21-R12)/sqrt(A) | |
324 | local y = (R02-R20)/sqrt(B) | |
325 | local z = (R10-R01)/sqrt(C) | |
326 | return Vec3(x,y,z),Angle | |
327 | end | |
328 | ||
329 | local fromAxisAngle = CFrame.fromAxisAngle | |
330 | ||
331 | function LerpCFrame(CFrame1,CFrame2,Num) | |
332 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
333 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
334 | end | |
335 | ||
336 | ||
337 | ||
338 | ||
339 | ||
340 | local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
341 | CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
342 | local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random()) | |
343 | CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0)) | |
344 | ||
345 | Player=game:GetService("Players").LocalPlayer | |
346 | Character=Player.Character | |
347 | PlayerGui=Player.PlayerGui | |
348 | Backpack=Player.Backpack | |
349 | Torso=Character.Torso | |
350 | Head=Character.Head | |
351 | Humanoid=Character.Humanoid | |
352 | m=Instance.new('Model',Character) | |
353 | LeftArm=Character["Left Arm"] | |
354 | LeftLeg=Character["Left Leg"] | |
355 | RightArm=Character["Right Arm"] | |
356 | RightLeg=Character["Right Leg"] | |
357 | LS=Torso["Left Shoulder"] | |
358 | LH=Torso["Left Hip"] | |
359 | RS=Torso["Right Shoulder"] | |
360 | RH=Torso["Right Hip"] | |
361 | Face = Head.face | |
362 | Neck=Torso.Neck | |
363 | it=Instance.new | |
364 | attacktype=1 | |
365 | vt=Vector3.new | |
366 | cf=CFrame.new | |
367 | euler=CFrame.fromEulerAnglesXYZ | |
368 | angles=CFrame.Angles | |
369 | cloaked=false | |
370 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
371 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
372 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
373 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
374 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
375 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
376 | RootPart=Character.HumanoidRootPart | |
377 | RootJoint=RootPart.RootJoint | |
378 | RootCF=euler(-1.57,0,3.14) | |
379 | attack = false | |
380 | attackdebounce = false | |
381 | deb=false | |
382 | equipped=true | |
383 | hand=false | |
384 | MMouse=nil | |
385 | combo=0 | |
386 | mana=0 | |
387 | trispeed=.2 | |
388 | attackmode='none' | |
389 | local idle=0 | |
390 | local Effects={} | |
391 | local gun=false | |
392 | local shoot=false | |
393 | local sine = 0 | |
394 | local change = 1 | |
395 | player=nil | |
396 | --char.Shirt:Remove() | |
397 | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end | |
398 | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end | |
399 | wait()--shirt = Instance.new("Shirt", char) | |
400 | --shirt.Name = "Shirt" | |
401 | --pants = Instance.new("Pants", char) | |
402 | --pants.Name = "Pants" | |
403 | shirt = Instance.new("Shirt", char) | |
404 | shirt.Name = "Shirt" | |
405 | pants = Instance.new("Pants", char) | |
406 | pants.Name = "Pants" | |
407 | char.Head.face.Texture = "rbxassetid://29291814" | |
408 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=548416871" | |
409 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=465693223" | |
410 | hum.JumpPower = 120 | |
411 | Instance.new("ForceField",char).Visible = false | |
412 | tp = true | |
413 | hum.WalkSpeed = 20 | |
414 | local ChatService = game:GetService("Chat") | |
415 | local player = game.Players.LocalPlayer | |
416 | m=player:GetMouse() | |
417 | bb = Instance.new("BillboardGui",player.Character.Head) | |
418 | bb.Enabled = true | |
419 | ||
420 | ||
421 | ||
422 | ||
423 | Hair7 = Instance.new("Part") | |
424 | Hair7.Parent = char | |
425 | Hair7.Name = "Hair" | |
426 | Hair7.CanCollide = false | |
427 | Hair7.Locked = true | |
428 | Hair7.TopSurface = "Smooth" | |
429 | Hair7.BottomSurface = "Smooth" | |
430 | Hair7.formFactor = "Symmetric" | |
431 | Hair7.Material = "Neon" | |
432 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
433 | Hair7.CFrame = char.Torso.CFrame | |
434 | Hair7.Size = Vector3.new(1, 1, 1) | |
435 | Hair7.Transparency = 0 | |
436 | ||
437 | ||
438 | Weld1 = Instance.new("Weld") | |
439 | Weld1.Parent = char.Head | |
440 | Weld1.Part0 = char.Head | |
441 | Weld1.Part1 = Hair7 | |
442 | Weld1.C0 = CFrame.new(0, 1, 0) | |
443 | ||
444 | Mesh = Instance.new("SpecialMesh") | |
445 | Mesh.Offset = Vector3.new(0,-0.7,0) | |
446 | Mesh.Parent = Hair7 | |
447 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
448 | Mesh.MeshType = "FileMesh" | |
449 | Mesh.MeshId = "http://www.roblox.com/asset/?id=212966179" | |
450 | Mesh.TextureId = "http://www.roblox.com/asset/?id=575345085" | |
451 | ||
452 | ||
453 | asd = Instance.new("Sound",char) | |
454 | asd.SoundId = "http://www.roblox.com/asset/?id = 335204822" | |
455 | asd.Volume = 3 | |
456 | asd.Looped = true | |
457 | ||
458 | ||
459 | ||
460 | ||
461 | ||
462 | ||
463 | ||
464 | ||
465 | for i,v in pairs(char:GetChildren()) do | |
466 | if v.ClassName == "Accessory" then | |
467 | v:Destroy() | |
468 | end | |
469 | end | |
470 | ||
471 | Hair7 = Instance.new("Part") | |
472 | Hair7.Parent = char | |
473 | Hair7.Name = "Hair" | |
474 | Hair7.CanCollide = false | |
475 | Hair7.Locked = true | |
476 | Hair7.TopSurface = "Smooth" | |
477 | Hair7.BottomSurface = "Smooth" | |
478 | Hair7.formFactor = "Symmetric" | |
479 | Hair7.Material = "Neon" | |
480 | Hair7.BrickColor = BrickColor.new("Daisy orange") | |
481 | Hair7.CFrame = char.Torso.CFrame | |
482 | Hair7.Size = Vector3.new(1, 1, 1) | |
483 | Hair7.Transparency = 0 | |
484 | ||
485 | ||
486 | Weld1 = Instance.new("Weld") | |
487 | Weld1.Parent = char.Head | |
488 | Weld1.Part0 = char.Head | |
489 | Weld1.Part1 = Hair7 | |
490 | Weld1.C0 = CFrame.new(0, 1, 0) | |
491 | ||
492 | Mesh = Instance.new("SpecialMesh") | |
493 | Mesh.Offset = Vector3.new(0,-0.4,0.1) | |
494 | Mesh.Parent = Hair7 | |
495 | Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) | |
496 | Mesh.MeshType = "FileMesh" | |
497 | Mesh.MeshId = "http://www.roblox.com/asset/?id=" | |
498 | Mesh.TextureId = "" | |
499 | ||
500 | ||
501 | ||
502 | ||
503 | ||
504 | local txt = Instance.new("BillboardGui", char) | |
505 | CV="Lime green" | |
506 | txt.Adornee = char .Head | |
507 | txt.Name = "_status" | |
508 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
509 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
510 | local text = Instance.new("TextLabel", txt) | |
511 | text.Size = UDim2.new(10, 0, 7, 0) | |
512 | text.FontSize = "Size24" | |
513 | text.TextScaled = true | |
514 | text.TextTransparency = 0 | |
515 | text.BackgroundTransparency = 1 | |
516 | text.TextTransparency = 0 | |
517 | text.TextStrokeTransparency = 0 | |
518 | text.Font = "Bodoni" | |
519 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
520 | text.TextColor3 = Color3.fromRGB(255,255,0) | |
521 | text.Text = " " | |
522 | v=Instance.new("Part") | |
523 | v.Name = "ColorBrick" | |
524 | v.Parent= plr.Character | |
525 | v.FormFactor="Symmetric" | |
526 | v.Anchored=true | |
527 | v.CanCollide=false | |
528 | v.BottomSurface="Smooth" | |
529 | v.TopSurface="Smooth" | |
530 | v.Size=Vector3.new(10,5,3) | |
531 | v.Transparency=0 | |
532 | v.CFrame=char.Torso.CFrame | |
533 | v.BrickColor=BrickColor.new("Lime green") | |
534 | v.Transparency=1 | |
535 | v.Shape="Block" | |
536 | ||
537 | mouse=Player:GetMouse() | |
538 | --save shoulders | |
539 | RSH, LSH=nil, nil | |
540 | --welds | |
541 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
542 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
543 | LH=Torso["Left Hip"] | |
544 | RH=Torso["Right Hip"] | |
545 | TorsoColor=Torso.BrickColor | |
546 | function NoOutline(Part) | |
547 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
548 | end | |
549 | player=Player | |
550 | ch=Character | |
551 | RSH=ch.Torso["Right Shoulder"] | |
552 | LSH=ch.Torso["Left Shoulder"] | |
553 | -- | |
554 | RSH.Parent=nil | |
555 | LSH.Parent=nil | |
556 | -- | |
557 | RW.Name="Right Shoulder" | |
558 | RW.Part0=ch.Torso | |
559 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
560 | RW.C1=cf(0, 0.5, 0) | |
561 | RW.Part1=ch["Right Arm"] | |
562 | RW.Parent=ch.Torso | |
563 | -- | |
564 | LW.Name="Left Shoulder" | |
565 | LW.Part0=ch.Torso | |
566 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
567 | LW.C1=cf(0, 0.5, 0) | |
568 | LW.Part1=ch["Left Arm"] | |
569 | LW.Parent=ch.Torso | |
570 | ||
571 | local Stats=Instance.new("BoolValue") | |
572 | Stats.Name="Stats" | |
573 | Stats.Parent=Character | |
574 | local Atk=Instance.new("NumberValue") | |
575 | Atk.Name="Damage" | |
576 | Atk.Parent=Stats | |
577 | Atk.Value=1 | |
578 | local Def=Instance.new("NumberValue") | |
579 | Def.Name="Defense" | |
580 | Def.Parent=Stats | |
581 | Def.Value=1 | |
582 | local Speed=Instance.new("NumberValue") | |
583 | Speed.Name="Speed" | |
584 | Speed.Parent=Stats | |
585 | Speed.Value=1 | |
586 | local Mvmt=Instance.new("NumberValue") | |
587 | Mvmt.Name="Movement" | |
588 | Mvmt.Parent=Stats | |
589 | Mvmt.Value=1 | |
590 | ||
591 | local donum=0 | |
592 | ||
593 | ||
594 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
595 | local fp=it("Part") | |
596 | fp.formFactor=formfactor | |
597 | fp.Parent=parent | |
598 | fp.Reflectance=reflectance | |
599 | fp.Transparency=transparency | |
600 | fp.CanCollide=false | |
601 | fp.Locked=true | |
602 | fp.BrickColor=brickcolor | |
603 | fp.Name=name | |
604 | fp.Size=size | |
605 | fp.Position=Torso.Position | |
606 | NoOutline(fp) | |
607 | fp.Material="SmoothPlastic" | |
608 | fp:BreakJoints() | |
609 | return fp | |
610 | end | |
611 | ||
612 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
613 | local mesh=it(Mesh) | |
614 | mesh.Parent=part | |
615 | if Mesh=="SpecialMesh" then | |
616 | mesh.MeshType=meshtype | |
617 | if meshid~="nil" then | |
618 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
619 | end | |
620 | end | |
621 | mesh.Offset=offset | |
622 | mesh.Scale=scale | |
623 | return mesh | |
624 | end | |
625 | ||
626 | function weld(parent,part0,part1,c0) | |
627 | local weld=it("Weld") | |
628 | weld.Parent=parent | |
629 | weld.Part0=part0 | |
630 | weld.Part1=part1 | |
631 | weld.C0=c0 | |
632 | return weld | |
633 | end | |
634 | ||
635 | local Color1=Torso.BrickColor | |
636 | ||
637 | local bodvel=Instance.new("BodyVelocity") | |
638 | local bg=Instance.new("BodyGyro") | |
639 | ||
640 | function swait(num) | |
641 | if num==0 or num==nil then | |
642 | game:service'RunService'.Stepped:wait(0) | |
643 | else | |
644 | for i=0,num do | |
645 | game:service'RunService'.Stepped:wait(0) | |
646 | end | |
647 | end | |
648 | end | |
649 | ||
650 | ||
651 | so = function(id,par,vol,pit) | |
652 | coroutine.resume(coroutine.create(function() | |
653 | local sou = Instance.new("Sound",par or workspace) | |
654 | sou.Volume=vol | |
655 | sou.Pitch=pit or 1 | |
656 | sou.SoundId=id | |
657 | swait() | |
658 | sou:play() | |
659 | game:GetService("Debris"):AddItem(sou,6) | |
660 | end)) | |
661 | end | |
662 | ||
663 | function clerp(a,b,t) | |
664 | local qa = {QuaternionFromCFrame(a)} | |
665 | local qb = {QuaternionFromCFrame(b)} | |
666 | local ax, ay, az = a.x, a.y, a.z | |
667 | local bx, by, bz = b.x, b.y, b.z | |
668 | local _t = 1-t | |
669 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
670 | end | |
671 | ||
672 | function QuaternionFromCFrame(cf) | |
673 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
674 | local trace = m00 + m11 + m22 | |
675 | if trace > 0 then | |
676 | local s = math.sqrt(1 + trace) | |
677 | local recip = 0.5/s | |
678 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
679 | else | |
680 | local i = 0 | |
681 | if m11 > m00 then | |
682 | i = 1 | |
683 | end | |
684 | if m22 > (i == 0 and m00 or m11) then | |
685 | i = 2 | |
686 | end | |
687 | if i == 0 then | |
688 | local s = math.sqrt(m00-m11-m22+1) | |
689 | local recip = 0.5/s | |
690 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
691 | elseif i == 1 then | |
692 | local s = math.sqrt(m11-m22-m00+1) | |
693 | local recip = 0.5/s | |
694 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
695 | elseif i == 2 then | |
696 | local s = math.sqrt(m22-m00-m11+1) | |
697 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
698 | end | |
699 | end | |
700 | end | |
701 | ||
702 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
703 | local xs, ys, zs = x + x, y + y, z + z | |
704 | local wx, wy, wz = w*xs, w*ys, w*zs | |
705 | local xx = x*xs | |
706 | local xy = x*ys | |
707 | local xz = x*zs | |
708 | local yy = y*ys | |
709 | local yz = y*zs | |
710 | local zz = z*zs | |
711 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
712 | end | |
713 | ||
714 | function QuaternionSlerp(a, b, t) | |
715 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
716 | local startInterp, finishInterp; | |
717 | if cosTheta >= 0.0001 then | |
718 | if (1 - cosTheta) > 0.0001 then | |
719 | local theta = math.acos(cosTheta) | |
720 | local invSinTheta = 1/math.sin(theta) | |
721 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
722 | finishInterp = math.sin(t*theta)*invSinTheta | |
723 | else | |
724 | startInterp = 1-t | |
725 | finishInterp = t | |
726 | end | |
727 | else | |
728 | if (1+cosTheta) > 0.0001 then | |
729 | local theta = math.acos(-cosTheta) | |
730 | local invSinTheta = 1/math.sin(theta) | |
731 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
732 | finishInterp = math.sin(t*theta)*invSinTheta | |
733 | else | |
734 | startInterp = t-1 | |
735 | finishInterp = t | |
736 | end | |
737 | end | |
738 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
739 | end | |
740 | ||
741 | local function CFrameFromTopBack(at, top, back) | |
742 | local right = top:Cross(back) | |
743 | return CFrame.new(at.x, at.y, at.z, | |
744 | right.x, top.x, back.x, | |
745 | right.y, top.y, back.y, | |
746 | right.z, top.z, back.z) | |
747 | end | |
748 | ||
749 | function Triangle(a, b, c) | |
750 | local edg1 = (c-a):Dot((b-a).unit) | |
751 | local edg2 = (a-b):Dot((c-b).unit) | |
752 | local edg3 = (b-c):Dot((a-c).unit) | |
753 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
754 | a, b, c = a, b, c | |
755 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
756 | a, b, c = b, c, a | |
757 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
758 | a, b, c = c, a, b | |
759 | else | |
760 | assert(false, "unreachable") | |
761 | end | |
762 | ||
763 | local len1 = (c-a):Dot((b-a).unit) | |
764 | local len2 = (b-a).magnitude - len1 | |
765 | local width = (a + (b-a).unit*len1 - c).magnitude | |
766 | ||
767 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
768 | ||
769 | local list = {} | |
770 | ||
771 | if len1 > 0.01 then | |
772 | local w1 = Instance.new('WedgePart', m) | |
773 | game:GetService("Debris"):AddItem(w1,5) | |
774 | w1.Material = "SmoothPlastic" | |
775 | w1.FormFactor = 'Custom' | |
776 | w1.BrickColor = BrickColor.new("Really red") | |
777 | w1.Transparency = 0 | |
778 | w1.Reflectance = 0 | |
779 | w1.Material = "SmoothPlastic" | |
780 | w1.CanCollide = false | |
781 | local l1 = Instance.new("PointLight",w1) | |
782 | l1.Color = Color3.new(170,0,0) | |
783 | NoOutline(w1) | |
784 | local sz = Vector3.new(0.2, width, len1) | |
785 | w1.Size = sz | |
786 | local sp = Instance.new("SpecialMesh",w1) | |
787 | sp.MeshType = "Wedge" | |
788 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
789 | w1:BreakJoints() | |
790 | w1.Anchored = true | |
791 | w1.Parent = workspace | |
792 | w1.Transparency = 0.7 | |
793 | table.insert(Effects,{w1,"Disappear",.01}) | |
794 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
795 | table.insert(list,w1) | |
796 | end | |
797 | ||
798 | if len2 > 0.01 then | |
799 | local w2 = Instance.new('WedgePart', m) | |
800 | game:GetService("Debris"):AddItem(w2,5) | |
801 | w2.Material = "SmoothPlastic" | |
802 | w2.FormFactor = 'Custom' | |
803 | w2.BrickColor = BrickColor.new("Really red") | |
804 | w2.Transparency = 0 | |
805 | w2.Reflectance = 0 | |
806 | w2.Material = "SmoothPlastic" | |
807 | w2.CanCollide = false | |
808 | local l2 = Instance.new("PointLight",w2) | |
809 | l2.Color = Color3.new(170,0,0) | |
810 | NoOutline(w2) | |
811 | local sz = Vector3.new(0.2, width, len2) | |
812 | w2.Size = sz | |
813 | local sp = Instance.new("SpecialMesh",w2) | |
814 | sp.MeshType = "Wedge" | |
815 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
816 | w2:BreakJoints() | |
817 | w2.Anchored = true | |
818 | w2.Parent = workspace | |
819 | w2.Transparency = 0.7 | |
820 | table.insert(Effects,{w2,"Disappear",.01}) | |
821 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
822 | table.insert(list,w2) | |
823 | end | |
824 | return unpack(list) | |
825 | end | |
826 | ||
827 | ||
828 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
829 | if hit.Parent==nil then | |
830 | return | |
831 | end | |
832 | h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
833 | for _,v in pairs(hit.Parent:children()) do | |
834 | if v:IsA("Humanoid") then | |
835 | h=v | |
836 | end | |
837 | end | |
838 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
839 | h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
840 | end | |
841 | if hit.Parent.className=="Hat" then | |
842 | hit=hit.Parent.Parent:findFirstChild("Head") | |
843 | end | |
844 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
845 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
846 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
847 | return | |
848 | end]] | |
849 | -- hs(hit,1.2) | |
850 | c=Instance.new("ObjectValue") | |
851 | c.Name="creator" | |
852 | c.Value=game:service("Players").LocalPlayer | |
853 | c.Parent=h | |
854 | game:GetService("Debris"):AddItem(c,.5) | |
855 | Damage=math.random(minim,maxim) | |
856 | -- h:TakeDamage(Damage) | |
857 | blocked=false | |
858 | block=hit.Parent:findFirstChild("Block") | |
859 | if block~=nil then | |
860 | print(block.className) | |
861 | if block.className=="NumberValue" then | |
862 | if block.Value>0 then | |
863 | blocked=true | |
864 | if decreaseblock==nil then | |
865 | block.Value=block.Value-1 | |
866 | end | |
867 | end | |
868 | end | |
869 | if block.className=="IntValue" then | |
870 | if block.Value>0 then | |
871 | blocked=true | |
872 | if decreaseblock~=nil then | |
873 | block.Value=block.Value-1 | |
874 | end | |
875 | end | |
876 | end | |
877 | end | |
878 | if blocked==false then | |
879 | -- h:TakeDamage(Damage) | |
880 | h.Health=h.Health-Damage | |
881 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) | |
882 | else | |
883 | h.Health=h.Health-(Damage/2) | |
884 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
885 | end | |
886 | if Type=="Knockdown" then | |
887 | hum=hit.Parent.Humanoid | |
888 | hum.PlatformStand=true | |
889 | coroutine.resume(coroutine.create(function(HHumanoid) | |
890 | swait(1) | |
891 | HHumanoid.PlatformStand=false | |
892 | end),hum) | |
893 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
894 | hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
895 | local bodvol=Instance.new("BodyVelocity") | |
896 | bodvol.velocity=angle*knockback | |
897 | bodvol.P=0 | |
898 | bodvol.maxForce=Vector3.new(0, 0, 0) | |
899 | bodvol.Parent=hit | |
900 | rl=Instance.new("BodyAngularVelocity") | |
901 | rl.P=0 | |
902 | rl.maxTorque=Vector3.new(0,0,0)*5 | |
903 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
904 | rl.Parent=hit | |
905 | game:GetService("Debris"):AddItem(bodvol,.5) | |
906 | game:GetService("Debris"):AddItem(rl,.5) | |
907 | elseif Type=="Normal" then | |
908 | bp=Instance.new("BodyVelocity") | |
909 | bp.P=0 | |
910 | bp.maxForce=Vector3.new(math.huge,0,math.huge) | |
911 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
912 | if KnockbackType==1 then | |
913 | bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
914 | elseif KnockbackType==2 then | |
915 | bp.velocity=Property.CFrame.lookVector*knockback | |
916 | end | |
917 | if knockback>0 then | |
918 | bp.Parent=hit.Parent.Torso | |
919 | if rubbermodo == 1 then | |
920 | hit.Parent:BreakJoints() | |
921 | end | |
922 | ||
923 | end | |
924 | game:GetService("Debris"):AddItem(bp,.5) | |
925 | elseif Type=="Up" then | |
926 | local bodyVelocity=Instance.new("BodyVelocity") | |
927 | bodyVelocity.velocity=vt(0,60,0) | |
928 | bodyVelocity.P=0 | |
929 | bodyVelocity.maxForce=Vector3.new(0,0,0) | |
930 | bodyVelocity.Parent=hit | |
931 | game:GetService("Debris"):AddItem(bodyVelocity,0) | |
932 | rl=Instance.new("BodyAngularVelocity") | |
933 | rl.P=0 | |
934 | rl.maxTorque=Vector3.new(5,5,5)*50 | |
935 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
936 | rl.Parent=hit | |
937 | game:GetService("Debris"):AddItem(rl,.5) | |
938 | elseif Type=="Snare" then | |
939 | bp=Instance.new("BodyPosition") | |
940 | bp.P=0 | |
941 | bp.D=0 | |
942 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
943 | bp.position=hit.Parent.Torso.Position | |
944 | bp.Parent=hit.Parent.Torso | |
945 | game:GetService("Debris"):AddItem(bp,0) | |
946 | elseif Type=="Target" then | |
947 | if Targetting==false then | |
948 | ZTarget=hit.Parent.Torso | |
949 | coroutine.resume(coroutine.create(function(Part) | |
950 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
951 | swait(1) | |
952 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
953 | end),ZTarget) | |
954 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
955 | targetgui=Instance.new("BillboardGui") | |
956 | targetgui.Parent=ZTarget | |
957 | targetgui.Size=UDim2.new(10,100,10,100) | |
958 | targ=Instance.new("ImageLabel") | |
959 | targ.Parent=targetgui | |
960 | targ.BackgroundTransparency=1 | |
961 | targ.Image="rbxassetid://4834067" | |
962 | targ.Size=UDim2.new(1,0,1,0) | |
963 | cam.CameraType="Scriptable" | |
964 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
965 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
966 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
967 | Targetting=true | |
968 | RocketTarget=ZTarget | |
969 | for i=1,Property do | |
970 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
971 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
972 | swait() | |
973 | end | |
974 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
975 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
976 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
977 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
978 | end | |
979 | Targetting=true | |
980 | RocketTarget=true | |
981 | targetgui.Parent=true | |
982 | cam.CameraType="Custom" | |
983 | end | |
984 | end | |
985 | debounce=Instance.new("BoolValue") | |
986 | debounce.Name="DebounceHit" | |
987 | debounce.Parent=hit.Parent | |
988 | debounce.Value=true | |
989 | game:GetService("Debris"):AddItem(debounce,Delay) | |
990 | c=Instance.new("ObjectValue") | |
991 | c.Name="creator" | |
992 | c.Value=Player | |
993 | c.Parent=h | |
994 | game:GetService("Debris"):AddItem(c,.5) | |
995 | CRIT=true | |
996 | hitDeb=true | |
997 | AttackPos=6 | |
998 | end | |
999 | end | |
1000 | ||
1001 | showDamage=function(Char,Dealt,du,Color) | |
1002 | m=Instance.new("Model") | |
1003 | m.Name=tostring(Dealt) | |
1004 | h=Instance.new("Humanoid") | |
1005 | h.Health=0 | |
1006 | h.MaxHealth=0 | |
1007 | h.Parent=m | |
1008 | c=Instance.new("Part") | |
1009 | c.Transparency=0 | |
1010 | c.BrickColor=Color | |
1011 | c.Transparency = 1 | |
1012 | c.Name="Head" | |
1013 | c.TopSurface=0 | |
1014 | c.BottomSurface=0 | |
1015 | c.formFactor="Plate" | |
1016 | c.Size=Vector3.new(1,.4,1) | |
1017 | ||
1018 | local txt = Instance.new("BillboardGui", c) | |
1019 | txt.Adornee = c | |
1020 | txt.Name = "_status" | |
1021 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
1022 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
1023 | local text = Instance.new("TextLabel", txt) | |
1024 | text.Size = UDim2.new(1, 0, 1, 0) | |
1025 | text.FontSize = "Size12" | |
1026 | text.TextScaled = true | |
1027 | text.TextTransparency = 1 | |
1028 | text.BackgroundTransparency = 1 | |
1029 | text.TextTransparency = 1 | |
1030 | text.TextStrokeTransparency = 1 | |
1031 | text.Font = "SciFi" | |
1032 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
1033 | v=Instance.new("Part") | |
1034 | v.Name = "ColorBrick" | |
1035 | v.Parent=c | |
1036 | v.FormFactor="Symmetric" | |
1037 | v.Anchored=true | |
1038 | v.CanCollide=false | |
1039 | v.BottomSurface="Smooth" | |
1040 | v.TopSurface="Smooth" | |
1041 | v.Size=Vector3.new(10,5,3) | |
1042 | v.Transparency=1 | |
1043 | v.CFrame=c.CFrame | |
1044 | v.BrickColor=BrickColor.random() | |
1045 | v.Transparency=1 | |
1046 | text.TextColor3 = t.BrickColor.Color | |
1047 | v.Shape="Block" | |
1048 | text.Text = tostring(Dealt) | |
1049 | ms=Instance.new("CylinderMesh") | |
1050 | ms.Scale=Vector3.new(.8,.8,.8) | |
1051 | --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
1052 | local rndm=math.random(1,#hitsounds) | |
1053 | local r=rndm | |
1054 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]-- | |
1055 | if CRIT==true then | |
1056 | ms.Scale=Vector3.new(1,1.25,1) | |
1057 | end | |
1058 | ms.Parent=c | |
1059 | c.Reflectance=0 | |
1060 | Instance.new("BodyGyro").Parent=c | |
1061 | c.Parent=m | |
1062 | if Char:findFirstChild("Head")~=nil then | |
1063 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1064 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1065 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1066 | end | |
1067 | f=Instance.new("BodyPosition") | |
1068 | f.P=200000 | |
1069 | f.D=100 | |
1070 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1071 | f.position=c.Position+Vector3.new(0,3,0) | |
1072 | f.Parent=c | |
1073 | game:GetService("Debris"):AddItem(m,.5+du) | |
1074 | c.CanCollide=false | |
1075 | m.Parent=workspace | |
1076 | c.CanCollide=false | |
1077 | end | |
1078 | ||
1079 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
1080 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
1081 | end | |
1082 | ||
1083 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
1084 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1085 | prt.Anchored=true | |
1086 | prt.CFrame=cframe | |
1087 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
1088 | --http://www.roblox.com/asset/?id=4770560 | |
1089 | game:GetService("Debris"):AddItem(prt,2) | |
1090 | CF=prt.CFrame | |
1091 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
1092 | for i=0,1,0.2 do | |
1093 | wait() | |
1094 | Part.CFrame=CF*cf(0,0,-0.4) | |
1095 | end | |
1096 | for i=0,1,delay do | |
1097 | wait() | |
1098 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
1099 | Mesh.Scale=Mesh.Scale | |
1100 | end | |
1101 | for i=0,1,0.1 do | |
1102 | wait() | |
1103 | Part.Transparency=i | |
1104 | end | |
1105 | Part.Parent=nil | |
1106 | end),prt,msh,CF) | |
1107 | end | |
1108 | ||
1109 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1110 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1111 | prt.Anchored=true | |
1112 | prt.Material = "Plastic" | |
1113 | prt.CFrame=cframe | |
1114 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1115 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1116 | game:GetService("Debris"):AddItem(prt,5) | |
1117 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1118 | for i=0,1,delay do | |
1119 | swait() | |
1120 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1121 | Part.Transparency=i | |
1122 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1123 | end | |
1124 | Part.Parent=nil | |
1125 | end),prt,msh) | |
1126 | end | |
1127 | ||
1128 | ||
1129 | ||
1130 | ||
1131 | function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1132 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3)) | |
1133 | prt.Anchored=true | |
1134 | prt.Material = "Neon" | |
1135 | prt.CFrame=cframe | |
1136 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1137 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1138 | game:GetService("Debris"):AddItem(prt,1) | |
1139 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1140 | for i=0,1,delay do | |
1141 | swait() | |
1142 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1143 | Part.Transparency=i | |
1144 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1145 | end | |
1146 | Part.Parent=nil | |
1147 | end),prt,msh) | |
1148 | end | |
1149 | ||
1150 | ||
1151 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1152 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1153 | prt.Anchored=true | |
1154 | prt.Material = "Neon" | |
1155 | prt.CFrame=cframe | |
1156 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1157 | game:GetService("Debris"):AddItem(prt,5) | |
1158 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1159 | local rtype = rottype | |
1160 | for i=0,1,delay do | |
1161 | swait() | |
1162 | if rtype == 1 then | |
1163 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1164 | elseif rtype == 2 then | |
1165 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1166 | end | |
1167 | Part.Transparency=i | |
1168 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1169 | end | |
1170 | Part.Parent=nil | |
1171 | end),prt,msh) | |
1172 | end | |
1173 | ||
1174 | function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1175 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1176 | prt.Anchored=true | |
1177 | prt.CFrame=cframe | |
1178 | prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1179 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1180 | game:GetService("Debris"):AddItem(prt,5) | |
1181 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1182 | for i=0,1,delay do | |
1183 | wait() | |
1184 | Part.Transparency=i | |
1185 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1186 | end | |
1187 | Part.Parent=nil | |
1188 | end),prt,msh) | |
1189 | end | |
1190 | ||
1191 | function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype) | |
1192 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1193 | prt.Anchored=true | |
1194 | prt.Material = "Neon" | |
1195 | prt.CFrame=cframe | |
1196 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1197 | game:GetService("Debris"):AddItem(prt,5) | |
1198 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1199 | local rtype = rottype | |
1200 | for i=0,1,delay do | |
1201 | swait() | |
1202 | if rtype == 1 then | |
1203 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1204 | elseif rtype == 2 then | |
1205 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1206 | end | |
1207 | Part.Transparency=i | |
1208 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1209 | end | |
1210 | Part.Parent=nil | |
1211 | end),prt,msh) | |
1212 | end | |
1213 | ||
1214 | function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1215 | local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1216 | prt.Anchored=true | |
1217 | prt.Material = "Neon" | |
1218 | prt.CFrame=cframe | |
1219 | local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1220 | local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt) | |
1221 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1222 | game:GetService("Debris"):AddItem(prt,5) | |
1223 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1224 | local rtype = rottype | |
1225 | for i=0,1,delay do | |
1226 | swait() | |
1227 | if rtype == 1 then | |
1228 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1229 | elseif rtype == 2 then | |
1230 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1231 | end | |
1232 | dec.Transparency=i | |
1233 | dec2.Transparency=i | |
1234 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1235 | end | |
1236 | Part.Parent=nil | |
1237 | end),prt,msh) | |
1238 | end | |
1239 | ||
1240 | function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype) | |
1241 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1242 | prt.Anchored=true | |
1243 | prt.Material = "Neon" | |
1244 | prt.CFrame=cframe | |
1245 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01)) | |
1246 | game:GetService("Debris"):AddItem(prt,5) | |
1247 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1248 | local rtype = rottype | |
1249 | for i=0,1,delay do | |
1250 | swait() | |
1251 | if rtype == 1 then | |
1252 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1253 | elseif rtype == 2 then | |
1254 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1255 | end | |
1256 | prt.Transparency=i | |
1257 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1258 | end | |
1259 | Part.Parent=nil | |
1260 | end),prt,msh) | |
1261 | end | |
1262 | ||
1263 | function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype) | |
1264 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1265 | prt.Anchored=true | |
1266 | prt.Material = "Neon" | |
1267 | prt.CFrame=cframe | |
1268 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1)) | |
1269 | game:GetService("Debris"):AddItem(prt,5) | |
1270 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1271 | local rtype = rottype | |
1272 | for i=0,1,delay do | |
1273 | swait() | |
1274 | if rtype == 1 then | |
1275 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0) | |
1276 | elseif rtype == 2 then | |
1277 | prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0) | |
1278 | end | |
1279 | prt.Transparency=i | |
1280 | Mesh.Scale=Mesh.Scale+vt(x3,0,z3) | |
1281 | end | |
1282 | Part.Parent=nil | |
1283 | end),prt,msh) | |
1284 | end | |
1285 | ||
1286 | function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype) | |
1287 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1288 | prt.Anchored=true | |
1289 | prt.Material = "Neon" | |
1290 | prt.CFrame=cframe | |
1291 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1292 | game:GetService("Debris"):AddItem(prt,5) | |
1293 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1294 | local rtype = rottype | |
1295 | for i=0,1,delay do | |
1296 | swait() | |
1297 | if rtype == 1 then | |
1298 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1) | |
1299 | elseif rtype == 2 then | |
1300 | prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1) | |
1301 | end | |
1302 | prt.Transparency=i | |
1303 | Mesh.Scale=Mesh.Scale+vt(x3,y3,0) | |
1304 | end | |
1305 | Part.Parent=nil | |
1306 | end),prt,msh) | |
1307 | end | |
1308 | ||
1309 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
1310 | local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1311 | prt.Material = "Neon" | |
1312 | prt.Anchored=true | |
1313 | prt.CFrame=cframe | |
1314 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1315 | local wld=weld(prt,prt,Parent,cframe) | |
1316 | game:GetService("Debris"):AddItem(prt,5) | |
1317 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1318 | for i=0,1,delay do | |
1319 | wait() | |
1320 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
1321 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1322 | Part.Transparency=i | |
1323 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1324 | end | |
1325 | Part.Parent=nil | |
1326 | end),prt,msh,wld) | |
1327 | end | |
1328 | ||
1329 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
1330 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1331 | prt.Anchored=false | |
1332 | prt.CFrame=cframe | |
1333 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1334 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
1335 | game:GetService("Debris"):AddItem(prt,5) | |
1336 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1337 | for i=0,1,delay do | |
1338 | wait() | |
1339 | Weld.C0=euler(i*20,0,0) | |
1340 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1341 | Part.Transparency=i | |
1342 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1343 | end | |
1344 | Part.Parent=nil | |
1345 | end),prt,msh,wld) | |
1346 | end | |
1347 | ||
1348 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1349 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1350 | prt.Anchored=true | |
1351 | prt.CFrame=cframe | |
1352 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1353 | game:GetService("Debris"):AddItem(prt,2) | |
1354 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1355 | for i=0,1,delay do | |
1356 | wait() | |
1357 | Part.CFrame=Part.CFrame | |
1358 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1359 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1360 | prt2.Anchored=true | |
1361 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1362 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
1363 | game:GetService("Debris"):AddItem(prt2,2) | |
1364 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1365 | for i=0,1,0.1 do | |
1366 | wait() | |
1367 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
1368 | end | |
1369 | Part.Parent=nil | |
1370 | end),prt2,msh2) | |
1371 | end | |
1372 | for i=0,1,delay*2 do | |
1373 | wait() | |
1374 | Part.CFrame=Part.CFrame | |
1375 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
1376 | end | |
1377 | Part.Parent=nil | |
1378 | end),prt,msh) | |
1379 | end | |
1380 | ||
1381 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1382 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1383 | prt.Anchored=true | |
1384 | prt.CFrame=cframe | |
1385 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1386 | game:GetService("Debris"):AddItem(prt,2) | |
1387 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1388 | for i=0,1,delay do | |
1389 | wait() | |
1390 | Part.CFrame=Part.CFrame | |
1391 | Part.Transparency=i | |
1392 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1393 | end | |
1394 | Part.Parent=nil | |
1395 | end),prt,msh) | |
1396 | end | |
1397 | ||
1398 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
1399 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1400 | prt.Anchored=true | |
1401 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1402 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1403 | game:GetService("Debris"):AddItem(prt,2) | |
1404 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
1405 | CF=Part.CFrame | |
1406 | Numbb=0 | |
1407 | randnumb=math.random()/10 | |
1408 | rand1=math.random()/10 | |
1409 | for i=0,1,rand1 do | |
1410 | wait() | |
1411 | CF=CF*cf(0,math.random()/2,0) | |
1412 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
1413 | Part.CFrame=CF*euler(Numbb,0,0) | |
1414 | Part.Transparency=i | |
1415 | Numbb=Numbb+randnumb | |
1416 | end | |
1417 | Part.Parent=nil | |
1418 | end),prt,CF,Numbb,randnumb) | |
1419 | end | |
1420 | ||
1421 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1422 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1423 | prt.Anchored=true | |
1424 | prt.CFrame=cframe | |
1425 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
1426 | game:GetService("Debris"):AddItem(prt,5) | |
1427 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1428 | for i=0,1,delay do | |
1429 | wait() | |
1430 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
1431 | Part.Transparency=i | |
1432 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1433 | end | |
1434 | Part.Parent=nil | |
1435 | end),prt,msh) | |
1436 | end | |
1437 | ||
1438 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1439 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1440 | prt.Anchored=true | |
1441 | prt.CFrame=cframe | |
1442 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
1443 | game:GetService("Debris"):AddItem(prt,2) | |
1444 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1445 | for i=0,1,delay do | |
1446 | wait() | |
1447 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
1448 | Part.Transparency=i | |
1449 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1450 | end | |
1451 | Part.Parent=nil | |
1452 | end),prt,msh) | |
1453 | end | |
1454 | ||
1455 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
1456 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
1457 | prt.Anchored=true | |
1458 | prt.CFrame=cframe*cf(x,y,z) | |
1459 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
1460 | game:GetService("Debris"):AddItem(prt,5) | |
1461 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
1462 | local num=math.random() | |
1463 | local num2=math.random(-3,2)+math.random() | |
1464 | local numm=0 | |
1465 | for i=0,1,delay*2 do | |
1466 | swait() | |
1467 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
1468 | Part.Transparency=i | |
1469 | numm=numm+0.01 | |
1470 | end | |
1471 | Part.Parent=nil | |
1472 | Mesh.Parent=nil | |
1473 | end),prt,msh,x,y,z) | |
1474 | end | |
1475 | ||
1476 | function dmgstart(dmg,what) | |
1477 | hitcon = what.Touched:connect(function(hit) | |
1478 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
1479 | if hum and not hum:IsDescendantOf(Character) then | |
1480 | hum:TakeDamage(dmg) | |
1481 | end | |
1482 | end) | |
1483 | end | |
1484 | ||
1485 | function dmgstop() | |
1486 | hitcon:disconnect() | |
1487 | end | |
1488 | ||
1489 | function Cloak() | |
1490 | Face.Parent=nil | |
1491 | cloaked=true | |
1492 | for _,v in pairs(Torso.Parent:children()) do | |
1493 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1494 | coroutine.resume(coroutine.create(function() | |
1495 | for i=0,1,0.2 do | |
1496 | wait() | |
1497 | v.Transparency=i | |
1498 | end | |
1499 | v.Transparency=1 | |
1500 | end)) | |
1501 | end | |
1502 | if v.className=="Hat" then | |
1503 | hatp=v.Handle | |
1504 | coroutine.resume(coroutine.create(function(derp) | |
1505 | for i=0,1,0.2 do | |
1506 | wait() | |
1507 | derp.Transparency=i | |
1508 | end | |
1509 | derp.Transparency=1 | |
1510 | end),hatp) | |
1511 | end | |
1512 | end | |
1513 | for _,v in pairs(m:children()) do | |
1514 | if v.className=="Part" then | |
1515 | coroutine.resume(coroutine.create(function() | |
1516 | for i=0,1,0.2 do | |
1517 | wait() | |
1518 | v.Transparency=i | |
1519 | end | |
1520 | v.Transparency=1 | |
1521 | end)) | |
1522 | end | |
1523 | end | |
1524 | end | |
1525 | ||
1526 | function UnCloak() | |
1527 | so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) | |
1528 | Face.Parent=Head | |
1529 | cloaked=false | |
1530 | for _,v in pairs(Torso.Parent:children()) do | |
1531 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
1532 | coroutine.resume(coroutine.create(function() | |
1533 | for i=0,1,0.1 do | |
1534 | wait() | |
1535 | v.Transparency=v.Transparency-0.1 | |
1536 | end | |
1537 | v.Transparency=0 | |
1538 | end)) | |
1539 | end | |
1540 | if v.className=="Hat" then | |
1541 | hatp=v.Handle | |
1542 | coroutine.resume(coroutine.create(function(derp) | |
1543 | for i=0,1,0.1 do | |
1544 | wait() | |
1545 | derp.Transparency=derp.Transparency-0.1 | |
1546 | end | |
1547 | derp.Transparency=0 | |
1548 | end),hatp) | |
1549 | end | |
1550 | end | |
1551 | for _,v in pairs(m:children()) do | |
1552 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then | |
1553 | coroutine.resume(coroutine.create(function() | |
1554 | for i=0,1,0.1 do | |
1555 | wait() | |
1556 | v.Transparency=v.Transparency-0.1 | |
1557 | end | |
1558 | v.Transparency=0 | |
1559 | end)) | |
1560 | v.Transparency=0 | |
1561 | end | |
1562 | end | |
1563 | end | |
1564 | ||
1565 | local jumped = false | |
1566 | function jump() | |
1567 | attack = true | |
1568 | jumped = true | |
1569 | hum.WalkSpeed = 0 | |
1570 | chatfunc("I need more speed!") | |
1571 | local pie22 = Instance.new("ParticleEmitter") | |
1572 | pie22.Parent = larm | |
1573 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1574 | pie22.LightEmission = 1 | |
1575 | pie22.Size = NumberSequence.new(2) | |
1576 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1577 | pie22.Transparency = NumberSequence.new(0.7) | |
1578 | pie22.EmissionDirection = "Top" | |
1579 | pie22.Enabled = true | |
1580 | pie22.Lifetime = NumberRange.new(0.1) | |
1581 | pie22.Rotation = NumberRange.new(-420, 425) | |
1582 | pie22.Rate = 300 | |
1583 | pie22.Speed = NumberRange.new(4) | |
1584 | pie22.LockedToPart = true | |
1585 | pie22.VelocitySpread = 360 | |
1586 | local pie222 = Instance.new("ParticleEmitter") | |
1587 | pie222.Parent = rarm | |
1588 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1589 | pie222.LightEmission = 1 | |
1590 | pie222.Size = NumberSequence.new(2) | |
1591 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1592 | pie222.Transparency = NumberSequence.new(0.7) | |
1593 | pie222.EmissionDirection = "Top" | |
1594 | pie222.Enabled = true | |
1595 | pie222.Lifetime = NumberRange.new(0.1) | |
1596 | pie222.Rotation = NumberRange.new(-420, 425) | |
1597 | pie222.Rate = 300 | |
1598 | pie222.Speed = NumberRange.new(4) | |
1599 | pie222.LockedToPart = true | |
1600 | pie222.VelocitySpread = 360 | |
1601 | local pie2242 = Instance.new("ParticleEmitter") | |
1602 | pie2242.Parent = lleg | |
1603 | pie2242.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1604 | pie2242.LightEmission = 1 | |
1605 | pie2242.Size = NumberSequence.new(2) | |
1606 | pie2242.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1607 | pie2242.Transparency = NumberSequence.new(0.7) | |
1608 | pie2242.EmissionDirection = "Top" | |
1609 | pie2242.Enabled = true | |
1610 | pie2242.Lifetime = NumberRange.new(0.1) | |
1611 | pie2242.Rotation = NumberRange.new(-420, 425) | |
1612 | pie2242.Rate = 300 | |
1613 | pie2242.Speed = NumberRange.new(4) | |
1614 | pie2242.LockedToPart = true | |
1615 | pie2242.VelocitySpread = 360 | |
1616 | local pie22442 = Instance.new("ParticleEmitter") | |
1617 | pie22442.Parent = rleg | |
1618 | pie22442.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1619 | pie22442.LightEmission = 1 | |
1620 | pie22442.Size = NumberSequence.new(2) | |
1621 | pie22442.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1622 | pie22442.Transparency = NumberSequence.new(0.7) | |
1623 | pie22442.EmissionDirection = "Top" | |
1624 | pie22442.Enabled = true | |
1625 | pie22442.Lifetime = NumberRange.new(0.1) | |
1626 | pie22442.Rotation = NumberRange.new(-420, 425) | |
1627 | pie22442.Rate = 300 | |
1628 | pie22442.Speed = NumberRange.new(4) | |
1629 | pie22442.LockedToPart = true | |
1630 | pie22442.VelocitySpread = 360 | |
1631 | local pie2222 = Instance.new("ParticleEmitter") | |
1632 | pie2222.Parent = hed | |
1633 | pie2222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
1634 | pie2222.LightEmission = 1 | |
1635 | pie2222.Size = NumberSequence.new(20) | |
1636 | pie2222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
1637 | pie2222.Transparency = NumberSequence.new(0.7) | |
1638 | pie2222.EmissionDirection = "Top" | |
1639 | pie2222.Enabled = true | |
1640 | pie2222.Lifetime = NumberRange.new(0.1) | |
1641 | pie2222.Rotation = NumberRange.new(-420, 425) | |
1642 | pie2222.Rate = 300 | |
1643 | pie2222.Speed = NumberRange.new(4) | |
1644 | pie2222.LockedToPart = true | |
1645 | pie2222.VelocitySpread = 360 | |
1646 | MagicBlock(bc("New Yeller"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
1647 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7) | |
1648 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
1649 | for i = 0,15,0.1 do | |
1650 | swait() | |
1651 | MagicBlock(bc("New Yeller"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1652 | MagicBlock(bc("New Yeller"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1653 | RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05) | |
1654 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05) | |
1655 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05) | |
1656 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05) | |
1657 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
1658 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
1659 | end | |
1660 | ||
1661 | local bv = Instance.new("BodyVelocity") | |
1662 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1663 | bv.velocity = root.CFrame.lookVector*150 | |
1664 | bv.Parent = root | |
1665 | game:GetService("Debris"):AddItem(bv, 0.5) | |
1666 | local rng = Instance.new("Part", char) | |
1667 | rng.Anchored = true | |
1668 | rng.BrickColor = BrickColor.new("Neon orange") | |
1669 | rng.CanCollide = false | |
1670 | rng.FormFactor = 3 | |
1671 | rng.Name = "Ring" | |
1672 | rng.Size = Vector3.new(1, 1, 1) | |
1673 | rng.Transparency = 0 | |
1674 | rng.TopSurface = 0 | |
1675 | rng.BottomSurface = 0 | |
1676 | rng.Position = root.Position | |
1677 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1678 | local rngm = Instance.new("SpecialMesh", rng) | |
1679 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1680 | local rng2 = rng:Clone() | |
1681 | rng2.Parent = char | |
1682 | local rng2m = rng2.Mesh | |
1683 | local rng3 = rng:Clone() | |
1684 | rng3.Parent = char | |
1685 | rng3.BrickColor = BrickColor.new("New Yeller") | |
1686 | local rng3m = rng3.Mesh | |
1687 | local rng4 = rng:Clone() | |
1688 | rng4.Parent = char | |
1689 | local rng4m = rng4.Mesh | |
1690 | local rng5 = rng:Clone() | |
1691 | rng5.Parent = char | |
1692 | rng5.BrickColor = BrickColor.new("New Yeller") | |
1693 | local rng5m = rng5.Mesh | |
1694 | CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1) | |
1695 | wait() | |
1696 | local scaler = 10 | |
1697 | local scaler2 = 10 | |
1698 | game:GetService("Debris"):AddItem(bv, 2.4) | |
1699 | hum.WalkSpeed = 50 | |
1700 | MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015) | |
1701 | for i = 0,10,0.1 do | |
1702 | swait() | |
1703 | rng.Transparency = rng.Transparency + 0.01 | |
1704 | rng2.Transparency = rng2.Transparency + 0.01 | |
1705 | rng3.Transparency = rng3.Transparency + 0.01 | |
1706 | rng4.Transparency = rng4.Transparency + 0.01 | |
1707 | rng5.Transparency = rng5.Transparency + 0.01 | |
1708 | scaler = scaler - 0.125 | |
1709 | scaler2 = scaler2 - 0.1 | |
1710 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20) | |
1711 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30) | |
1712 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40) | |
1713 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50) | |
1714 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1715 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
1716 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5) | |
1717 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5) | |
1718 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5) | |
1719 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5) | |
1720 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5) | |
1721 | end | |
1722 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1723 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1724 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1725 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1726 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1727 | hum.WalkSpeed = 126 | |
1728 | pie2222:Destroy() | |
1729 | attack = false | |
1730 | jumped = false | |
1731 | wait(20) | |
1732 | chatfunc("Too much energy..") | |
1733 | asd1 = Instance.new("Sound",char) | |
1734 | asd1.SoundId = "http://www.roblox.com/asset/?id = 3264923" | |
1735 | asd1.Volume = 1.5 | |
1736 | asd1.Looped = false | |
1737 | asd1:Play() | |
1738 | pie22:Destroy() | |
1739 | pie222:Destroy() | |
1740 | pie2242:Destroy() | |
1741 | pie22442:Destroy() | |
1742 | hum.WalkSpeed = 16 | |
1743 | end | |
1744 | ||
1745 | function dash() | |
1746 | attack = true | |
1747 | jumped = true | |
1748 | hum.WalkSpeed = 16 | |
1749 | killbrick = Instance.new("Part",char) | |
1750 | killbrick.Size = Vector3.new(1,1,1) | |
1751 | killbrick.Transparency = 1 | |
1752 | killbrick:BreakJoints() | |
1753 | killbrick.CanCollide = false | |
1754 | local wel = Instance.new("Weld",killbrick) | |
1755 | wel.Part0 = killbrick | |
1756 | wel.Part1 = char["Left Arm"] | |
1757 | wel.C0 = CFrame.new(0,1,0) | |
1758 | local bv = Instance.new("BodyVelocity") | |
1759 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1760 | bv.velocity = root.CFrame.lookVector*150 | |
1761 | bv.Parent = root | |
1762 | char.Head.face.Texture = "rbxassetid://126198982" | |
1763 | game:GetService("Debris"):AddItem(bv, 1) | |
1764 | local rng = Instance.new("Part", char) | |
1765 | rng.Anchored = true | |
1766 | rng.BrickColor = BrickColor.new("Neon orange") | |
1767 | rng.CanCollide = false | |
1768 | rng.FormFactor = 3 | |
1769 | rng.Name = "Ring" | |
1770 | rng.Size = Vector3.new(1, 1, 1) | |
1771 | rng.Transparency = 0 | |
1772 | rng.TopSurface = 0 | |
1773 | rng.BottomSurface = 0 | |
1774 | rng.CFrame = root.CFrame | |
1775 | local rngm = Instance.new("SpecialMesh", rng) | |
1776 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1777 | local rng2 = rng:Clone() | |
1778 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
1779 | rng2.Parent = char | |
1780 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1781 | local rng2m = rng2.Mesh | |
1782 | local rng3 = rng:Clone() | |
1783 | rng3.Parent = char | |
1784 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
1785 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
1786 | local rng3m = rng3.Mesh | |
1787 | local rng4 = rng:Clone() | |
1788 | rng4.Parent = char | |
1789 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
1790 | local rng4m = rng4.Mesh | |
1791 | local rng5 = rng:Clone() | |
1792 | rng5.Parent = char | |
1793 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
1794 | local rng5m = rng5.Mesh | |
1795 | local rng6 = rng:Clone() | |
1796 | rng6.Material = "Neon" | |
1797 | rng6.CanCollide = false | |
1798 | rng6.BrickColor = BrickColor.new("Neon orange") | |
1799 | rng6.Parent = LeftLeg | |
1800 | local rng6m = rng6.Mesh | |
1801 | rng6m.Scale = vt(1,1,1) | |
1802 | rng6m.MeshType = "Sphere" | |
1803 | local rng7 = rng:Clone() | |
1804 | rng7.Material = "Plastic" | |
1805 | rng7.CanCollide = false | |
1806 | rng7.BrickColor = BrickColor.new("Bright red") | |
1807 | rng7.Parent = LeftLeg | |
1808 | local rng7m = rng7.Mesh | |
1809 | rng7m.Scale = vt(1,1,1) | |
1810 | rng7m.MeshType = "Sphere" | |
1811 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
1812 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
1813 | wait() | |
1814 | local scaler = 10/5 | |
1815 | local scaler2 = 10/5 | |
1816 | local hit = rng6.Touched:connect(function(hit) | |
1817 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1818 | end) | |
1819 | for i = 0,10,0.1 do | |
1820 | swait() | |
1821 | rng.Transparency = rng.Transparency + 0.01 | |
1822 | rng2.Transparency = rng2.Transparency + 0.01 | |
1823 | rng3.Transparency = rng3.Transparency + 0.01 | |
1824 | rng4.Transparency = rng4.Transparency + 0.01 | |
1825 | rng5.Transparency = rng5.Transparency + 0.01 | |
1826 | rng6.Transparency = rng5.Transparency + 0.001 | |
1827 | rng7.Transparency = rng5.Transparency + 0.001 | |
1828 | scaler = scaler - 0.125/5 | |
1829 | scaler2 = scaler2 - 0.1/5 | |
1830 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
1831 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
1832 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
1833 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
1834 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
1835 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
1836 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1837 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
1838 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
1839 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
1840 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
1841 | rng6.CFrame = rng3.CFrame | |
1842 | rng7.CFrame = rng3.CFrame | |
1843 | end | |
1844 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1845 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1846 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
1847 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
1848 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
1849 | hum.WalkSpeed = 16 | |
1850 | hit:disconnect() | |
1851 | attack = false | |
1852 | killbrick:Destroy() | |
1853 | char.Head.face.Texture = "rbxassetid://29291814" | |
1854 | jumped = false | |
1855 | end | |
1856 | ||
1857 | ||
1858 | ||
1859 | function daash() | |
1860 | attack = false | |
1861 | jumped = false | |
1862 | hum.WalkSpeed = 16 | |
1863 | local bv = Instance.new("BodyVelocity") | |
1864 | bv.maxForce = Vector3.new(6000,6000,6000) | |
1865 | bv.velocity = root.CFrame.lookVector*150 | |
1866 | bv.Parent = root | |
1867 | char.Head.face.Texture = "rbxassetid://126198982" | |
1868 | game:GetService("Debris"):AddItem(bv, 1) | |
1869 | local rng = Instance.new("Part", char) | |
1870 | rng.Anchored = true | |
1871 | rng.BrickColor = BrickColor.new("White") | |
1872 | rng.CanCollide = false | |
1873 | rng.FormFactor = 3 | |
1874 | rng.Name = "Ring" | |
1875 | rng.Size = Vector3.new(1, 1, 1) | |
1876 | rng.Transparency = 0 | |
1877 | rng.TopSurface = 0 | |
1878 | rng.BottomSurface = 0 | |
1879 | rng.CFrame = root.CFrame | |
1880 | local rngm = Instance.new("SpecialMesh", rng) | |
1881 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1882 | local rng2 = rng:Clone() | |
1883 | rng2.BrickColor = BrickColor.new("White") | |
1884 | rng2.Parent = char | |
1885 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1886 | local rng2m = rng2.Mesh | |
1887 | ||
1888 | local rng5m = rng.Mesh | |
1889 | CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1) | |
1890 | wait() | |
1891 | local scaler = 10/5 | |
1892 | local scaler2 = 10/5 | |
1893 | local hit = rng.Touched:connect(function(hit) | |
1894 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1895 | end) | |
1896 | for i = 0,10,0.1 do | |
1897 | swait() | |
1898 | MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1899 | MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1900 | rng.Transparency = rng.Transparency + 0.01 | |
1901 | rng2.Transparency = rng2.Transparency + 0.01 | |
1902 | ||
1903 | ||
1904 | scaler = scaler - 0.125/5 | |
1905 | scaler2 = scaler2 - 0.125/5 | |
1906 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0) | |
1907 | ||
1908 | ||
1909 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
1910 | ||
1911 | end | |
1912 | game:GetService("Debris"):AddItem(rng, 0.1) | |
1913 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
1914 | hum.WalkSpeed = 16 | |
1915 | hit:disconnect() | |
1916 | attack = false | |
1917 | char.Head.face.Texture = "rbxassetid://29291814" | |
1918 | jumped = false | |
1919 | end | |
1920 | ||
1921 | ||
1922 | ||
1923 | function dashh() | |
1924 | attack = true | |
1925 | jumped = true | |
1926 | hum.WalkSpeed = 16 | |
1927 | local BV = Instance.new("BodyVelocity") | |
1928 | BV = Instance.new("BodyVelocity", tors) | |
1929 | BV.maxForce = Vector3.new(0,10000,0) | |
1930 | BV.P = 1000 | |
1931 | BV.velocity = Vector3.new(0,800,0) | |
1932 | char.Head.face.Texture = "rbxassetid://126198982" | |
1933 | game:GetService("Debris"):AddItem(BV, 1) | |
1934 | local rng = Instance.new("Part", char) | |
1935 | rng.Anchored = true | |
1936 | rng.BrickColor = BrickColor.new("Neon orange") | |
1937 | rng.CanCollide = false | |
1938 | rng.FormFactor = 3 | |
1939 | rng.Name = "Ring" | |
1940 | rng.Size = Vector3.new(1, 1, 1) | |
1941 | rng.Transparency = 0 | |
1942 | rng.TopSurface = 0 | |
1943 | rng.BottomSurface = 0 | |
1944 | rng.CFrame = root.CFrame | |
1945 | local rngm = Instance.new("SpecialMesh", rng) | |
1946 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1947 | local rng2 = rng:Clone() | |
1948 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
1949 | rng2.Parent = char | |
1950 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
1951 | local rng2m = rng2.Mesh | |
1952 | local rng3 = rng:Clone() | |
1953 | rng3.Parent = char | |
1954 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
1955 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*20 | |
1956 | local rng3m = rng3.Mesh | |
1957 | local rng4 = rng:Clone() | |
1958 | rng4.Parent = char | |
1959 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
1960 | local rng4m = rng4.Mesh | |
1961 | local rng5 = rng:Clone() | |
1962 | rng5.Parent = char | |
1963 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
1964 | local rng5m = rng5.Mesh | |
1965 | local rng6 = rng:Clone() | |
1966 | rng6.Material = "Neon" | |
1967 | rng6.CanCollide = false | |
1968 | rng6.BrickColor = BrickColor.new("Neon orange") | |
1969 | rng6.Parent = LeftLeg | |
1970 | local rng6m = rng6.Mesh | |
1971 | rng6m.Scale = vt(1,1,1) | |
1972 | rng6m.MeshType = "Sphere" | |
1973 | local rng7 = rng:Clone() | |
1974 | rng7.Material = "Plastic" | |
1975 | rng7.CanCollide = false | |
1976 | rng7.BrickColor = BrickColor.new("Bright red") | |
1977 | rng7.Parent = LeftLeg | |
1978 | local rng7m = rng7.Mesh | |
1979 | rng7m.Scale = vt(1,1,1) | |
1980 | rng7m.MeshType = "Sphere" | |
1981 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
1982 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
1983 | wait() | |
1984 | local scaler = 10/5 | |
1985 | local scaler2 = 10/5 | |
1986 | local hit = rng6.Touched:connect(function(hit) | |
1987 | Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1) | |
1988 | end) | |
1989 | for i = 0,10,0.1 do | |
1990 | swait() | |
1991 | MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1992 | MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
1993 | rng.Transparency = rng.Transparency + 0.01 | |
1994 | rng2.Transparency = rng2.Transparency + 0.01 | |
1995 | rng3.Transparency = rng3.Transparency + 0.01 | |
1996 | rng4.Transparency = rng4.Transparency + 0.01 | |
1997 | rng5.Transparency = rng5.Transparency + 0.01 | |
1998 | rng6.Transparency = rng5.Transparency + 0.001 | |
1999 | rng7.Transparency = rng5.Transparency + 0.001 | |
2000 | scaler = scaler - 0.125/5 | |
2001 | scaler2 = scaler2 - 0.1/5 | |
2002 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2003 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
2004 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2005 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2006 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
2007 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2008 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2009 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2010 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2011 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2012 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2013 | rng6.CFrame = rng3.CFrame | |
2014 | rng7.CFrame = rng3.CFrame | |
2015 | end | |
2016 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2017 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2018 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2019 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2020 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2021 | hum.WalkSpeed = 16 | |
2022 | hit:disconnect() | |
2023 | attack = false | |
2024 | char.Head.face.Texture = "rbxassetid://29291814" | |
2025 | jumped = false | |
2026 | end | |
2027 | ||
2028 | ||
2029 | function dashs() | |
2030 | attack = true | |
2031 | jumped = true | |
2032 | hum.WalkSpeed = 16 | |
2033 | local bv = Instance.new("BodyVelocity") | |
2034 | bv.maxForce = Vector3.new(0, 0, 0) | |
2035 | bv.velocity = root.CFrame.lookVector*150 | |
2036 | bv.Parent = root | |
2037 | char.Head.face.Texture = "rbxassetid://126198982" | |
2038 | game:GetService("Debris"):AddItem(bv, 1) | |
2039 | local rng = Instance.new("Part", char) | |
2040 | rng.Anchored = true | |
2041 | rng.BrickColor = BrickColor.new("Neon orange") | |
2042 | rng.CanCollide = false | |
2043 | rng.FormFactor = 3 | |
2044 | rng.Name = "Ring" | |
2045 | rng.Size = Vector3.new(1, 1, 1) | |
2046 | rng.Transparency = 0 | |
2047 | rng.TopSurface = 0 | |
2048 | rng.BottomSurface = 0 | |
2049 | rng.CFrame = root.CFrame | |
2050 | local rngm = Instance.new("SpecialMesh", rng) | |
2051 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2052 | local rng2 = rng:Clone() | |
2053 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
2054 | rng2.Parent = char | |
2055 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
2056 | local rng2m = rng2.Mesh | |
2057 | local rng3 = rng:Clone() | |
2058 | rng3.Parent = char | |
2059 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
2060 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*60 | |
2061 | local rng3m = rng3.Mesh | |
2062 | local rng4 = rng:Clone() | |
2063 | rng4.Parent = char | |
2064 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*30 | |
2065 | local rng4m = rng4.Mesh | |
2066 | local rng5 = rng:Clone() | |
2067 | rng5.Parent = char | |
2068 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*40 | |
2069 | local rng5m = rng5.Mesh | |
2070 | local rng6 = rng:Clone() | |
2071 | rng6.Material = "Neon" | |
2072 | rng6.CanCollide = false | |
2073 | rng6.BrickColor = BrickColor.new("Neon orange") | |
2074 | rng6.Parent = LeftLeg | |
2075 | local rng6m = rng6.Mesh | |
2076 | rng6m.Scale = vt(1,1,1) | |
2077 | rng6m.MeshType = "Sphere" | |
2078 | local rng7 = rng:Clone() | |
2079 | rng7.Material = "Plastic" | |
2080 | rng7.CanCollide = false | |
2081 | rng7.BrickColor = BrickColor.new("Bright red") | |
2082 | rng7.Parent = LeftLeg | |
2083 | local rng7m = rng7.Mesh | |
2084 | rng7m.Scale = vt(1,1,1) | |
2085 | rng7m.MeshType = "Sphere" | |
2086 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
2087 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2088 | wait() | |
2089 | local scaler = 10/5 | |
2090 | local scaler2 = 10/5 | |
2091 | local hit = rng6.Touched:connect(function(hit) | |
2092 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
2093 | end) | |
2094 | for i = 0,10,0.1 do | |
2095 | swait() | |
2096 | rng.Transparency = rng.Transparency + 0.01 | |
2097 | rng2.Transparency = rng2.Transparency + 0.01 | |
2098 | rng3.Transparency = rng3.Transparency + 0.01 | |
2099 | rng4.Transparency = rng4.Transparency + 0.01 | |
2100 | rng5.Transparency = rng5.Transparency + 0.01 | |
2101 | rng6.Transparency = rng5.Transparency + 0.001 | |
2102 | rng7.Transparency = rng5.Transparency + 0.001 | |
2103 | scaler = scaler - 0.125/5 | |
2104 | scaler2 = scaler2 - 0.1/5 | |
2105 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2106 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2107 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2108 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0) | |
2109 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5) | |
2110 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3) | |
2111 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2112 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
2113 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
2114 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
2115 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
2116 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
2117 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
2118 | rng6.CFrame = rng3.CFrame | |
2119 | rng7.CFrame = rng3.CFrame | |
2120 | end | |
2121 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2122 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2123 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2124 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2125 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2126 | hum.WalkSpeed = 16 | |
2127 | hit:disconnect() | |
2128 | attack = false | |
2129 | char.Head.face.Texture = "rbxassetid://29291814" | |
2130 | jumped = false | |
2131 | end | |
2132 | ||
2133 | ||
2134 | ||
2135 | ||
2136 | m.KeyDown:connect(function(key) | |
2137 | if key == "j" then | |
2138 | if tp == true then | |
2139 | tp = false | |
2140 | char.Head.face.Parent = game.Lighting | |
2141 | asd1 = Instance.new("Sound",char) | |
2142 | asd1.SoundId = "http://www.roblox.com/asset/?id = 153613030" | |
2143 | asd1.Volume = 0.5 | |
2144 | asd1.Looped = false | |
2145 | asd1:Play() | |
2146 | v:Destroy() | |
2147 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
2148 | end | |
2149 | ||
2150 | end | |
2151 | wait(0.2) | |
2152 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
2153 | end | |
2154 | ||
2155 | end | |
2156 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
2157 | char.HumanoidRootPart.Transparency = 1 | |
2158 | game.Lighting.face.Parent = char.Head | |
2159 | wait(0.7) | |
2160 | ||
2161 | tp = true | |
2162 | ||
2163 | ||
2164 | end | |
2165 | end | |
2166 | end) | |
2167 | ||
2168 | ||
2169 | ---------------------------------------------------- | |
2170 | Debounces = { | |
2171 | CanAttack = true; | |
2172 | NoIdl = false; | |
2173 | Slashing = false; | |
2174 | Slashed = false; | |
2175 | RPunch = false; | |
2176 | RPunched = false; | |
2177 | LPunch = false; | |
2178 | LPunched = false; | |
2179 | } | |
2180 | local Touche = {char.Name, } | |
2181 | ---------------------------------------------------- | |
2182 | ||
2183 | ||
2184 | local rs = game:GetService("RunService").RenderStepped | |
2185 | ||
2186 | ||
2187 | mouse.KeyDown:connect(function(key) | |
2188 | if key == "-" then | |
2189 | if Charging == false then | |
2190 | Charging = true | |
2191 | if Debounces.CanAttack == true then | |
2192 | Debounces.CanAttack = false | |
2193 | Debounces.NoIdl = true | |
2194 | Debounces.on = true | |
2195 | for i = 1,20 do | |
2196 | 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) | |
2197 | 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) | |
2198 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2199 | tors.Weld.C0 = Lerp(tors.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2200 | 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) | |
2201 | 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) | |
2202 | if Debounces.on == false then break end | |
2203 | rs:wait() | |
2204 | end | |
2205 | --[[for i = 1,20 do | |
2206 | 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) | |
2207 | 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) | |
2208 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2209 | 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) | |
2210 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2211 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2212 | if Debounces.on == false then break end | |
2213 | rs:wait() | |
2214 | end]]-- | |
2215 | pt=Instance.new('Part',tors) | |
2216 | pt.Anchored=true | |
2217 | pt.CanCollide=false | |
2218 | pt.Locked = true | |
2219 | pt.FormFactor='Custom' | |
2220 | pt.Size=Vector3.new(1,1,1) | |
2221 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2222 | pt.Transparency=.6 | |
2223 | pt.BrickColor=BrickColor.new('New Yeller') | |
2224 | msh=Instance.new('SpecialMesh',pt) | |
2225 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2226 | msh.Scale=Vector3.new(8,4,8) | |
2227 | pt2=pt:clone() | |
2228 | pt2.Parent = tors | |
2229 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2230 | pt2.BrickColor=BrickColor.new("New Yeller") | |
2231 | msh2=msh:clone() | |
2232 | msh2.Parent=pt2 | |
2233 | msh2.Scale=Vector3.new(10,5,10) | |
2234 | ||
2235 | ||
2236 | ||
2237 | bl = Instance.new("Part", char) | |
2238 | bl.Locked = true | |
2239 | bl.Name = "Shell" | |
2240 | bl.BrickColor = BrickColor.new("New Yeller") | |
2241 | bl.Anchored = true | |
2242 | bl.CanCollide = false | |
2243 | bl.Transparency = 0 | |
2244 | bl.Reflectance = 0 | |
2245 | bl.BottomSurface = 0 | |
2246 | bl.TopSurface = 0 | |
2247 | bl.Shape = 0 | |
2248 | blm = Instance.new("SpecialMesh",bl) | |
2249 | blm.MeshType = "Sphere" | |
2250 | blm.Scale = Vector3.new(1,1,1) | |
2251 | blm.MeshId = "rbxassetid://9982590" | |
2252 | ||
2253 | coroutine.resume(coroutine.create(function() | |
2254 | for i=1, math.huge, 4 do | |
2255 | if Charging == true then | |
2256 | rs:wait() | |
2257 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2258 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2259 | bl.Transparency = bl.Transparency + 0.005 | |
2260 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2261 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2262 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2263 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2264 | elseif Charging == false then break | |
2265 | end | |
2266 | end | |
2267 | end)) | |
2268 | ||
2269 | repeat | |
2270 | local p = Instance.new('Part',tors) | |
2271 | p.formFactor = 'Custom' | |
2272 | p.Size = Vector3.new(1,1,1) | |
2273 | p.BrickColor = workspace.Base.BrickColor | |
2274 | p.CanCollide = false | |
2275 | p.Transparency = 0 | |
2276 | p.Anchored = true | |
2277 | p.Locked=true | |
2278 | p.Material = workspace.Base.Material | |
2279 | local m = Instance.new("BlockMesh",p) | |
2280 | m.Scale = Vector3.new(s,s,s) | |
2281 | p.CFrame = tors.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()) | |
2282 | --[[coroutine.wrap(function() | |
2283 | wait(2) | |
2284 | while Charging == true do | |
2285 | wait(2) | |
2286 | GroundWave1() | |
2287 | wait(2) | |
2288 | end | |
2289 | end)()]]-- | |
2290 | Spawn(function() | |
2291 | while rs:wait() do | |
2292 | if Charging == true then | |
2293 | 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))) | |
2294 | 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))) | |
2295 | 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)) | |
2296 | tors.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2297 | 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))) | |
2298 | 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))) | |
2299 | elseif Charging == false then break | |
2300 | end | |
2301 | end | |
2302 | end) | |
2303 | Spawn(function() | |
2304 | while rs:wait() do | |
2305 | if p.Transparency >= 1 then p:Destroy() break end | |
2306 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2307 | p.Transparency = p.Transparency+0.01 | |
2308 | end | |
2309 | end) | |
2310 | wait(.3) | |
2311 | until Charging == false | |
2312 | end | |
2313 | end | |
2314 | end | |
2315 | end) | |
2316 | ---------------------------------------------------- | |
2317 | mouse.KeyUp:connect(function(key) | |
2318 | if key == "r" then | |
2319 | if Charging == true then | |
2320 | Charging = false | |
2321 | pt:Destroy() | |
2322 | pt2:Destroy() | |
2323 | bl:Destroy() | |
2324 | if Debounces.CanAttack == false then | |
2325 | Debounces.CanAttack = true | |
2326 | Debounces.NoIdl = false | |
2327 | Debounces.on = false | |
2328 | end | |
2329 | end | |
2330 | end | |
2331 | end) | |
2332 | ||
2333 | ||
2334 | ---------------------------------------------------- | |
2335 | mouse.KeyDown:connect(function(key) | |
2336 | if key == "p" then | |
2337 | if Debounces.CanAttack == true then | |
2338 | Debounces.CanAttack = false | |
2339 | Debounces.on = true | |
2340 | Debounces.NoIdl = true | |
2341 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2342 | Debounces.RPunch = true | |
2343 | Debounces.LPunch = true | |
2344 | Debounces.ks = true | |
2345 | Debounces.ks2 = true | |
2346 | for i = 1, 3 do | |
2347 | 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) | |
2348 | 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) | |
2349 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2350 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2351 | 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) | |
2352 | 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) | |
2353 | if Debounces.on == false then break end | |
2354 | wait() | |
2355 | end | |
2356 | for i = 1, 3 do | |
2357 | 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) | |
2358 | 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) | |
2359 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2360 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2361 | 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) | |
2362 | 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) | |
2363 | if Debounces.on == false then break end | |
2364 | wait() | |
2365 | end | |
2366 | for i = 1, 3 do | |
2367 | 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) | |
2368 | 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) | |
2369 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2370 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2371 | 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) | |
2372 | 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) | |
2373 | if Debounces.on == false then break end | |
2374 | wait() | |
2375 | end | |
2376 | for i = 1, 3 do | |
2377 | 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) | |
2378 | 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) | |
2379 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2380 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2381 | 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) | |
2382 | 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) | |
2383 | if Debounces.on == false then break end | |
2384 | wait() | |
2385 | end | |
2386 | for i = 1, 3 do | |
2387 | 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) | |
2388 | 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) | |
2389 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2390 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2391 | 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) | |
2392 | 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) | |
2393 | if Debounces.on == false then break end | |
2394 | wait() | |
2395 | end | |
2396 | for i = 1, 3 do | |
2397 | 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) | |
2398 | 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) | |
2399 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2400 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2401 | 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) | |
2402 | 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) | |
2403 | if Debounces.on == false then break end | |
2404 | wait() | |
2405 | end | |
2406 | for i = 1, 3 do | |
2407 | 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) | |
2408 | 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) | |
2409 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2410 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2411 | 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) | |
2412 | 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) | |
2413 | if Debounces.on == false then break end | |
2414 | wait() | |
2415 | end | |
2416 | for i = 1, 3 do | |
2417 | 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) | |
2418 | 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) | |
2419 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2420 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2421 | 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) | |
2422 | 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) | |
2423 | if Debounces.on == false then break end | |
2424 | wait() | |
2425 | end | |
2426 | for i = 1, 3 do | |
2427 | 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) | |
2428 | 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) | |
2429 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2430 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2431 | 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) | |
2432 | 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) | |
2433 | if Debounces.on == false then break end | |
2434 | wait() | |
2435 | end | |
2436 | for i = 1, 3 do | |
2437 | 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) | |
2438 | 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) | |
2439 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2440 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2441 | 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) | |
2442 | 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) | |
2443 | if Debounces.on == false then break end | |
2444 | wait() | |
2445 | end | |
2446 | for i = 1, 3 do | |
2447 | 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) | |
2448 | 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) | |
2449 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2450 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2451 | 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) | |
2452 | 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) | |
2453 | if Debounces.on == false then break end | |
2454 | wait() | |
2455 | end | |
2456 | for i = 1, 3 do | |
2457 | 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) | |
2458 | 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) | |
2459 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2460 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2461 | 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) | |
2462 | 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) | |
2463 | if Debounces.on == false then break end | |
2464 | wait() | |
2465 | end | |
2466 | for i = 1, 3 do | |
2467 | 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) | |
2468 | 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) | |
2469 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2470 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2471 | 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) | |
2472 | 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) | |
2473 | if Debounces.on == false then break end | |
2474 | wait() | |
2475 | end | |
2476 | for i = 1, 3 do | |
2477 | 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) | |
2478 | 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) | |
2479 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2480 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2481 | 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) | |
2482 | 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) | |
2483 | if Debounces.on == false then break end | |
2484 | wait() | |
2485 | end | |
2486 | for i = 1, 3 do | |
2487 | 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) | |
2488 | 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) | |
2489 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2490 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2491 | 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) | |
2492 | 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) | |
2493 | if Debounces.on == false then break end | |
2494 | wait() | |
2495 | end | |
2496 | for i = 1, 3 do | |
2497 | 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) | |
2498 | 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) | |
2499 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2500 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2501 | 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) | |
2502 | 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) | |
2503 | if Debounces.on == false then break end | |
2504 | wait() | |
2505 | end | |
2506 | for i = 1, 3 do | |
2507 | 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) | |
2508 | 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) | |
2509 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2510 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2511 | 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) | |
2512 | 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) | |
2513 | if Debounces.on == false then break end | |
2514 | wait() | |
2515 | end | |
2516 | for i = 1, 3 do | |
2517 | 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) | |
2518 | 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) | |
2519 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2520 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2521 | 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) | |
2522 | 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) | |
2523 | if Debounces.on == false then break end | |
2524 | wait() | |
2525 | end | |
2526 | for i = 1, 3 do | |
2527 | 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) | |
2528 | 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) | |
2529 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2530 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2531 | 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) | |
2532 | 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) | |
2533 | if Debounces.on == false then break end | |
2534 | wait() | |
2535 | end | |
2536 | for i = 1, 3 do | |
2537 | 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) | |
2538 | 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) | |
2539 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2540 | root.Weld.C0 = Lerp(root.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2541 | 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) | |
2542 | 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) | |
2543 | if Debounces.on == false then break end | |
2544 | wait() | |
2545 | end | |
2546 | Debounces.LPunch = false | |
2547 | Debounces.RPunch = false | |
2548 | Debounces.ks = false | |
2549 | Debounces.ks2 = false | |
2550 | if Debounces.CanAttack == false then | |
2551 | Debounces.CanAttack = true | |
2552 | Debounces.on = false | |
2553 | Debounces.NoIdl = false | |
2554 | end | |
2555 | end | |
2556 | end | |
2557 | end) | |
2558 | ||
2559 | ||
2560 | ||
2561 | function punch() | |
2562 | attack = true | |
2563 | jumped = true | |
2564 | killbrick = Instance.new("Part",rarm) | |
2565 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
2566 | killbrick.Transparency = 1 | |
2567 | killbrick:BreakJoints() | |
2568 | killbrick.CanCollide = false | |
2569 | killbrick.Anchored = true | |
2570 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
2571 | local bv = Instance.new("BodyVelocity") | |
2572 | bv.maxForce = Vector3.new(1,1,1) | |
2573 | bv.velocity = root.CFrame.lookVector*150 | |
2574 | bv.Parent = root | |
2575 | game:GetService("Debris"):AddItem(bv, 1) | |
2576 | local rng = Instance.new("Part", char) | |
2577 | rng.Anchored = true | |
2578 | rng.BrickColor = BrickColor.new("New Yeller") | |
2579 | rng.CanCollide = false | |
2580 | rng.FormFactor = 3 | |
2581 | rng.Name = "Ring" | |
2582 | rng.Size = Vector3.new(1, 1, 1) | |
2583 | rng.Transparency = 0 | |
2584 | rng.TopSurface = 0 | |
2585 | rng.BottomSurface = 0 | |
2586 | rng.CFrame = root.CFrame | |
2587 | local rngm = Instance.new("SpecialMesh", rng) | |
2588 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2589 | local rng2 = rng:Clone() | |
2590 | rng2.BrickColor = BrickColor.new("New Yeller") | |
2591 | rng2.Parent = char | |
2592 | rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2593 | local rng2m = rng2.Mesh | |
2594 | local rng3 = rng:Clone() | |
2595 | rng3.Parent = char | |
2596 | rng3.BrickColor = BrickColor.new("Institutional white") | |
2597 | rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2598 | local rng3m = Instance.new("SpecialMesh", rng3) | |
2599 | rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722" | |
2600 | local rng4 = rng:Clone() | |
2601 | rng4.Parent = char | |
2602 | rng4.BrickColor = BrickColor.new("New Yeller") | |
2603 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*12 | |
2604 | local rng4m = rng4.Mesh | |
2605 | local rng5 = rng:Clone() | |
2606 | rng5.Parent = char | |
2607 | rng5.BrickColor = BrickColor.new("New Yeller") | |
2608 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
2609 | local rng5m = rng5.Mesh | |
2610 | local rng6 = rng:Clone() | |
2611 | rng6.Material = "Neon" | |
2612 | rng6.CanCollide = false | |
2613 | rng6.BrickColor = BrickColor.new("New Yeller") | |
2614 | rng6.Parent = LeftLeg | |
2615 | local rng6m = rng6.Mesh | |
2616 | rng6m.Scale = vt(1,1,1) | |
2617 | rng6m.MeshType = "Sphere" | |
2618 | local rng7 = rng:Clone() | |
2619 | rng7.Material = "Plastic" | |
2620 | rng7.CanCollide = false | |
2621 | rng7.BrickColor = BrickColor.new("New Yeller") | |
2622 | rng7.Parent = LeftLeg | |
2623 | local rng7m = rng7.Mesh | |
2624 | rng7m.Scale = vt(1,1,1) | |
2625 | rng7m.MeshType = "Sphere" | |
2626 | CFuncs["Sound"].Create("rbxassetid://137579113", root, 1, 1) | |
2627 | CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1) | |
2628 | wait() | |
2629 | local scaler = 10/5 | |
2630 | local scaler2 = 10/5 | |
2631 | local hit = rng6.Touched:connect(function(hit) | |
2632 | Damagefunc(hit,405,505,math.random(400,500),"Normal",root,.2,1) | |
2633 | CRIT=true | |
2634 | end) | |
2635 | for i = 0,10,0.1 do | |
2636 | swait() | |
2637 | rng.Transparency = rng.Transparency + 0.01 | |
2638 | rng2.Transparency = rng2.Transparency + 0.01 | |
2639 | rng3.Transparency = rng3.Transparency + 0.01 | |
2640 | rng4.Transparency = rng4.Transparency + 0.01 | |
2641 | rng5.Transparency = rng5.Transparency + 0.01 | |
2642 | rng6.Transparency = rng5.Transparency + 0.1 | |
2643 | rng7.Transparency = rng5.Transparency + 0.1 | |
2644 | scaler = scaler - 0.125/5 | |
2645 | scaler2 = scaler2 - 0.1/5 | |
2646 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2647 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/13.5, scaler2/13.5, 0) | |
2648 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
2649 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
2650 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2) | |
2651 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
2652 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
2653 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
2654 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
2655 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
2656 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
2657 | rng6.CFrame = killbrick.CFrame | |
2658 | rng7.CFrame = killbrick.CFrame | |
2659 | end | |
2660 | game:GetService("Debris"):AddItem(rng, 0.1) | |
2661 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
2662 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
2663 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
2664 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
2665 | hit:disconnect() | |
2666 | rng:Destroy() | |
2667 | rng2:Destroy() | |
2668 | rng3:Destroy() | |
2669 | rng4:Destroy() | |
2670 | rng5:Destroy() | |
2671 | rng6:Destroy() | |
2672 | rng7:Destroy() | |
2673 | attack = false | |
2674 | killbrick:Destroy() | |
2675 | jumped = false | |
2676 | lig:Remove() | |
2677 | end | |
2678 | ||
2679 | ||
2680 | m.KeyDown:connect(function(key) | |
2681 | if key == "k" then | |
2682 | if punch == true then | |
2683 | punch = false | |
2684 | org = char.Torso["Left Shoulder"].C0 | |
2685 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
2686 | killbrick = Instance.new("Part",char) | |
2687 | killbrick.Size = Vector3.new(5,6,5) | |
2688 | killbrick.Transparency = 1 | |
2689 | killbrick:BreakJoints() | |
2690 | killbrick.CanCollide = false | |
2691 | local wel = Instance.new("Weld",killbrick) | |
2692 | wel.Part0 = killbrick | |
2693 | wel.Part1 = char["Left Arm"] | |
2694 | wel.C0 = CFrame.new(0,1,0) | |
2695 | force = 90 | |
2696 | ||
2697 | killbrick.Touched:connect(function(h) | |
2698 | local x = h.Parent.Humanoid | |
2699 | if x.Health >= 100 then | |
2700 | fling = false | |
2701 | end | |
2702 | if x.Health < 100 then | |
2703 | fling = true | |
2704 | end | |
2705 | local stop = h.Parent.Torso.Velocity | |
2706 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2707 | safe = true | |
2708 | else safe = false | |
2709 | end | |
2710 | if x then | |
2711 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
2712 | safe = true | |
2713 | else safe = false | |
2714 | end | |
2715 | if safe == false then | |
2716 | if fling == true then | |
2717 | force = 900 | |
2718 | ||
2719 | end | |
2720 | if fling == false then | |
2721 | force = 200 | |
2722 | end | |
2723 | wait(0.2) | |
2724 | ||
2725 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
2726 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
2727 | boom:Play() | |
2728 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
2729 | ||
2730 | ||
2731 | wait(0) | |
2732 | x.Parent:Destroy() | |
2733 | GroundWave2() | |
2734 | wait() | |
2735 | safe = true | |
2736 | bodyforc:Remove() | |
2737 | h.Parent.Torso.Velocity = stop | |
2738 | ||
2739 | end | |
2740 | end | |
2741 | end) | |
2742 | ||
2743 | ||
2744 | ||
2745 | ||
2746 | ||
2747 | ||
2748 | ||
2749 | ||
2750 | ||
2751 | ||
2752 | local rng = Instance.new("Part", char) | |
2753 | rng.Anchored = true | |
2754 | rng.BrickColor = BrickColor.new("Institutional white") | |
2755 | rng.CanCollide = false | |
2756 | rng.FormFactor = 3 | |
2757 | rng.Name = "Ring" | |
2758 | rng.Size = Vector3.new(1, 1, 1) | |
2759 | rng.Transparency = 0.8 | |
2760 | rng.TopSurface = 0 | |
2761 | rng.BottomSurface = 0 | |
2762 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
2763 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
2764 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
2765 | local rngm = Instance.new("SpecialMesh", rng) | |
2766 | rngm.MeshId = "http://www.roblox.com/asset/?id=437347603" | |
2767 | rngm.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2768 | wait(0.1) | |
2769 | ||
2770 | ||
2771 | ||
2772 | boom2:Play() | |
2773 | coroutine.wrap(function() | |
2774 | for i = 1, 10, .4 do | |
2775 | rngm.Scale = Vector3.new(0.2 + i*0.2, 0.2 + i*0.2, 1) | |
2776 | ||
2777 | wait() | |
2778 | end | |
2779 | wait() | |
2780 | rng:Destroy() | |
2781 | killbrick:Remove() | |
2782 | wait(0.5) | |
2783 | char.Torso["Left Shoulder"].C0 = org | |
2784 | wait(1) | |
2785 | ||
2786 | punch = true | |
2787 | wait() | |
2788 | end)() | |
2789 | ||
2790 | ||
2791 | ||
2792 | end | |
2793 | ||
2794 | ||
2795 | wait(.1) | |
2796 | ||
2797 | ||
2798 | end | |
2799 | end) | |
2800 | ||
2801 | local handle = Instance.new("Part") | |
2802 | handle.Parent = Character | |
2803 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
2804 | handle.Archivable = true | |
2805 | handle.Transparency = 1 | |
2806 | handle.CanCollide = false | |
2807 | handle.BrickColor = BrickColor.new("White") | |
2808 | handle.Material = "Neon" | |
2809 | local handlmesh = Instance.new("BlockMesh",handle) | |
2810 | handlmesh.Scale = Vector3.new(1,1,1) | |
2811 | local handleweld = Instance.new("Weld") | |
2812 | handleweld.Parent = handle | |
2813 | handleweld.Part0 = rarm | |
2814 | handleweld.Part1 = handle | |
2815 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
2816 | handleweld.Part0 = rarm | |
2817 | local meshtype = "Sphere" | |
2818 | ||
2819 | function InfernoComet() | |
2820 | attack = true | |
2821 | chatfunc(" ") | |
2822 | handleweld.Part0 = rarm | |
2823 | local tra = Instance.new("ParticleEmitter",handle) | |
2824 | tra.Texture = "rbxassetid://209852980" | |
2825 | tra.LightEmission = 0 | |
2826 | tra.Rate = 99999 | |
2827 | tra.Lifetime = NumberRange.new(0.25) | |
2828 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2829 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)}) | |
2830 | tra.Speed = NumberRange.new(0) | |
2831 | tra.Rotation = NumberRange.new(-500,500) | |
2832 | tra.VelocitySpread = 90000 | |
2833 | tra.LockedToPart = true | |
2834 | tra.RotSpeed = NumberRange.new(-500,500) | |
2835 | local tra2 = Instance.new("ParticleEmitter",handle) | |
2836 | tra2.Texture = "http://www.roblox.com/asset/?id=209852980" | |
2837 | tra2.LightEmission = 0 | |
2838 | tra2.Rate = 50 | |
2839 | tra2.Lifetime = NumberRange.new(0.5) | |
2840 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2841 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)}) | |
2842 | tra2.Speed = NumberRange.new(0) | |
2843 | tra2.Rotation = NumberRange.new(-500,500) | |
2844 | tra2.VelocitySpread = 90000 | |
2845 | tra2.LockedToPart = true | |
2846 | tra2.RotSpeed = NumberRange.new(-500,500) | |
2847 | for i = 0,4,0.1 do | |
2848 | swait() | |
2849 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
2850 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
2851 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
2852 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
2853 | end | |
2854 | local sa = Instance.new("Sound",handle) | |
2855 | sa.SoundId = "rbxassetid://304448425" | |
2856 | sa.Volume = 1 | |
2857 | sa.Pitch = 1 | |
2858 | sa:Play() | |
2859 | tra.Rate = 0 | |
2860 | tra2.Rate = 0 | |
2861 | local lb = Instance.new("Part") | |
2862 | lb.Parent = char | |
2863 | lb.Material = "Neon" | |
2864 | lb.Color = BrickColor.new("Cyan").Color | |
2865 | lb.CanCollide = false | |
2866 | lb.Shape = "Ball" | |
2867 | lb.CFrame = handle.CFrame | |
2868 | lb.Anchored = true | |
2869 | lb.Transparency = 1 | |
2870 | lb.Size = vt(1,1,1) | |
2871 | local thing = Instance.new("SpecialMesh",lb) | |
2872 | thing.MeshType = meshtype | |
2873 | local hitted = false | |
2874 | lb.Anchored = false | |
2875 | local trail = Instance.new("ParticleEmitter",lb) | |
2876 | trail.Texture = "rbxassetid://209852980" | |
2877 | trail.LightEmission = 1 | |
2878 | trail.Rate = 9999 | |
2879 | trail.Lifetime = NumberRange.new(1.5) | |
2880 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)}) | |
2881 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2882 | trail.Speed = NumberRange.new(0,0) | |
2883 | trail.Rotation = NumberRange.new(-500,500) | |
2884 | trail.RotSpeed = NumberRange.new(-500,500) | |
2885 | local bv = Instance.new("BodyVelocity") | |
2886 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
2887 | bv.velocity = mouse.Hit.lookVector *75 | |
2888 | bv.Parent = lb | |
2889 | wait(0.05) | |
2890 | lb.Touched:connect(function(hit) | |
2891 | if hitted == false then | |
2892 | hitted = true | |
2893 | trail.Rate = 0 | |
2894 | lb.Anchored = true | |
2895 | local aa = Instance.new("Part") | |
2896 | local val = 1*3.5 | |
2897 | aa.Parent = lb | |
2898 | local exsound = Instance.new("Sound",aa) | |
2899 | exsound.SoundId = "rbxassetid://402347142" | |
2900 | exsound.Volume = 3.5 | |
2901 | exsound.Pitch = 1 | |
2902 | exsound:Play() | |
2903 | aa.Material = "Neon" | |
2904 | aa.Color = BrickColor.new("Gold").Color | |
2905 | aa.CanCollide = false | |
2906 | aa.Shape = "Ball" | |
2907 | aa.CFrame = lb.CFrame | |
2908 | aa.Anchored = true | |
2909 | aa.Transparency = 0 | |
2910 | aa.Size = vt(1,1,1) | |
2911 | local thinger = Instance.new("SpecialMesh",aa) | |
2912 | thinger.MeshType = meshtype | |
2913 | thinger.Scale = vt(15,15,15) | |
2914 | local explosion = Instance.new("Explosion",aa) | |
2915 | explosion.Position = aa.Position | |
2916 | explosion.BlastRadius = 22.5 | |
2917 | explosion.BlastPressure = 100 | |
2918 | local exp = Instance.new("ParticleEmitter",aa) | |
2919 | exp.Texture = "rbxassetid://209852980" | |
2920 | exp.LightEmission = 1 | |
2921 | exp.Rate = 9000000000 | |
2922 | exp.Lifetime = NumberRange.new(1) | |
2923 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2924 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2925 | exp.Speed = NumberRange.new(100) | |
2926 | exp.VelocitySpread = 9000000 | |
2927 | exp.Rotation = NumberRange.new(-500,500) | |
2928 | exp.RotSpeed = NumberRange.new(-500,500) | |
2929 | local expa = Instance.new("ParticleEmitter",aa) | |
2930 | expa.Texture = "rbxassetid://209852980" | |
2931 | expa.LightEmission = 1 | |
2932 | expa.Rate = 9000000000 | |
2933 | expa.Lifetime = NumberRange.new(2.75) | |
2934 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
2935 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
2936 | expa.Speed = NumberRange.new(100) | |
2937 | expa.VelocitySpread = 9000000 | |
2938 | expa.Rotation = NumberRange.new(-500,500) | |
2939 | expa.RotSpeed = NumberRange.new(-500,500) | |
2940 | local exp2 = exp:Clone() | |
2941 | exp2.Parent = aa | |
2942 | local exp3 = exp:Clone() | |
2943 | exp3.Parent = aa | |
2944 | local exp4 = exp:Clone() | |
2945 | exp4.Parent = aa | |
2946 | local exp5 = exp:Clone() | |
2947 | exp5.Parent = aa | |
2948 | local exp6 = exp:Clone() | |
2949 | exp6.Parent = aa | |
2950 | local exp7 = exp:Clone() | |
2951 | exp7.Parent = aa | |
2952 | local expa2 = expa:Clone() | |
2953 | expa2.Parent = aa | |
2954 | local expa3 = expa:Clone() | |
2955 | expa3.Parent = aa | |
2956 | local expa4 = expa:Clone() | |
2957 | expa4.Parent = aa | |
2958 | local expa5 = expa:Clone() | |
2959 | expa5.Parent = aa | |
2960 | local expa6 = expa:Clone() | |
2961 | expa6.Parent = aa | |
2962 | local expa7 = expa:Clone() | |
2963 | expa7.Parent = aa | |
2964 | for i = 0, 1 do | |
2965 | val = val - 0.025*3.5 | |
2966 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2967 | wait() | |
2968 | end | |
2969 | exp.Rate = 0 | |
2970 | exp2.Rate = 0 | |
2971 | exp3.Rate = 0 | |
2972 | exp4.Rate = 0 | |
2973 | exp5.Rate = 0 | |
2974 | exp6.Rate = 0 | |
2975 | exp7.Rate = 0 | |
2976 | for i = 0, 1 do | |
2977 | val = val - 0.025*3.5 | |
2978 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2979 | wait() | |
2980 | end | |
2981 | expa.Rate = 0 | |
2982 | expa2.Rate = 0 | |
2983 | expa3.Rate = 0 | |
2984 | expa4.Rate = 0 | |
2985 | expa5.Rate = 0 | |
2986 | expa6.Rate = 0 | |
2987 | expa7.Rate = 0 | |
2988 | for i = 0, 21 do | |
2989 | val = val - 0.025*3.5 | |
2990 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2991 | wait() | |
2992 | end | |
2993 | for i = 0, 74 do | |
2994 | val = val - 0.0145 | |
2995 | aa.Transparency = aa.Transparency + 0.0145 | |
2996 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
2997 | wait() | |
2998 | end | |
2999 | end | |
3000 | end) | |
3001 | attack = false | |
3002 | wait(30) | |
3003 | sa:Destroy() | |
3004 | tra:Destroy() | |
3005 | tra2:Destroy() | |
3006 | lb:Destroy() | |
3007 | end | |
3008 | ||
3009 | function Crater(Torso,Radius) | |
3010 | spawn(function() | |
3011 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
3012 | local Ignore = {} | |
3013 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
3014 | if v.Character ~= nil then | |
3015 | Ignore[#Ignore+1] = v.Character | |
3016 | end | |
3017 | end | |
3018 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
3019 | if Hit == nil then return end | |
3020 | local Parts = {} | |
3021 | for i = 1,360,10 do | |
3022 | local P = Instance.new("Part",Torso.Parent) | |
3023 | P.Anchored = true | |
3024 | P.FormFactor = "Custom" | |
3025 | P.BrickColor = Hit.BrickColor | |
3026 | P.Material = Hit.Material | |
3027 | P.TopSurface = "Smooth" | |
3028 | P.BottomSurface = "Smooth" | |
3029 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
3030 | 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))) | |
3031 | 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} | |
3032 | if math.random(0,5) == 0 then -- rubble | |
3033 | local P = Instance.new("Part",Torso.Parent) | |
3034 | P.Anchored = true | |
3035 | P.FormFactor = "Custom" | |
3036 | P.BrickColor = Hit.BrickColor | |
3037 | P.Material = Hit.Material | |
3038 | P.TopSurface = "Smooth" | |
3039 | P.BottomSurface = "Smooth" | |
3040 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
3041 | 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))) | |
3042 | 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} | |
3043 | end | |
3044 | end | |
3045 | for i = 0,1,0.05 do | |
3046 | for i2,v in pairs(Parts) do | |
3047 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
3048 | end | |
3049 | wait(0.02) | |
3050 | end | |
3051 | for i,v in pairs(Parts) do | |
3052 | if v[1].Size.X > 2.1 then | |
3053 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
3054 | end | |
3055 | v[1].Anchored = false | |
3056 | end | |
3057 | for i = 0,1,0.05 do | |
3058 | for i2,v in pairs(Parts) do | |
3059 | v[1].Transparency = i | |
3060 | if i == 1 then | |
3061 | v[1]:Destroy() | |
3062 | elseif i >= 0.25 then | |
3063 | v[1].CanCollide = false | |
3064 | end | |
3065 | end | |
3066 | wait(0.02) | |
3067 | end | |
3068 | Parts = nil | |
3069 | end) | |
3070 | end | |
3071 | ||
3072 | ||
3073 | function InfernoWrath() | |
3074 | attack = true | |
3075 | chatfunc("FULL BLAST!") | |
3076 | local pie22 = Instance.new("ParticleEmitter") | |
3077 | pie22.Parent = larm | |
3078 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3079 | pie22.LightEmission = 1 | |
3080 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
3081 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3082 | pie22.Transparency = NumberSequence.new(0.7) | |
3083 | pie22.EmissionDirection = "Top" | |
3084 | pie22.Enabled = true | |
3085 | pie22.Lifetime = NumberRange.new(1) | |
3086 | pie22.Rotation = NumberRange.new(-420, 425) | |
3087 | pie22.Rate = 400 | |
3088 | pie22.Speed = NumberRange.new(1) | |
3089 | pie22.LockedToPart = false | |
3090 | pie22.VelocitySpread = 2 | |
3091 | local pie222 = Instance.new("ParticleEmitter") | |
3092 | pie222.Parent = rarm | |
3093 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3094 | pie222.LightEmission = 1 | |
3095 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3096 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3097 | pie222.Transparency = NumberSequence.new(0.7) | |
3098 | pie222.EmissionDirection = "Top" | |
3099 | pie222.Enabled = true | |
3100 | pie222.Lifetime = NumberRange.new(1) | |
3101 | pie222.Rotation = NumberRange.new(-420, 425) | |
3102 | pie222.Rate = 400 | |
3103 | pie222.Speed = NumberRange.new(1) | |
3104 | pie222.LockedToPart = false | |
3105 | pie222.VelocitySpread = 2 | |
3106 | local pie2222 = Instance.new("ParticleEmitter") | |
3107 | pie2222.Parent = lleg | |
3108 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3109 | pie2222.LightEmission = 1 | |
3110 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3111 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3112 | pie2222.Transparency = NumberSequence.new(0.7) | |
3113 | pie2222.EmissionDirection = "Top" | |
3114 | pie2222.Enabled = true | |
3115 | pie2222.Lifetime = NumberRange.new(1) | |
3116 | pie2222.Rotation = NumberRange.new(-420, 425) | |
3117 | pie2222.Rate = 400 | |
3118 | pie2222.Speed = NumberRange.new(1) | |
3119 | pie2222.LockedToPart = false | |
3120 | pie2222.VelocitySpread = 2 | |
3121 | local pie22222 = Instance.new("ParticleEmitter") | |
3122 | pie22222.Parent = rleg | |
3123 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3124 | pie22222.LightEmission = 1 | |
3125 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
3126 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3127 | pie22222.Transparency = NumberSequence.new(0.7) | |
3128 | pie22222.EmissionDirection = "Top" | |
3129 | pie22222.Enabled = true | |
3130 | pie22222.Lifetime = NumberRange.new(1) | |
3131 | pie22222.Rotation = NumberRange.new(-420, 425) | |
3132 | pie22222.Rate = 400 | |
3133 | pie22222.Speed = NumberRange.new(1) | |
3134 | pie22222.LockedToPart = false | |
3135 | pie22222.VelocitySpread = 2 | |
3136 | local pie2242 = Instance.new("ParticleEmitter") | |
3137 | pie2242.Parent = tors | |
3138 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
3139 | pie2242.LightEmission = 1 | |
3140 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
3141 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
3142 | pie2242.Transparency = NumberSequence.new(0.7) | |
3143 | pie2242.EmissionDirection = "Top" | |
3144 | pie2242.Enabled = true | |
3145 | pie2242.Lifetime = NumberRange.new(1) | |
3146 | pie2242.Rotation = NumberRange.new(-420, 425) | |
3147 | pie2242.Rate = 400 | |
3148 | pie2242.Speed = NumberRange.new(1) | |
3149 | pie2242.LockedToPart = false | |
3150 | pie2242.VelocitySpread = 2 | |
3151 | for i = 0,4,0.1 do | |
3152 | swait() | |
3153 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3154 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3155 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
3156 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
3157 | end | |
3158 | hum.WalkSpeed = 16 | |
3159 | local lb = Instance.new("Part") | |
3160 | lb.Parent = char | |
3161 | lb.Material = "Neon" | |
3162 | lb.Color = BrickColor.new("Gold").Color | |
3163 | lb.CanCollide = false | |
3164 | lb.Shape = "Ball" | |
3165 | lb.CFrame = tors.CFrame | |
3166 | lb.Anchored = true | |
3167 | lb.Transparency = 1 | |
3168 | lb.Size = vt(1,1,1) | |
3169 | local thing = Instance.new("SpecialMesh",lb) | |
3170 | thing.MeshType = meshtype | |
3171 | for i = 0, 4 do | |
3172 | local lbr = Instance.new("Part") | |
3173 | lbr.Parent = char | |
3174 | lbr.Material = "Neon" | |
3175 | lbr.Color = BrickColor.new("Gold").Color | |
3176 | lbr.CanCollide = false | |
3177 | lbr.Shape = "Ball" | |
3178 | lbr.CFrame = lb.CFrame | |
3179 | lbr.Anchored = true | |
3180 | lbr.Transparency = 1 | |
3181 | lbr.Size = vt(1,1,1) | |
3182 | local thinga = Instance.new("SpecialMesh",lbr) | |
3183 | thinga.MeshType = meshtype | |
3184 | thinga.Scale = vt(20*6,20*6,20*6) | |
3185 | for z = 0, 19 do | |
3186 | wait(0.025) | |
3187 | lbr.Transparency = lbr.Transparency - 0.05 | |
3188 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
3189 | end | |
3190 | lbr:Destroy() | |
3191 | end | |
3192 | local aa = Instance.new("Part") | |
3193 | local val = 1*7.5 | |
3194 | aa.Parent = lb | |
3195 | local exsound = Instance.new("Sound",handle) | |
3196 | exsound.SoundId = "rbxassetid://402347142" | |
3197 | exsound.Volume = 10 | |
3198 | exsound.Pitch = 1 | |
3199 | exsound:Play() | |
3200 | aa.Material = "Neon" | |
3201 | aa.Color = BrickColor.new("New Yeller").Color | |
3202 | aa.CanCollide = false | |
3203 | aa.Shape = "Ball" | |
3204 | aa.CFrame = lb.CFrame | |
3205 | aa.Anchored = true | |
3206 | aa.Transparency = 0 | |
3207 | aa.Size = vt(1,1,1) | |
3208 | local thinger = Instance.new("SpecialMesh",aa) | |
3209 | thinger.MeshType = meshtype | |
3210 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
3211 | local explosion = Instance.new("Explosion",aa) | |
3212 | explosion.Position = aa.Position | |
3213 | explosion.BlastRadius = 500000000000 | |
3214 | explosion.BlastPressure = 6000 | |
3215 | local exp = Instance.new("ParticleEmitter",aa) | |
3216 | exp.Texture = "rbxassetid://296874871" | |
3217 | exp.LightEmission = 1 | |
3218 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3219 | exp.Rate = 9000000000 | |
3220 | exp.Lifetime = NumberRange.new(1) | |
3221 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3222 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3223 | exp.Speed = NumberRange.new(115) | |
3224 | exp.VelocitySpread = 9000000 | |
3225 | exp.Rotation = NumberRange.new(-500,500) | |
3226 | exp.RotSpeed = NumberRange.new(-500,500) | |
3227 | local expa = Instance.new("ParticleEmitter",aa) | |
3228 | expa.Texture = "rbxassetid://296874871" | |
3229 | expa.LightEmission = 1 | |
3230 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
3231 | expa.Rate = 9000000000 | |
3232 | expa.Lifetime = NumberRange.new(2.75) | |
3233 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)}) | |
3234 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)}) | |
3235 | expa.Speed = NumberRange.new(115) | |
3236 | expa.VelocitySpread = 9000000 | |
3237 | expa.Rotation = NumberRange.new(-500,500) | |
3238 | expa.RotSpeed = NumberRange.new(-500,500) | |
3239 | local exp2 = exp:Clone() | |
3240 | exp2.Parent = aa | |
3241 | local exp3 = exp:Clone() | |
3242 | exp3.Parent = aa | |
3243 | local exp4 = exp:Clone() | |
3244 | exp4.Parent = aa | |
3245 | local exp5 = exp:Clone() | |
3246 | exp5.Parent = aa | |
3247 | local exp6 = exp:Clone() | |
3248 | exp6.Parent = aa | |
3249 | local exp7 = exp:Clone() | |
3250 | exp7.Parent = aa | |
3251 | local expa2 = expa:Clone() | |
3252 | expa2.Parent = aa | |
3253 | local expa3 = expa:Clone() | |
3254 | expa3.Parent = aa | |
3255 | local expa4 = expa:Clone() | |
3256 | expa4.Parent = aa | |
3257 | local expa5 = expa:Clone() | |
3258 | expa5.Parent = aa | |
3259 | local expa6 = expa:Clone() | |
3260 | expa6.Parent = aa | |
3261 | local expa7 = expa:Clone() | |
3262 | expa7.Parent = aa | |
3263 | Crater(head,60) | |
3264 | ||
3265 | for i = 0, 1 do | |
3266 | val = val - 0.025*7.5 | |
3267 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3268 | wait() | |
3269 | end | |
3270 | exp.Rate = 0 | |
3271 | exp2.Rate = 0 | |
3272 | exp3.Rate = 0 | |
3273 | exp4.Rate = 0 | |
3274 | exp5.Rate = 0 | |
3275 | exp6.Rate = 0 | |
3276 | exp7.Rate = 0 | |
3277 | for i = 0, 1 do | |
3278 | val = val - 0.025*7.5 | |
3279 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3280 | wait() | |
3281 | end | |
3282 | hum.WalkSpeed = 16 | |
3283 | pie22:Destroy() | |
3284 | pie222:Destroy() | |
3285 | pie2222:Destroy() | |
3286 | pie22222:Destroy() | |
3287 | pie2242:Destroy() | |
3288 | attack = false | |
3289 | expa.Rate = 0 | |
3290 | expa2.Rate = 0 | |
3291 | expa3.Rate = 0 | |
3292 | expa4.Rate = 0 | |
3293 | expa5.Rate = 0 | |
3294 | expa6.Rate = 0 | |
3295 | expa7.Rate = 0 | |
3296 | for i = 0, 21 do | |
3297 | val = val - 0.025*7.5 | |
3298 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3299 | wait() | |
3300 | end | |
3301 | for i = 0, 74 do | |
3302 | val = val - 0.0145 | |
3303 | aa.Transparency = aa.Transparency + 0.0145 | |
3304 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
3305 | wait() | |
3306 | end | |
3307 | wait(5) | |
3308 | lb:Destroy() | |
3309 | end | |
3310 | ||
3311 | ||
3312 | ||
3313 | function Lerp(c1,c2,al) | |
3314 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
3315 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
3316 | for i,v in pairs(com1) do | |
3317 | com1[i] = v+(com2[i]-v)*al | |
3318 | end | |
3319 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
3320 | end | |
3321 | ----- | |
3322 | ||
3323 | ----- | |
3324 | ||
3325 | ------------------------------------------------------------------ | |
3326 | --Blocking | |
3327 | ---------------------------------------------------------------- | |
3328 | mouse.KeyDown:connect(function(key) | |
3329 | if key == "-" then | |
3330 | if attack == true then | |
3331 | attack = false | |
3332 | canidle = false | |
3333 | canwalk = false | |
3334 | ||
3335 | block = true | |
3336 | ||
3337 | end | |
3338 | end | |
3339 | end) | |
3340 | mouse.KeyUp:connect(function(key) | |
3341 | if key == "-" then | |
3342 | if attack == false then | |
3343 | attack = true | |
3344 | canidle = true | |
3345 | block = false | |
3346 | canwalk = true | |
3347 | ||
3348 | ||
3349 | end | |
3350 | end | |
3351 | end) | |
3352 | ---- | |
3353 | if block == true then | |
3354 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head | |
3355 | Torso.Weld.C0 = Lerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso | |
3356 | RW.Weld.C0 = Lerp(RW.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm | |
3357 | LW.Weld.C0 = Lerp(LW.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm | |
3358 | RH.Weld.C0 = Lerp(RH.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg | |
3359 | LH.Weld.C0 = Lerp(LH.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg | |
3360 | ||
3361 | ||
3362 | end | |
3363 | ---- | |
3364 | function punchd() | |
3365 | attack = true | |
3366 | jumped = true | |
3367 | hum.WalkSpeed = 30 | |
3368 | killbrick = Instance.new("Part",rarm) | |
3369 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3370 | killbrick.Transparency = 1 | |
3371 | killbrick:BreakJoints() | |
3372 | killbrick.CanCollide = false | |
3373 | killbrick.Anchored = true | |
3374 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3375 | lig = Instance.new("PointLight",player.Character.Torso) | |
3376 | lig.Color=Color3.new(255,255,0) | |
3377 | lig.Range = 20 | |
3378 | local bv = Instance.new("BodyVelocity") | |
3379 | bv.maxForce = Vector3.new(1,1,1) | |
3380 | bv.velocity = root.CFrame.lookVector*150 | |
3381 | bv.Parent = root | |
3382 | char.Head.face.Texture = "rbxassetid://126198982" | |
3383 | game:GetService("Debris"):AddItem(bv, 1) | |
3384 | local rng = Instance.new("Part", char) | |
3385 | rng.Anchored = true | |
3386 | rng.BrickColor = BrickColor.new("Neon orange") | |
3387 | rng.CanCollide = false | |
3388 | rng.FormFactor = 3 | |
3389 | rng.Name = "Ring" | |
3390 | rng.Size = Vector3.new(1, 1, 1) | |
3391 | rng.Transparency = 0 | |
3392 | rng.TopSurface = 0 | |
3393 | rng.BottomSurface = 0 | |
3394 | rng.CFrame = root.CFrame | |
3395 | local rngm = Instance.new("SpecialMesh", rng) | |
3396 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3397 | local rng2 = rng:Clone() | |
3398 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3399 | rng2.Parent = char | |
3400 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3401 | local rng2m = rng2.Mesh | |
3402 | local rng3 = rng:Clone() | |
3403 | rng3.Parent = char | |
3404 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3405 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3406 | local rng3m = rng3.Mesh | |
3407 | local rng4 = rng:Clone() | |
3408 | rng4.Parent = char | |
3409 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3410 | local rng4m = rng4.Mesh | |
3411 | local rng5 = rng:Clone() | |
3412 | rng5.Parent = char | |
3413 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3414 | local rng5m = rng5.Mesh | |
3415 | local rng6 = rng:Clone() | |
3416 | rng6.Material = "Neon" | |
3417 | rng6.CanCollide = false | |
3418 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3419 | rng6.Parent = LeftLeg | |
3420 | local rng6m = rng6.Mesh | |
3421 | rng6m.Scale = vt(1,1,1) | |
3422 | rng6m.MeshType = "Sphere" | |
3423 | local rng7 = rng:Clone() | |
3424 | rng7.Material = "Plastic" | |
3425 | rng7.CanCollide = false | |
3426 | rng7.BrickColor = BrickColor.new("Bright red") | |
3427 | rng7.Parent = LeftLeg | |
3428 | local rng7m = rng7.Mesh | |
3429 | rng7m.Scale = vt(1,1,1) | |
3430 | rng7m.MeshType = "Sphere" | |
3431 | CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1) | |
3432 | CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1) | |
3433 | wait() | |
3434 | local scaler = 10/5 | |
3435 | local scaler2 = 10/5 | |
3436 | local hit = rng6.Touched:connect(function(hit) | |
3437 | Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1) | |
3438 | CRIT=true | |
3439 | end) | |
3440 | for i = 0,10,0.1 do | |
3441 | swait() | |
3442 | rng.Transparency = rng.Transparency + 0.01 | |
3443 | rng2.Transparency = rng2.Transparency + 0.01 | |
3444 | rng3.Transparency = rng3.Transparency + 0.01 | |
3445 | rng4.Transparency = rng4.Transparency + 0.01 | |
3446 | rng5.Transparency = rng5.Transparency + 0.01 | |
3447 | rng6.Transparency = rng5.Transparency + 0.001 | |
3448 | rng7.Transparency = rng5.Transparency + 0.001 | |
3449 | scaler = scaler - 0.125/5 | |
3450 | scaler2 = scaler2 - 0.1/5 | |
3451 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0) | |
3452 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3453 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0) | |
3454 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3455 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3456 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3457 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3458 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
3459 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3460 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
3461 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
3462 | rng6.CFrame = killbrick.CFrame | |
3463 | rng7.CFrame = killbrick.CFrame | |
3464 | end | |
3465 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3466 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3467 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3468 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3469 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3470 | hum.WalkSpeed = 16 | |
3471 | hit:disconnect() | |
3472 | attack = false | |
3473 | killbrick:Destroy() | |
3474 | char.Head.face.Texture = "rbxassetid://29291814" | |
3475 | jumped = false | |
3476 | lig:Remove() | |
3477 | end | |
3478 | ||
3479 | ||
3480 | ||
3481 | ||
3482 | ||
3483 | ||
3484 | function shock() | |
3485 | attack = true | |
3486 | jumped = true | |
3487 | hum.WalkSpeed = 16 | |
3488 | killbrick = Instance.new("Part",rarm) | |
3489 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3490 | killbrick.Transparency = 1 | |
3491 | killbrick:BreakJoints() | |
3492 | killbrick.CanCollide = false | |
3493 | killbrick.Anchored = true | |
3494 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3495 | lig = Instance.new("PointLight",player.Character.Torso) | |
3496 | lig.Color=Color3.new(255,0,0) | |
3497 | lig.Range = 20 | |
3498 | local bv = Instance.new("BodyVelocity") | |
3499 | bv.maxForce = Vector3.new(1,1,1) | |
3500 | bv.velocity = root.CFrame.lookVector*150 | |
3501 | bv.Parent = root | |
3502 | char.Head.face.Texture = "rbxassetid://126198982" | |
3503 | game:GetService("Debris"):AddItem(bv, 1) | |
3504 | local rng = Instance.new("Part", char) | |
3505 | rng.Anchored = true | |
3506 | rng.BrickColor = BrickColor.new("Neon orange") | |
3507 | rng.CanCollide = false | |
3508 | rng.FormFactor = 3 | |
3509 | rng.Name = "Ring" | |
3510 | rng.Size = Vector3.new(1, 1, 1) | |
3511 | rng.Transparency = 0 | |
3512 | rng.TopSurface = 0 | |
3513 | rng.BottomSurface = 0 | |
3514 | rng.CFrame = root.CFrame | |
3515 | local rngm = Instance.new("SpecialMesh", rng) | |
3516 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3517 | local rng2 = rng:Clone() | |
3518 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3519 | rng2.Parent = char | |
3520 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3521 | local rng2m = rng2.Mesh | |
3522 | local rng3 = rng:Clone() | |
3523 | rng3.Parent = char | |
3524 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3525 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3526 | local rng3m = rng3.Mesh | |
3527 | local rng4 = rng:Clone() | |
3528 | rng4.Parent = char | |
3529 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3530 | local rng4m = rng4.Mesh | |
3531 | local rng5 = rng:Clone() | |
3532 | rng5.Parent = char | |
3533 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3534 | local rng5m = rng5.Mesh | |
3535 | local rng6 = rng:Clone() | |
3536 | rng6.Material = "Neon" | |
3537 | rng6.CanCollide = false | |
3538 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3539 | rng6.Parent = LeftLeg | |
3540 | local rng6m = rng6.Mesh | |
3541 | rng6m.Scale = vt(1,1,1) | |
3542 | rng6m.MeshType = "Sphere" | |
3543 | local rng7 = rng:Clone() | |
3544 | rng7.Material = "Plastic" | |
3545 | rng7.CanCollide = false | |
3546 | rng7.BrickColor = BrickColor.new("Bright red") | |
3547 | rng7.Parent = LeftLeg | |
3548 | local rng7m = rng7.Mesh | |
3549 | rng7m.Scale = vt(1,1,1) | |
3550 | rng7m.MeshType = "Sphere" | |
3551 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3552 | wait() | |
3553 | local scaler = 10/5 | |
3554 | local scaler2 = 10/5 | |
3555 | local hit = rng6.Touched:connect(function(hit) | |
3556 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3557 | end) | |
3558 | for i = 0,10,0.1 do | |
3559 | swait() | |
3560 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3561 | rng.Transparency = rng.Transparency + 0.01 | |
3562 | rng2.Transparency = rng2.Transparency + 0.01 | |
3563 | rng3.Transparency = rng3.Transparency + 0.01 | |
3564 | rng4.Transparency = rng4.Transparency + 0.01 | |
3565 | rng5.Transparency = rng5.Transparency + 0.01 | |
3566 | rng6.Transparency = rng5.Transparency + 0.001 | |
3567 | rng7.Transparency = rng5.Transparency + 0.001 | |
3568 | scaler = scaler - 0.125/5 | |
3569 | scaler2 = scaler2 - 0.1/5 | |
3570 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0) | |
3571 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0) | |
3572 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0) | |
3573 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0) | |
3574 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3575 | rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6) | |
3576 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3577 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3578 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3579 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3580 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3581 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3582 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3583 | rng6.CFrame = killbrick.CFrame | |
3584 | rng7.CFrame = killbrick.CFrame | |
3585 | end | |
3586 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3587 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3588 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3589 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3590 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3591 | hum.WalkSpeed = 16 | |
3592 | hit:disconnect() | |
3593 | attack = false | |
3594 | killbrick:Destroy() | |
3595 | char.Head.face.Texture = "rbxassetid://29291814" | |
3596 | jumped = false | |
3597 | lig:Remove() | |
3598 | end | |
3599 | ||
3600 | ||
3601 | function punch3() | |
3602 | attack = true | |
3603 | jumped = true | |
3604 | hum.WalkSpeed = 16 | |
3605 | killbrick = Instance.new("Part",rarm) | |
3606 | killbrick.Size = Vector3.new(0.1,0.1,0.1) | |
3607 | killbrick.Transparency = 1 | |
3608 | killbrick:BreakJoints() | |
3609 | killbrick.CanCollide = false | |
3610 | killbrick.Anchored = true | |
3611 | killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0) | |
3612 | ||
3613 | killbrick2 = Instance.new("Part",rarm) | |
3614 | killbrick2.Size = Vector3.new(0.1,0.1,0.1) | |
3615 | killbrick2.Transparency = 1 | |
3616 | killbrick2:BreakJoints() | |
3617 | killbrick2.CanCollide = false | |
3618 | killbrick2.Anchored = true | |
3619 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30) | |
3620 | lig = Instance.new("PointLight",player.Character.Torso) | |
3621 | lig.Color=Color3.new(255,0,0) | |
3622 | lig.Range = 20 | |
3623 | local bv = Instance.new("BodyVelocity") | |
3624 | bv.maxForce = Vector3.new(1,1,1) | |
3625 | bv.velocity = root.CFrame.lookVector*150 | |
3626 | bv.Parent = root | |
3627 | char.Head.face.Texture = "rbxassetid://126198982" | |
3628 | game:GetService("Debris"):AddItem(bv, 1) | |
3629 | local rng = Instance.new("Part", char) | |
3630 | rng.Anchored = true | |
3631 | rng.BrickColor = BrickColor.new("Neon orange") | |
3632 | rng.CanCollide = false | |
3633 | rng.FormFactor = 3 | |
3634 | rng.Name = "Ring" | |
3635 | rng.Size = Vector3.new(1, 1, 1) | |
3636 | rng.Transparency = 0 | |
3637 | rng.TopSurface = 0 | |
3638 | rng.BottomSurface = 0 | |
3639 | rng.CFrame = root.CFrame | |
3640 | local rngm = Instance.new("SpecialMesh", rng) | |
3641 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3642 | local rng2 = rng:Clone() | |
3643 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3644 | rng2.Parent = char | |
3645 | rng2.CFrame = root.CFrame + root.CFrame.lookVector*10 | |
3646 | local rng2m = rng2.Mesh | |
3647 | local rng3 = rng:Clone() | |
3648 | rng3.Parent = char | |
3649 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3650 | rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12 | |
3651 | local rng3m = rng3.Mesh | |
3652 | local rng4 = rng:Clone() | |
3653 | rng4.Parent = char | |
3654 | rng4.CFrame = root.CFrame + root.CFrame.lookVector*13 | |
3655 | local rng4m = rng4.Mesh | |
3656 | local rng5 = rng:Clone() | |
3657 | rng5.Parent = char | |
3658 | rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14 | |
3659 | local rng5m = rng5.Mesh | |
3660 | local rng6 = rng:Clone() | |
3661 | rng6.Material = "Neon" | |
3662 | rng6.CanCollide = false | |
3663 | rng6.BrickColor = BrickColor.new("Neon orange") | |
3664 | rng6.Parent = LeftLeg | |
3665 | local rng6m = rng6.Mesh | |
3666 | rng6m.Scale = vt(1,1,1) | |
3667 | rng6m.MeshType = "Sphere" | |
3668 | local rng7 = rng:Clone() | |
3669 | rng7.Material = "Plastic" | |
3670 | rng7.CanCollide = false | |
3671 | rng7.BrickColor = BrickColor.new("Bright red") | |
3672 | rng7.Parent = LeftLeg | |
3673 | local rng7m = rng7.Mesh | |
3674 | rng7m.Scale = vt(1,1,1) | |
3675 | rng7m.MeshType = "Sphere" | |
3676 | local rng8 = rng6:Clone() | |
3677 | rng8.Material = "Neon" | |
3678 | rng8.CanCollide = false | |
3679 | rng8.BrickColor = BrickColor.new("Neon orange") | |
3680 | rng8.Parent = LeftLeg | |
3681 | local rng8m = rng7.Mesh | |
3682 | rng8m.Scale = vt(1,1,1) | |
3683 | rng8m.MeshType = "Sphere" | |
3684 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3685 | wait() | |
3686 | local scaler = 10/5 | |
3687 | local scaler2 = 10/5 | |
3688 | local hit = rng8.Touched:connect(function(hit) | |
3689 | Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1) | |
3690 | end) | |
3691 | for i = 0,10,0.1 do | |
3692 | swait() | |
3693 | rng.Transparency = rng.Transparency + 0.01 | |
3694 | rng2.Transparency = rng2.Transparency + 0.01 | |
3695 | rng3.Transparency = rng3.Transparency + 0.01 | |
3696 | rng4.Transparency = rng4.Transparency + 0.01 | |
3697 | rng5.Transparency = rng5.Transparency + 0.01 | |
3698 | rng6.Transparency = rng5.Transparency + 0.001 | |
3699 | rng7.Transparency = rng5.Transparency + 0.001 | |
3700 | rng8.Transparency = rng5.Transparency + 0.001 | |
3701 | scaler = scaler - 0.125/5 | |
3702 | scaler2 = scaler2 - 0.1/5 | |
3703 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0) | |
3704 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0) | |
3705 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0) | |
3706 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3707 | rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5) | |
3708 | rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3709 | rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3) | |
3710 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3711 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3712 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3713 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3714 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3715 | rng6.CFrame = killbrick.CFrame | |
3716 | rng7.CFrame = killbrick.CFrame | |
3717 | rng8.CFrame = killbrick2.CFrame | |
3718 | end | |
3719 | game:GetService("Debris"):AddItem(rng, 0.1) | |
3720 | game:GetService("Debris"):AddItem(rng2, 0.1) | |
3721 | game:GetService("Debris"):AddItem(rng3, 0.1) | |
3722 | game:GetService("Debris"):AddItem(rng4, 0.1) | |
3723 | game:GetService("Debris"):AddItem(rng5, 0.1) | |
3724 | hum.WalkSpeed = 16 | |
3725 | hit:disconnect() | |
3726 | attack = false | |
3727 | killbrick:Destroy() | |
3728 | char.Head.face.Texture = "rbxassetid://29291814" | |
3729 | jumped = false | |
3730 | lig:Remove() | |
3731 | end | |
3732 | ||
3733 | ||
3734 | ||
3735 | function boom() | |
3736 | attack = true | |
3737 | jumped = true | |
3738 | hum.WalkSpeed = 0 | |
3739 | MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3740 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3741 | CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7) | |
3742 | for i = 0,15,0.1 do | |
3743 | swait() | |
3744 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3745 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3746 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3747 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3748 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3749 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3750 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3751 | char.Head.face.Texture = "rbxassetid://126198982" | |
3752 | end | |
3753 | local rng = Instance.new("Part", char) | |
3754 | rng.Anchored = true | |
3755 | rng.BrickColor = BrickColor.new("Neon orange") | |
3756 | rng.CanCollide = false | |
3757 | rng.FormFactor = 3 | |
3758 | rng.Name = "Ring" | |
3759 | rng.Size = Vector3.new(1, 1, 1) | |
3760 | rng.Transparency = 0 | |
3761 | rng.TopSurface = 0 | |
3762 | rng.BottomSurface = 0 | |
3763 | rng.Position = root.Position | |
3764 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
3765 | local rngm = Instance.new("SpecialMesh", rng) | |
3766 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3767 | local rng2 = rng:Clone() | |
3768 | rng2.Parent = char | |
3769 | rng2.BrickColor = BrickColor.new("Dark stone grey") | |
3770 | local rng2m = rng2.Mesh | |
3771 | local rng3 = rng:Clone() | |
3772 | rng3.Parent = char | |
3773 | local rng3m = rng3.Mesh | |
3774 | local rng4 = rng:Clone() | |
3775 | rng4.Parent = char | |
3776 | local rng4m = rng4.Mesh | |
3777 | local rng5 = rng:Clone() | |
3778 | rng5.Parent = char | |
3779 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
3780 | local rng5m = rng5.Mesh | |
3781 | local hit = rng5.Touched:connect(function(hit) | |
3782 | Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1) | |
3783 | end) | |
3784 | MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015) | |
3785 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1) | |
3786 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85) | |
3787 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1) | |
3788 | wait() | |
3789 | local scaler = 10 | |
3790 | local scaler2 = 10 | |
3791 | for i = 0,10,0.1 do | |
3792 | swait() | |
3793 | rng.Transparency = rng.Transparency + 0.01 | |
3794 | rng2.Transparency = rng2.Transparency + 0.01 | |
3795 | rng3.Transparency = rng3.Transparency + 0.01 | |
3796 | rng4.Transparency = rng4.Transparency + 0.01 | |
3797 | rng5.Transparency = rng5.Transparency + 0.01 | |
3798 | scaler = scaler - 0.125 | |
3799 | scaler2 = scaler2 - 0.1 | |
3800 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4) | |
3801 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3) | |
3802 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2) | |
3803 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1) | |
3804 | rng5.Size = rng5m.Scale | |
3805 | rng5.CFrame = rng.CFrame | |
3806 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5) | |
3807 | text.Text = " DIE! " | |
3808 | RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) | |
3809 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5) | |
3810 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5) | |
3811 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3812 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5) | |
3813 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5) | |
3814 | end | |
3815 | hit:disconnect() | |
3816 | game:GetService("Debris"):AddItem(rng, 1) | |
3817 | game:GetService("Debris"):AddItem(rng2, 1) | |
3818 | game:GetService("Debris"):AddItem(rng3, 1) | |
3819 | game:GetService("Debris"):AddItem(rng4, 1) | |
3820 | game:GetService("Debris"):AddItem(rng5, 1) | |
3821 | hum.WalkSpeed = 16 | |
3822 | attack = false | |
3823 | text.Text = " " | |
3824 | char.Head.face.Texture = "rbxassetid://29291814" | |
3825 | jumped = false | |
3826 | end | |
3827 | ||
3828 | function shooty() | |
3829 | attack = true | |
3830 | MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015) | |
3831 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
3832 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
3833 | for i = 0,15,0.1 do | |
3834 | swait() | |
3835 | MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3836 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
3837 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
3838 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05) | |
3839 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
3840 | char.Head.face.Texture = "rbxassetid://126198982" | |
3841 | end | |
3842 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1) | |
3843 | local a = Instance.new("Part",Character) | |
3844 | a.Name = "Direction" | |
3845 | a.Anchored = true | |
3846 | a.BrickColor = bc("Neon orange") | |
3847 | a.Material = "Neon" | |
3848 | a.Transparency = 1 | |
3849 | a.CanCollide = false | |
3850 | local ray = Ray.new( | |
3851 | root.CFrame.p, -- origin | |
3852 | (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction | |
3853 | ) | |
3854 | local ignore = Character | |
3855 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
3856 | a.BottomSurface = 10 | |
3857 | a.TopSurface = 10 | |
3858 | local distance = (root.CFrame.p - position).magnitude | |
3859 | a.Size = Vector3.new(0.1, 0.1, 0.1) | |
3860 | a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0) | |
3861 | local lb = Instance.new("Part") | |
3862 | lb.Parent = char | |
3863 | lb.BrickColor = bc("Neon orange") | |
3864 | local pie22 = Instance.new("ParticleEmitter") | |
3865 | pie22.Parent = char.Torso | |
3866 | pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color) | |
3867 | pie22.LightEmission = 0 | |
3868 | pie22.Size = NumberSequence.new(10,5) | |
3869 | pie22.Texture = "http://www.roblox.com/asset/?id=254959503" | |
3870 | pie22.Transparency = NumberSequence.new(0, 1) | |
3871 | pie22.EmissionDirection = "Top" | |
3872 | pie22.Enabled = true | |
3873 | pie22.Lifetime = NumberRange.new(1) | |
3874 | pie22.Rotation = NumberRange.new(-17, 17) | |
3875 | pie22.Rate = 200 | |
3876 | pie22.Speed = NumberRange.new(3) | |
3877 | pie22.LockedToPart = false | |
3878 | pie22.VelocitySpread = 3 | |
3879 | pie22.Name = "Haa" | |
3880 | pie22.Parent = lb | |
3881 | lb.CanCollide = false | |
3882 | lb.Material = "Neon" | |
3883 | lb.Anchored = true | |
3884 | lb.TopSurface = 0 | |
3885 | lb.BottomSurface = 0 | |
3886 | lb.Transparency = 0 | |
3887 | lb.Size = vt(0.5,0.5,0.5) | |
3888 | lb.CFrame = sorb.CFrame | |
3889 | lb.Anchored = false | |
3890 | local thingery = Instance.new("SpecialMesh",lb) | |
3891 | thingery.MeshType = "Sphere" | |
3892 | thingery.Scale = vt(25,25,25) | |
3893 | game:GetService("Debris"):AddItem(lb, 10) | |
3894 | local bv = Instance.new("BodyVelocity") | |
3895 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
3896 | bv.velocity = a.CFrame.lookVector*150 | |
3897 | bv.Parent = lb | |
3898 | game:GetService("Debris"):AddItem(a, 0.1) | |
3899 | wait(0.05) | |
3900 | local hitted = false | |
3901 | lb.Touched:connect(function(hit) | |
3902 | if hitted == false then | |
3903 | hitted = true | |
3904 | lb.Anchored = true | |
3905 | lb.Transparency = 1 | |
3906 | local rng = Instance.new("Part", char) | |
3907 | rng.Anchored = true | |
3908 | rng.BrickColor = BrickColor.new("Neon orange") | |
3909 | rng.CanCollide = false | |
3910 | rng.FormFactor = 3 | |
3911 | rng.Name = "Ring" | |
3912 | rng.Size = Vector3.new(1, 1, 1) | |
3913 | rng.Transparency = 0 | |
3914 | rng.TopSurface = 0 | |
3915 | rng.BottomSurface = 0 | |
3916 | rng.CFrame = lb.CFrame | |
3917 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3918 | local rngm = Instance.new("SpecialMesh", rng) | |
3919 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3920 | local rng2 = rng:Clone() | |
3921 | rng2.Parent = char | |
3922 | local rng2m = rng2.Mesh | |
3923 | local rng3 = rng:Clone() | |
3924 | rng3.Parent = char | |
3925 | rng3.BrickColor = BrickColor.new("Dark stone grey") | |
3926 | local rng3m = rng3.Mesh | |
3927 | local rng4 = rng:Clone() | |
3928 | rng4.Parent = char | |
3929 | local rng4m = rng4.Mesh | |
3930 | local rng5 = rng:Clone() | |
3931 | rng5.Parent = char | |
3932 | rng5.BrickColor = BrickColor.new("Dark stone grey") | |
3933 | rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3934 | local rng5m = rng5.Mesh | |
3935 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3936 | rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3937 | rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360))) | |
3938 | MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015) | |
3939 | local rng6 = rng:Clone() | |
3940 | rng6.Material = "Neon" | |
3941 | rng6.Parent = char | |
3942 | local rng6m = rng6.Mesh | |
3943 | rng6m.Scale = vt(1,1,1) | |
3944 | rng6m.MeshType = "Sphere" | |
3945 | local hita = rng6.Touched:connect(function(hit) | |
3946 | Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1) | |
3947 | end) | |
3948 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1) | |
3949 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75) | |
3950 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
3951 | local scaler = 5 | |
3952 | local scaler2 = 5 | |
3953 | for i = 0,20,0.1 do | |
3954 | swait() | |
3955 | rng.Transparency = rng.Transparency + 0.005 | |
3956 | rng2.Transparency = rng2.Transparency + 0.005 | |
3957 | rng3.Transparency = rng3.Transparency + 0.005 | |
3958 | rng4.Transparency = rng4.Transparency + 0.005 | |
3959 | rng5.Transparency = rng5.Transparency + 0.005 | |
3960 | rng6.Transparency = rng6.Transparency + 0.005 | |
3961 | scaler = scaler - 0.005/2 | |
3962 | scaler2 = scaler2 - 0.05/2 | |
3963 | rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3) | |
3964 | rng6.CFrame = rng.CFrame | |
3965 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3966 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0) | |
3967 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0) | |
3968 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
3969 | rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0) | |
3970 | end | |
3971 | hita:disconnect() | |
3972 | game:GetService("Debris"):AddItem(rng, 1) | |
3973 | game:GetService("Debris"):AddItem(rng2, 1) | |
3974 | game:GetService("Debris"):AddItem(rng3, 1) | |
3975 | game:GetService("Debris"):AddItem(rng4, 1) | |
3976 | game:GetService("Debris"):AddItem(rng5, 1) | |
3977 | game:GetService("Debris"):AddItem(rng6, 1) | |
3978 | end | |
3979 | end) | |
3980 | for i = 0,2,0.1 do | |
3981 | swait() | |
3982 | MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05) | |
3983 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5) | |
3984 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5) | |
3985 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5) | |
3986 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5) | |
3987 | text.Text = " DIE! " | |
3988 | end | |
3989 | attack = false | |
3990 | text.Text = " " | |
3991 | char.Head.face.Texture = "rbxassetid://29291814" | |
3992 | end | |
3993 | ||
3994 | function superpunch() | |
3995 | attack = true | |
3996 | jumped = true | |
3997 | hum.WalkSpeed = 16 | |
3998 | chatfunc("Grrr..") | |
3999 | rock = true | |
4000 | for i = 0, 5 do | |
4001 | local lb = Instance.new("Part") | |
4002 | lb.Parent = char | |
4003 | lb.Material = "Neon" | |
4004 | lb.Color = BrickColor.new("Gold").Color | |
4005 | lb.CanCollide = false | |
4006 | lb.Material = "Neon" | |
4007 | lb.Size = vt(1,1,1) | |
4008 | lb.CFrame = tors.CFrame | |
4009 | lb.Rotation = vt(0,0,0) | |
4010 | lb.Anchored = true | |
4011 | lb.Transparency = 0 | |
4012 | local thing = Instance.new("SpecialMesh",lb) | |
4013 | thing.MeshType = "FileMesh" | |
4014 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
4015 | thing.Scale = vt(0,15,0) | |
4016 | local chancerot = math.random(1,2) | |
4017 | for z = 0, 4 do | |
4018 | if chancerot == 1 then | |
4019 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4020 | elseif chancerot == 2 then | |
4021 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4022 | end | |
4023 | lb.Transparency = lb.Transparency + 0.1 | |
4024 | thing.Scale = thing.Scale + vt(15,0,15) | |
4025 | wait() | |
4026 | end | |
4027 | for z = 0, 4 do | |
4028 | if chancerot == 1 then | |
4029 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
4030 | elseif chancerot == 2 then | |
4031 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
4032 | end | |
4033 | lb.Transparency = lb.Transparency + 0.1 | |
4034 | thing.Scale = thing.Scale + vt(15,0,15) | |
4035 | wait() | |
4036 | end | |
4037 | lb:Destroy() | |
4038 | end | |
4039 | wait(0) | |
4040 | text.Text = " " | |
4041 | wait(0.5) | |
4042 | CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1) | |
4043 | CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7) | |
4044 | wait(0) | |
4045 | chatfunc("Incinerate!") | |
4046 | for i = 0,15,0.1 do | |
4047 | swait() | |
4048 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
4049 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05) | |
4050 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05) | |
4051 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05) | |
4052 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05) | |
4053 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05) | |
4054 | char.Head.face.Texture = "rbxassetid://126198982" | |
4055 | end | |
4056 | local rng = Instance.new("Part", char) | |
4057 | rng.Anchored = true | |
4058 | rng.BrickColor = BrickColor.new("New Yeller") | |
4059 | rng.CanCollide = false | |
4060 | rng.FormFactor = 3 | |
4061 | rng.Name = "Ring" | |
4062 | rng.Size = Vector3.new(1, 1, 1) | |
4063 | rng.Transparency = 0 | |
4064 | rng.TopSurface = 0 | |
4065 | rng.BottomSurface = 0 | |
4066 | rng.CFrame = root.CFrame | |
4067 | local rngm = Instance.new("SpecialMesh", rng) | |
4068 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
4069 | local rng2 = rng:Clone() | |
4070 | rng2.Parent = char | |
4071 | rng2.BrickColor = BrickColor.new("Neon orange") | |
4072 | local rng2m = rng2.Mesh | |
4073 | local rng3 = rng:Clone() | |
4074 | rng3.Parent = char | |
4075 | local rng3m = rng3.Mesh | |
4076 | local rng4 = rng:Clone() | |
4077 | rng4.Parent = char | |
4078 | rng4.BrickColor = BrickColor.new("Neon orange") | |
4079 | local rng4m = rng4.Mesh | |
4080 | local rng5 = rng:Clone() | |
4081 | rng5.Parent = char | |
4082 | local rng5m = rng5.Mesh | |
4083 | local rng6 = rng:Clone() | |
4084 | rng6.Material = "Neon" | |
4085 | rng6.Parent = char | |
4086 | local rng6m = rng6.Mesh | |
4087 | rng6m.Scale = vt(1,1,1) | |
4088 | rng6m.MeshType = "Sphere" | |
4089 | local hita = rng6.Touched:connect(function(hit) | |
4090 | Damagefunc(hit,3000000,4400000,math.random(3000000,4000000),"Normal",root,.2,1) | |
4091 | end) | |
4092 | rng2.CFrame = root.CFrame | |
4093 | rng3.CFrame = root.CFrame | |
4094 | rng4.CFrame = root.CFrame | |
4095 | rng5.CFrame = root.CFrame | |
4096 | rng6.CFrame = root.CFrame | |
4097 | CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1) | |
4098 | CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85) | |
4099 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4100 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4101 | CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1) | |
4102 | wait() | |
4103 | local scaler = 10/5 | |
4104 | local scaler2 = 10/5 | |
4105 | MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015) | |
4106 | for i = 0,10,0.1 do | |
4107 | swait() | |
4108 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2 | |
4109 | rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25 | |
4110 | rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5 | |
4111 | rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75 | |
4112 | rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2 | |
4113 | rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4) | |
4114 | rng6.CFrame = rng.CFrame | |
4115 | rng.Transparency = rng.Transparency + 0.01 | |
4116 | rng2.Transparency = rng2.Transparency + 0.01 | |
4117 | rng3.Transparency = rng3.Transparency + 0.01 | |
4118 | rng4.Transparency = rng4.Transparency + 0.01 | |
4119 | rng5.Transparency = rng5.Transparency + 0.01 | |
4120 | rng6.Transparency = rng6.Transparency + 0.01 | |
4121 | scaler = scaler - 0.125/5 | |
4122 | scaler2 = scaler2 - 0.1/5 | |
4123 | rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5) | |
4124 | rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1) | |
4125 | rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5) | |
4126 | rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0) | |
4127 | rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2) | |
4128 | end | |
4129 | hita:disconnect() | |
4130 | rng6:Destroy() | |
4131 | Crater(head,60) | |
4132 | game:GetService("Debris"):AddItem(rng, 1) | |
4133 | game:GetService("Debris"):AddItem(rng2, 1) | |
4134 | game:GetService("Debris"):AddItem(rng3, 1) | |
4135 | game:GetService("Debris"):AddItem(rng4, 1) | |
4136 | game:GetService("Debris"):AddItem(rng5, 1) | |
4137 | hum.WalkSpeed = 16 | |
4138 | attack = false | |
4139 | char.Head.face.Texture = "rbxassetid://29291814" | |
4140 | jumped = false | |
4141 | end | |
4142 | ||
4143 | ||
4144 | ||
4145 | --Gomu powers by DahNoob | |
4146 | --Gui Fixed by Biologically_Noob | |
4147 | --Originally fixed by scenius | |
4148 | --lol i know ur gonna remove credits | |
4149 | g1 = Instance.new("ScreenGui") | |
4150 | g1.Name = "ggui" | |
4151 | o1 = Instance.new("Frame", g1) | |
4152 | o1.BackgroundColor3 = Color3.new(1, 0.976471, 0.6) | |
4153 | o1.BorderColor3 = Color3.new(0.533333, 0.52549, 0.317647) | |
4154 | o1.BorderSizePixel = 0 | |
4155 | o1.Name = "Main" | |
4156 | o1.Position = UDim2.new(0.025, 0, 0.65, 0) | |
4157 | o1.Size = UDim2.new(0,0,0) | |
4158 | o1.ZIndex = 2 | |
4159 | o2 = Instance.new("Frame", o1) | |
4160 | o2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843) | |
4161 | o2.BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
4162 | o2.BorderSizePixel = 3 | |
4163 | o2.Name = "G3" | |
4164 | o2.Position = UDim2.new(0.05, 0, 0, 20) | |
4165 | o2.Size = UDim2.new(0,0,0) | |
4166 | o2.ZIndex = 3 | |
4167 | o3 = Instance.new("Frame", o2) | |
4168 | o3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4169 | o3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4170 | o3.BorderSizePixel = 0 | |
4171 | o3.Name = "Shadow" | |
4172 | o3.Size = UDim2.new(0,0,0) | |
4173 | o3.ZIndex = 2 | |
4174 | o3.Style = Enum.FrameStyle.DropShadow | |
4175 | o4 = Instance.new("Frame", o2) | |
4176 | o4.BackgroundColor3 = Color3.new(0.341176, 0.968628, 0.623529) | |
4177 | o4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4178 | o4.BorderSizePixel = 0 | |
4179 | o4.Name = "Bar" | |
4180 | o4.Size = UDim2.new(0,0,0) | |
4181 | o4.ZIndex = 4 | |
4182 | o5 = Instance.new("Frame", o1) | |
4183 | o5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4184 | o5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4185 | o5.BorderSizePixel = 0 | |
4186 | o5.Name = "Shadow" | |
4187 | o5.Position = UDim2.new(0, 1, 0, 1) | |
4188 | o5.Size = UDim2.new(0,0,0) | |
4189 | o5.Style = Enum.FrameStyle.DropShadow | |
4190 | o6 = Instance.new("Frame", o1) | |
4191 | o6.BackgroundColor3 = Color3.new(0.0980392, 0, 0) | |
4192 | o6.BorderColor3 = Color3.new(0.301961, 0.121569, 0.0666667) | |
4193 | o6.BorderSizePixel = 3 | |
4194 | o6.Name = "G2" | |
4195 | o6.Position = UDim2.new(0.05, 0, 0, 55) | |
4196 | o6.Size = UDim2.new(0,0,0) | |
4197 | o6.ZIndex = 3 | |
4198 | o7 = Instance.new("Frame", o6) | |
4199 | o7.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4200 | o7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4201 | o7.BorderSizePixel = 0 | |
4202 | o7.Name = "Shadow" | |
4203 | o7.Size = UDim2.new(0,0,0) | |
4204 | o7.ZIndex = 2 | |
4205 | o7.Style = Enum.FrameStyle.DropShadow | |
4206 | o8 = Instance.new("Frame", o6) | |
4207 | o8.BackgroundColor3 = Color3.new(0.968628, 0.439216, 0.192157) | |
4208 | o8.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4209 | o8.BorderSizePixel = 0 | |
4210 | o8.Name = "Bar" | |
4211 | o8.Size = UDim2.new(0,0,0) | |
4212 | o8.ZIndex = 4 | |
4213 | o9 = Instance.new("Frame", o1) | |
4214 | o9.BackgroundColor3 = Color3.new(0.811765, 0.768628, 0.286275) | |
4215 | o9.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4216 | o9.BorderSizePixel = 0 | |
4217 | o9.Name = "Base" | |
4218 | o9.Position = UDim2.new(0.05, 0, 0, 80) | |
4219 | o9.Size = UDim2.new(0,0,0) | |
4220 | o9.ZIndex = 3 | |
4221 | o10 = Instance.new("Frame", o9) | |
4222 | o10.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098) | |
4223 | o10.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4224 | o10.BorderSizePixel = 0 | |
4225 | o10.Name = "Shadow" | |
4226 | o10.Size = UDim2.new(0,0,0) | |
4227 | o10.ZIndex = 2 | |
4228 | o10.Style = Enum.FrameStyle.DropShadow | |
4229 | o11 = Instance.new("TextLabel", o9) | |
4230 | o11.BackgroundColor3 = Color3.new(1, 1, 1) | |
4231 | o11.BackgroundTransparency = 1 | |
4232 | o11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) | |
4233 | o11.Name = "Mode" | |
4234 | o11.Position = UDim2.new(0.05, 0,0.1, 0) | |
4235 | o11.Size = UDim2.new(0, 205, 0, 50) | |
4236 | o11.ZIndex = 3 | |
4237 | o11.Text = " " | |
4238 | o11.TextColor3 = Color3.new(1, 1, 1) | |
4239 | o11.TextStrokeTransparency = 0 | |
4240 | o11.Font = Enum.Font.SourceSansBold | |
4241 | o11.FontSize = Enum.FontSize.Size28 | |
4242 | ||
4243 | g1.Parent = script | |
4244 | ||
4245 | sn = Instance.new("StringValue", script) | |
4246 | sn.Name = "ScriptName" | |
4247 | sn.Value = "Gomu Powers" | |
4248 | ||
4249 | local a = script:WaitForChild("ScriptName").Value | |
4250 | script.ScriptName:Destroy() | |
4251 | TakeDamage = function(b, c) | |
4252 | b:TakeDamage(c)--game:service("ReplicatedStorage").Logic.TakeDamage:FireServer(b, c, a, tick()) | |
4253 | end | |
4254 | ||
4255 | plr = game.Players.LocalPlayer | |
4256 | repeat | |
4257 | wait(0.4) | |
4258 | until plr.Character | |
4259 | local fixed = Instance.new("StringValue", plr.Character) | |
4260 | fixed.Name = "1" | |
4261 | fixed.Value = "S".."c".."e".."n".."i".."u".."s" | |
4262 | local creator = Instance.new("StringValue", plr.Character) | |
4263 | creator.Name = "2" | |
4264 | creator.Value = "D".."a".."h".."N".."o".."o".."b" | |
4265 | chr = plr.Character | |
4266 | human = chr:FindFirstChild("Humanoid") | |
4267 | mouse = plr:GetMouse() | |
4268 | kx = function(s) | |
4269 | plr:Kick(s) | |
4270 | end | |
4271 | cam = workspace.CurrentCamera | |
4272 | selected = false | |
4273 | equipd = false | |
4274 | tors = chr.Torso | |
4275 | rarm = chr["Right Arm"] | |
4276 | larm = chr["Left Arm"] | |
4277 | rleg = chr["Right Leg"] | |
4278 | lleg = chr["Left Leg"] | |
4279 | hrp = chr.HumanoidRootPart | |
4280 | head = chr.Head | |
4281 | anim = human:FindFirstChild("Animator") | |
4282 | local d = head:FindFirstChildOfClass("Decal").Texture | |
4283 | activu = false | |
4284 | dagear = 1 | |
4285 | rubbermodo = 0 | |
4286 | gatlingcool = 0 | |
4287 | bazookacool = 0 | |
4288 | rocketcool = 0 | |
4289 | g2lim = 6 | |
4290 | g3lim = 6 | |
4291 | g32hand = false | |
4292 | local e = true--game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84610856) | |
4293 | local f = true--(game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84862060)) | |
4294 | local g = nil | |
4295 | g = script:WaitForChild("ggui") | |
4296 | g.Enabled = true | |
4297 | g.Main.G3.Bar.BackgroundColor3 = rarm.Color | |
4298 | g.Parent = plr.PlayerGui | |
4299 | Heartbeat = Instance.new("BindableEvent") | |
4300 | Heartbeat.Name = "Heartbeat" | |
4301 | Heartbeat.Parent = script | |
4302 | frame = 0.033333333333333 | |
4303 | tf = 0 | |
4304 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4305 | tf = tf + h | |
4306 | if frame <= tf then | |
4307 | for j = 1, math.floor(tf / frame) do | |
4308 | Heartbeat:Fire() | |
4309 | end | |
4310 | tf = tf - frame * math.floor(tf / frame) | |
4311 | end | |
4312 | end) | |
4313 | swait = function(k) | |
4314 | if k == 0 or k == nil then | |
4315 | Heartbeat.Event:wait() | |
4316 | else | |
4317 | for j = 1, k do | |
4318 | Heartbeat.Event:wait() | |
4319 | end | |
4320 | end | |
4321 | end | |
4322 | ||
4323 | Heartbeat2 = Instance.new("BindableEvent") | |
4324 | Heartbeat2.Name = "Heartbeat2" | |
4325 | Heartbeat2.Parent = script | |
4326 | f60 = 0.016666666666667 | |
4327 | tf2 = 0 | |
4328 | game:GetService("RunService").Heartbeat:connect(function(h, i) | |
4329 | tf2 = tf2 + h | |
4330 | if f60 <= tf2 then | |
4331 | for j = 1, math.floor(tf2 / f60) do | |
4332 | Heartbeat2:Fire() | |
4333 | end | |
4334 | tf2 = tf2 - f60 * math.floor(tf2 / f60) | |
4335 | end | |
4336 | end) | |
4337 | swait2 = function(k) | |
4338 | if k == 0 or k == nil then | |
4339 | Heartbeat2.Event:wait() | |
4340 | else | |
4341 | for j = 1, k do | |
4342 | Heartbeat2.Event:wait() | |
4343 | end | |
4344 | end | |
4345 | end | |
4346 | ||
4347 | tool = Instance.new("Tool") | |
4348 | tool.CanBeDropped = false | |
4349 | tool.RequiresHandle = false | |
4350 | tool.ToolTip = "FSJDHJFS" | |
4351 | tool.Name = "Machine" | |
4352 | tool.Parent = plr.Backpack | |
4353 | modz = Instance.new("Model") | |
4354 | modz.Name = "efx" | |
4355 | modz.Parent = chr | |
4356 | RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4357 | RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4358 | LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4359 | LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4360 | RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4361 | RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
4362 | LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4363 | RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4364 | LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
4365 | NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4366 | NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4367 | RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
4368 | RS = tors:FindFirstChild("Right Shoulder") | |
4369 | LS = tors:FindFirstChild("Left Shoulder") | |
4370 | RH = tors:FindFirstChild("Right Hip") | |
4371 | LH = tors:FindFirstChild("Left Hip") | |
4372 | RJ = hrp:FindFirstChild("RootJoint") | |
4373 | N = tors:FindFirstChild("Neck") | |
4374 | cf = CFrame.new | |
4375 | ang = CFrame.Angles | |
4376 | rd = math.rad | |
4377 | rd2 = math.random | |
4378 | cs = ColorSequence.new | |
4379 | ns = NumberSequence.new | |
4380 | nsk = NumberSequenceKeypoint.new | |
4381 | nooutline = function(i) | |
4382 | i.TopSurface = 10 | |
4383 | end | |
4384 | ||
4385 | makepart = function(l, m, n, o, p, q, r) | |
4386 | local s = Instance.new("Part") | |
4387 | s.BrickColor = BrickColor.new(l) | |
4388 | s.Name = m | |
4389 | s.Transparency = o | |
4390 | nooutline(s) | |
4391 | s.Reflectance = n | |
4392 | s.Material = p | |
4393 | s.Anchored = true | |
4394 | s.CanCollide = false | |
4395 | s.Locked = true | |
4396 | s.CFrame = r | |
4397 | s.Size = Vector3.new(0.2, 0.2, 0.2) | |
4398 | s.Parent = q | |
4399 | return s | |
4400 | end | |
4401 | ||
4402 | makemesh = function(t, u, v, w) | |
4403 | local x = Instance.new("SpecialMesh") | |
4404 | x.MeshType = t | |
4405 | x.Scale = u | |
4406 | if t == "FileMesh" then | |
4407 | x.MeshId = v | |
4408 | end | |
4409 | x.Parent = w | |
4410 | return x | |
4411 | end | |
4412 | ||
4413 | makeweld = function(w, y, z, A, B) | |
4414 | local C = Instance.new("Weld") | |
4415 | C.Part0 = y | |
4416 | C.Part1 = z | |
4417 | C.C0 = A | |
4418 | if B ~= nil then | |
4419 | C.C1 = B | |
4420 | end | |
4421 | C.Parent = w | |
4422 | return C | |
4423 | end | |
4424 | ||
4425 | lerpz = function(D, E, F, G) | |
4426 | D[E] = D[E]:lerp(F, G) | |
4427 | end | |
4428 | ||
4429 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4430 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4431 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4432 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4433 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4434 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4435 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4436 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4437 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4438 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
4439 | resetlerp = function() | |
4440 | RJ.C0 = RJC0 | |
4441 | RJ.C1 = RJC1 | |
4442 | N.C0 = NC0 | |
4443 | N.C1 = NC1 | |
4444 | RS.C0 = RSC0 | |
4445 | RS.C1 = RSC1 | |
4446 | LS.C0 = LSC0 | |
4447 | LS.C1 = LSC1 | |
4448 | RH.C0 = RHC0 | |
4449 | RH.C1 = RHC1 | |
4450 | LH.C0 = LHC0 | |
4451 | LH.C1 = LHC1 | |
4452 | end | |
4453 | ||
4454 | local H = {} | |
4455 | for I,J in pairs(chr:GetChildren()) do | |
4456 | if J:IsA("BasePart") and J ~= hrp then | |
4457 | local K = Instance.new("Part") | |
4458 | K.Size = Vector3.new(0.2, 0.2, 0.2) | |
4459 | K.CanCollide = false | |
4460 | K.Material = "Neon" | |
4461 | K.Name = "odam" | |
4462 | K.BrickColor = BrickColor.new("Persimmon") | |
4463 | K.CFrame = J.CFrame | |
4464 | K.Transparency = 1 | |
4465 | K.Locked = true | |
4466 | nooutline(K) | |
4467 | K.Parent = J | |
4468 | local L = nil | |
4469 | if J ~= head then | |
4470 | L = makemesh("Brick", J.Size * 5 * 1.03, nil, K) | |
4471 | else | |
4472 | if J == head then | |
4473 | L = makemesh("Head", J.Size * 5 * 1.25 * 1.03, nil, K) | |
4474 | end | |
4475 | end | |
4476 | makeweld(K, K, J, (cf(0, 0, 0)), nil) | |
4477 | local M = Instance.new("ParticleEmitter") | |
4478 | M.Color = cs(Color3.new(1, 1, 1)) | |
4479 | M.LightEmission = 0.8 | |
4480 | M.Name = "pe" | |
4481 | M.Size = ns({nsk(0, 0.875, 0.625), nsk(0.245, 2.25), nsk(1, 0.75)}) | |
4482 | M.Texture = "rbxgameasset://Images/smok" | |
4483 | M.Transparency = ns({nsk(0, 1), nsk(0.165, 0.85), nsk(0.85, 0.9), nsk(1, 1)}) | |
4484 | M.Acceleration = Vector3.new(0, 4, 0) | |
4485 | M.Lifetime = NumberRange.new(3, 4) | |
4486 | M.Rate = 20 | |
4487 | M.VelocityInheritance = 0.15 | |
4488 | M.Rotation = NumberRange.new(0, 360) | |
4489 | M.RotSpeed = NumberRange.new(-5, 5) | |
4490 | M.Speed = NumberRange.new(-5, -3) | |
4491 | M.VelocitySpread = 30 | |
4492 | M.Enabled = false | |
4493 | M.Parent = K | |
4494 | do | |
4495 | do | |
4496 | do | |
4497 | if J == tors then | |
4498 | local O = Instance.new("Sound") | |
4499 | O.SoundId = "rbxassetid://291165237" | |
4500 | O.Volume = 0.5 | |
4501 | O.Pitch = 0.9 | |
4502 | O.Name = "ss" | |
4503 | O.Looped = true | |
4504 | O.Parent = K | |
4505 | end | |
4506 | table.insert(H, K) | |
4507 | if J:IsA("CharacterMesh") then | |
4508 | J:Destroy() | |
4509 | end | |
4510 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4511 | ||
4512 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out DO_STMT | |
4513 | ||
4514 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
4515 | ||
4516 | -- DECOMPILER ERROR at PC891: LeaveBlock: unexpected jumping out IF_STMT | |
4517 | ||
4518 | end | |
4519 | end | |
4520 | end | |
4521 | end | |
4522 | end | |
4523 | function onFired(...) | |
4524 | --if {...} ~= {} then | |
4525 | kx(...) | |
4526 | --end | |
4527 | end | |
4528 | function getobj(t) | |
4529 | if t==nil then | |
4530 | return nil | |
4531 | else | |
4532 | return t | |
4533 | end | |
4534 | end | |
4535 | SB_Remote = {} --Instance.new("RemoteEvent", script) | |
4536 | SB_Remote.Name = "Event" | |
4537 | function SB_Remote:FireClient(var) | |
4538 | onFired(var) | |
4539 | end | |
4540 | --SB_Remote.OnClientEvent:Connect(onFired) | |
4541 | modev = Instance.new("IntValue") | |
4542 | modev.Name = "WATA" | |
4543 | modev.Parent = tors | |
4544 | shoot = function() | |
4545 | if selected == false or activu == true or modev.Value > 1 then | |
4546 | return | |
4547 | end | |
4548 | activu = true | |
4549 | delay(0.5, function() | |
4550 | activu = false | |
4551 | end) | |
4552 | local P, Q = nil, nil | |
4553 | if modev.Value == 0 then | |
4554 | P = rarm | |
4555 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4556 | else | |
4557 | if modev.Value == 1 then | |
4558 | P = larm | |
4559 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
4560 | end | |
4561 | end | |
4562 | if modev.Value == 0 then | |
4563 | modev.Value = modev.Value + 1 | |
4564 | else | |
4565 | if modev.Value == 1 then | |
4566 | modev.Value = 0 | |
4567 | end | |
4568 | end | |
4569 | local R = Instance.new("Part") | |
4570 | nooutline(R) | |
4571 | R.Anchored = true | |
4572 | R.CanCollide = false | |
4573 | R.Size = Vector3.new(1, 1, 1) | |
4574 | R.BrickColor = P.BrickColor | |
4575 | R.Transparency = 1 | |
4576 | R.Locked = true | |
4577 | R.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4578 | R.Parent = modz | |
4579 | local S = Instance.new("Part") | |
4580 | nooutline(S) | |
4581 | S.Anchored = true | |
4582 | S.CanCollide = false | |
4583 | S.Locked = true | |
4584 | S.Size = Vector3.new(1, 1, 1) | |
4585 | S.BrickColor = BrickColor.new("White") | |
4586 | S.Transparency = 0 | |
4587 | S.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) * ang(rd(90), 0, 0) * cf(0, -1, 0) | |
4588 | S.Parent = modz | |
4589 | game.Debris:AddItem(S, 2) | |
4590 | local T = Instance.new("SpecialMesh") | |
4591 | T.MeshType = "FileMesh" | |
4592 | T.MeshId = "rbxassetid://489415447" | |
4593 | T.Scale = Vector3.new(0.15, 0.15, 0.15) | |
4594 | T.Parent = S | |
4595 | coroutine.resume(coroutine.create(function() | |
4596 | for I = 1, 10 do | |
4597 | swait() | |
4598 | T.Scale = T.Scale + Vector3.new(0.5, 0.5, 0.5) | |
4599 | S.Transparency = S.Transparency + 0.1 | |
4600 | end | |
4601 | end)) | |
4602 | local U = Instance.new("Sound") | |
4603 | U.SoundId = "rbxassetid://137463821" | |
4604 | U.Volume = 1.4 | |
4605 | U.Pitch = math.random(10, 12) / 10 | |
4606 | U.Parent = P | |
4607 | U:Play() | |
4608 | game.Debris:AddItem(U, 1.5) | |
4609 | local V = Instance.new("Part") | |
4610 | nooutline(V) | |
4611 | V.Anchored = true | |
4612 | V.CanCollide = false | |
4613 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
4614 | V.BrickColor = P.BrickColor | |
4615 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
4616 | V.Parent = modz | |
4617 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
4618 | local X = nil | |
4619 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
4620 | X = (R.Position - P.Position).magnitude | |
4621 | W.Scale = Vector3.new(1, X / 2, 1) | |
4622 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, R.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
4623 | end) | |
4624 | local Z = false | |
4625 | for _ = 1, 4, 0.1 do | |
4626 | swait() | |
4627 | local a0 = Ray.new(R.Position, R.CFrame.lookVector * (4 - _)) | |
4628 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
4629 | if a1 and a1.Transparency ~= 1 and Z == false then | |
4630 | Z = true | |
4631 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4632 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, R.CFrame * ang(0, rd(90), rd(90))) | |
4633 | do | |
4634 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
4635 | game.Debris:AddItem(a3, 5) | |
4636 | local a5 = rd2(1, 5) | |
4637 | if a5 == 3 then | |
4638 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, Vector3.new(0, 0, rd2(-8, 8))) | |
4639 | else | |
4640 | hito(R, 4.6, 15, 0.3, R.CFrame.lookVector * 9, nil) | |
4641 | end | |
4642 | coroutine.resume(coroutine.create(function() | |
4643 | for I = 1, 16 do | |
4644 | swait() | |
4645 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
4646 | a3.Transparency = a3.Transparency + 0.05 | |
4647 | end | |
4648 | a3:Destroy() | |
4649 | end)) | |
4650 | end | |
4651 | else | |
4652 | do | |
4653 | do | |
4654 | if Z == false then | |
4655 | R.CFrame = R.CFrame * cf(0, 0, -(4 - _)) | |
4656 | else | |
4657 | if Z == true then | |
4658 | R.CFrame = R.CFrame * cf(0, 0, 4 - _) | |
4659 | end | |
4660 | end | |
4661 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out DO_STMT | |
4662 | ||
4663 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
4664 | ||
4665 | -- DECOMPILER ERROR at PC413: LeaveBlock: unexpected jumping out IF_STMT | |
4666 | ||
4667 | end | |
4668 | end | |
4669 | end | |
4670 | end | |
4671 | R:Destroy() | |
4672 | V:Destroy() | |
4673 | Y:Disconnect() | |
4674 | Q:Destroy() | |
4675 | end | |
4676 | ||
4677 | gatling = function() | |
4678 | if gatlingcool == 50 or selected == false or activu == true then | |
4679 | return | |
4680 | end | |
4681 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
4682 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
4683 | activu = true | |
4684 | chatfunc("Machine Gun Blows!") | |
4685 | asd1 = Instance.new("Sound",char) | |
4686 | asd1.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
4687 | asd1.Volume = 1 | |
4688 | asd1.Looped = true | |
4689 | asd1:Play() | |
4690 | local pie22 = Instance.new("ParticleEmitter") | |
4691 | pie22.Parent = lleg | |
4692 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4693 | pie22.LightEmission = 1 | |
4694 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
4695 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4696 | pie22.Transparency = NumberSequence.new(0.7) | |
4697 | pie22.EmissionDirection = "Top" | |
4698 | pie22.Enabled = true | |
4699 | pie22.Lifetime = NumberRange.new(1) | |
4700 | pie22.Rotation = NumberRange.new(-420, 425) | |
4701 | pie22.Rate = 400 | |
4702 | pie22.Speed = NumberRange.new(1) | |
4703 | pie22.LockedToPart = false | |
4704 | pie22.VelocitySpread = 2 | |
4705 | local pie222 = Instance.new("ParticleEmitter") | |
4706 | pie222.Parent = rleg | |
4707 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4708 | pie222.LightEmission = 1 | |
4709 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4710 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4711 | pie222.Transparency = NumberSequence.new(0.7) | |
4712 | pie222.EmissionDirection = "Top" | |
4713 | pie222.Enabled = true | |
4714 | pie222.Lifetime = NumberRange.new(1) | |
4715 | pie222.Rotation = NumberRange.new(-420, 425) | |
4716 | pie222.Rate = 400 | |
4717 | pie222.Speed = NumberRange.new(1) | |
4718 | pie222.LockedToPart = false | |
4719 | pie222.VelocitySpread = 2 | |
4720 | local pie2222 = Instance.new("ParticleEmitter") | |
4721 | pie2222.Parent = lleg | |
4722 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4723 | pie2222.LightEmission = 1 | |
4724 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4725 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4726 | pie2222.Transparency = NumberSequence.new(0.7) | |
4727 | pie2222.EmissionDirection = "Top" | |
4728 | pie2222.Enabled = true | |
4729 | pie2222.Lifetime = NumberRange.new(1) | |
4730 | pie2222.Rotation = NumberRange.new(-420, 425) | |
4731 | pie2222.Rate = 400 | |
4732 | pie2222.Speed = NumberRange.new(1) | |
4733 | pie2222.LockedToPart = false | |
4734 | pie2222.VelocitySpread = 2 | |
4735 | local pie22222 = Instance.new("ParticleEmitter") | |
4736 | pie22222.Parent = rleg | |
4737 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4738 | pie22222.LightEmission = 1 | |
4739 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
4740 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4741 | pie22222.Transparency = NumberSequence.new(0.7) | |
4742 | pie22222.EmissionDirection = "Top" | |
4743 | pie22222.Enabled = true | |
4744 | pie22222.Lifetime = NumberRange.new(1) | |
4745 | pie22222.Rotation = NumberRange.new(-420, 425) | |
4746 | pie22222.Rate = 400 | |
4747 | pie22222.Speed = NumberRange.new(1) | |
4748 | pie22222.LockedToPart = false | |
4749 | pie22222.VelocitySpread = 2 | |
4750 | local pie2242 = Instance.new("ParticleEmitter") | |
4751 | pie2242.Parent = tors | |
4752 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
4753 | pie2242.LightEmission = 1 | |
4754 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
4755 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
4756 | pie2242.Transparency = NumberSequence.new(0.7) | |
4757 | pie2242.EmissionDirection = "Top" | |
4758 | pie2242.Enabled = true | |
4759 | pie2242.Lifetime = NumberRange.new(1) | |
4760 | pie2242.Rotation = NumberRange.new(-420, 425) | |
4761 | pie2242.Rate = 400 | |
4762 | pie2242.Speed = NumberRange.new(1) | |
4763 | pie2242.LockedToPart = false | |
4764 | pie2242.VelocitySpread = 2 | |
4765 | human.AutoRotate = false | |
4766 | local a8 = Instance.new("BodyGyro") | |
4767 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
4768 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4769 | a8.P = 580000 | |
4770 | a8.D = 250 | |
4771 | a8.Parent = hrp | |
4772 | local a9 = true | |
4773 | local aa = {} | |
4774 | local ab = {} | |
4775 | for j = 1, 8 do | |
4776 | local ac = Instance.new("Part") | |
4777 | ac.BrickColor = BrickColor.new("New Yeller") | |
4778 | nooutline(ac) | |
4779 | ac.Anchored = true | |
4780 | ac.Locked = true | |
4781 | ac.CanCollide = false | |
4782 | ac.Material = "Neon" | |
4783 | ac.Size = Vector3.new(1, 1, 1) | |
4784 | if j % 2 == 1 then | |
4785 | ac.BrickColor = BrickColor.new("New Yeller") | |
4786 | ac.Material = ("Neon") | |
4787 | else | |
4788 | if j % 2 == 0 then | |
4789 | ac.BrickColor = BrickColor.new("New Yeller") | |
4790 | ac.Material = ("Neon") | |
4791 | end | |
4792 | end | |
4793 | ac.Transparency = 1 | |
4794 | ac.CFrame = CFrame.new(0, 10000, 0) | |
4795 | ac.Parent = modz | |
4796 | ac.Material = "Neon" | |
4797 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ac) | |
4798 | local ab = Instance.new("Sound") | |
4799 | ab.EmitterSize = 60 | |
4800 | ab.Volume = 1.5 | |
4801 | ab.Pitch = 1 | |
4802 | ab.SoundId = "rbxassetid://130770091" | |
4803 | ab.Parent = ac | |
4804 | table.insert(aa, ac) | |
4805 | lig = Instance.new("PointLight",ac) | |
4806 | lig.Color=Color3.new(255,255,0) | |
4807 | lig.Range = 6 | |
4808 | ||
4809 | end | |
4810 | for j = 1, 16 do | |
4811 | local a3 = makepart("New Yeller", "nah", 0, 1, "SmoothPlastic", modz, cf(0, 1000, 0)) | |
4812 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
4813 | table.insert(ab, a3) | |
4814 | end | |
4815 | local ae = tool.Deactivated:connect(function() | |
4816 | a9 = false | |
4817 | end) | |
4818 | coroutine.resume(coroutine.create(function() | |
4819 | while a8 do | |
4820 | swait() | |
4821 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
4822 | end | |
4823 | end)) | |
4824 | local af = 0 | |
4825 | local ag = 0 | |
4826 | repeat | |
4827 | ag = ag + 2 | |
4828 | if af == 0 then | |
4829 | af = 2 | |
4830 | else | |
4831 | af = af % 8 + 1 | |
4832 | end | |
4833 | aa[af].Size = Vector3.new(1, 0, 1) | |
4834 | aa[af].CFrame = cf(hrp.CFrame * cf(rd2(-500, 500) / 100, rd2(-400, 400) / 100, rd2(-7000, 1600) / 100).p, mouse.Hit * cf(rd2(-2, 2), rd2(-1, 1), 0).p) * ang(rd(90), 0, 0) | |
4835 | aa[af].Transparency = 1 | |
4836 | aa[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 0, 1) | |
4837 | ab[af].Transparency = 0.35 | |
4838 | ab[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6) | |
4839 | ab[af + 1].Transparency = 0.45 | |
4840 | ab[af + 1]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
4841 | ab[af + 1].CFrame = aa[af].CFrame | |
4842 | if (af) % 2 == 1 then | |
4843 | ab[af].CFrame = cf(rarm.CFrame * cf(rd2(-20, 20) / 10, rd2(4, 12) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
4844 | else | |
4845 | if (af) % 2 == 0 then | |
4846 | ab[af].CFrame = cf(larm.CFrame * cf(rd2(-20, 20) / 10, rd2(3, 8) / 10, rd2(-6, 6) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90)) | |
4847 | end | |
4848 | end | |
4849 | coroutine.resume(coroutine.create(function() | |
4850 | local ah = aa[af] | |
4851 | local ai = ab[af] | |
4852 | local aj = ab[af + 1] | |
4853 | local ak = false | |
4854 | for I = 1, 2 do | |
4855 | swait() | |
4856 | ah.Size = ah.Size + Vector3.new(0, 8, 0) | |
4857 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 4, 0) | |
4858 | ah.CFrame = ah.CFrame * cf(0, -4, 0) | |
4859 | ah.Transparency = 0 | |
4860 | ai.Transparency = ai.Transparency + 0.1 | |
4861 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.3 + rd2(-1, 1) / 10, 0.4 + rd2(-1, 1) / 10, 0.3 + rd2(-1, 1) / 10) | |
4862 | aj.Transparency = aj.Transparency + 0.1 | |
4863 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.5, 0.6, 0.5) | |
4864 | end | |
4865 | ah:FindFirstChildOfClass("Sound").Pitch = rd2(10, 17) / 10 | |
4866 | for j = 0, 4 do | |
4867 | swait() | |
4868 | local a0 = Ray.new(ah.Position, ah.CFrame.upVector * -(12 - j)) | |
4869 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
4870 | if a1 and a1.Transparency ~= 1 and ak == false then | |
4871 | ak = true | |
4872 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
4873 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, ah.CFrame * cf(0, -8, 0) * ang(0, rd(0), rd(0))) | |
4874 | local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3) | |
4875 | game.Debris:AddItem(a3, 20) | |
4876 | local a5 = rd2(1, 10) | |
4877 | if a5 == 3 then | |
4878 | hito(a3, 9.1, 750, 0.1, ah.CFrame.upVector * -14, Vector3.new(0, 0, rd2(-8, 8))) | |
4879 | else | |
4880 | hito(a3, 9.1, 950, 0.1, ah.CFrame.upVector * -14) | |
4881 | end | |
4882 | coroutine.resume(coroutine.create(function() | |
4883 | for I = 1, 16 do | |
4884 | swait() | |
4885 | a4.Scale = a4.Scale + Vector3.new(0.3, 0.3, 0.3) | |
4886 | a3.Transparency = a3.Transparency + 0.05 | |
4887 | end | |
4888 | a3:Destroy() | |
4889 | end)) | |
4890 | else | |
4891 | if ak == false then | |
4892 | ah.CFrame = ah.CFrame * cf(0, -4 + j, 0) | |
4893 | elseif ak == true then | |
4894 | ah.CFrame = ah.CFrame * cf(0, 4 - j, 0) | |
4895 | end | |
4896 | ai.Transparency = ai.Transparency + 0.15 | |
4897 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.05 + rd2(-1, 1) / 10, 0.1 + rd2(-1, 1) / 10, 0.05 + rd2(-1, 1) / 1) | |
4898 | aj.Transparency = aj.Transparency + 0.15 | |
4899 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0.2, 0.3, 0.2) | |
4900 | end | |
4901 | end | |
4902 | end)) | |
4903 | swait(1) | |
4904 | until ((not a9 or ag > 200) and ag > 40) or human.Health <= 0 | |
4905 | ae:Disconnect() | |
4906 | a8:Destroy() | |
4907 | a6:Destroy() | |
4908 | a7:Destroy() | |
4909 | pie22:Destroy() | |
4910 | pie222:Destroy() | |
4911 | pie2222:Destroy() | |
4912 | pie22222:Destroy() | |
4913 | pie2242:Destroy() | |
4914 | asd1:Stop() | |
4915 | human.AutoRotate = true | |
4916 | activu = false | |
4917 | gatlingcool = 0 | |
4918 | coroutine.resume(coroutine.create(function() | |
4919 | wait(0) | |
4920 | gatlingcool = 0 | |
4921 | end)) | |
4922 | for I,al in pairs(aa) do | |
4923 | for I = 1, 4 do | |
4924 | swait() | |
4925 | al.Transparency = al.Transparency + 0.25 | |
4926 | end | |
4927 | al:Destroy() | |
4928 | end | |
4929 | for I,am in pairs(ab) do | |
4930 | am:Destroy() | |
4931 | end | |
4932 | aa, ab = nil | |
4933 | end | |
4934 | ||
4935 | bazooka = function() | |
4936 | if bazookacool == 50 or selected == false or activu == true then | |
4937 | return | |
4938 | end | |
4939 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
4940 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
4941 | activu = true | |
4942 | human.WalkSpeed = human.WalkSpeed - 8 | |
4943 | local an = makepart("White", "rhb", 0, 1, "Plastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4944 | local ao = makepart("White", "lhb", 0, 1, "Plastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4945 | local ap = makepart(rarm.BrickColor.Name, "rsp", 0, 0, "SmoothPlastic", modz, cf(rarm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4946 | local aq = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ap) | |
4947 | local ar = makepart(larm.BrickColor.Name, "lsp", 0, 0, "SmoothPlastic", modz, cf(larm.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
4948 | local as = (makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/rightarm.mesh", ar)) | |
4949 | local at, au = nil, nil | |
4950 | local av = game:GetService("RunService").RenderStepped:connect(function() | |
4951 | at = (an.Position - rarm.Position).magnitude | |
4952 | au = (ao.Position - larm.Position).magnitude | |
4953 | aq.Scale = Vector3.new(1, at / 2, 1) | |
4954 | as.Scale = Vector3.new(1, au / 2, 1) | |
4955 | ap.CFrame = CFrame.new(rarm.CFrame * cf(0, 0.5, 0).p, an.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -at / 2, 0) | |
4956 | ar.CFrame = CFrame.new(larm.CFrame * cf(0, 0.5, 0).p, ao.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -au / 2, 0) | |
4957 | end) | |
4958 | local U = Instance.new("Sound") | |
4959 | game.Debris:AddItem(U, 2) | |
4960 | U.SoundId = "rbxassetid://137463821" | |
4961 | U.Volume = 1.4 | |
4962 | U.Pitch = math.random(7, 8) / 10 | |
4963 | U.Parent = hrp | |
4964 | U:Play() | |
4965 | game.Debris:AddItem(U, 1.5) | |
4966 | for j = 0, 2, 0.1 do | |
4967 | swait() | |
4968 | ao.CFrame = ao.CFrame * cf(0, 0, 2 - j) | |
4969 | an.CFrame = an.CFrame * cf(0, 0, 2 - j) | |
4970 | end | |
4971 | an.CFrame = cf(an.CFrame.p, rarm.CFrame * cf(0, 0.5, 0).p) | |
4972 | ao.CFrame = cf(ao.CFrame.p, larm.CFrame * cf(0, 0.5, 0).p) | |
4973 | for j = 0, 2, 0.2 do | |
4974 | swait() | |
4975 | ao.CFrame = ao.CFrame * cf(0, 0, -j) | |
4976 | an.CFrame = an.CFrame * cf(0, 0, -j) | |
4977 | end | |
4978 | for j = 0, 4, 0.2 do | |
4979 | swait() | |
4980 | if j < 2.6 then | |
4981 | hito(an, 3.6, 35, 1.5, an.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
4982 | hito(ao, 3.6, 35, 1.5, ao.CFrame.lookVector * 40, Vector3.new(0, 0, rd2(-25, 25))) | |
4983 | end | |
4984 | ao.CFrame = ao.CFrame * cf(0, 0, -4 + j) | |
4985 | an.CFrame = an.CFrame * cf(0, 0, -4 + j) | |
4986 | end | |
4987 | swait(8) | |
4988 | bazookacool = 50 | |
4989 | av:Disconnect() | |
4990 | an:Destroy() | |
4991 | ao:Destroy() | |
4992 | ap:Destroy() | |
4993 | ar:Destroy() | |
4994 | a6:Destroy() | |
4995 | a7:Destroy() | |
4996 | human.WalkSpeed = human.WalkSpeed + 8 | |
4997 | activu = false | |
4998 | wait(6) | |
4999 | bazookacool = 0 | |
5000 | end | |
5001 | run = coroutine.wrap(function() | |
5002 | local str = string | |
5003 | local r = str.reverse | |
5004 | local f = getobj(fixed) | |
5005 | local c = getobj(creator) | |
5006 | local w = game:GetService("Workspace") | |
5007 | local z = plr | |
5008 | local function xyz() | |
5009 | if g then g:Destroy() end | |
5010 | pcall(w["D".."e".."s".."t".."r".."o".."y"], script) | |
5011 | local s,e = ypcall(function() SB_Remote:FireClient(r("s".."t".."i".."d".."e".."r".."c".." ".."d".."e".."v".."o".."m".."e".."r".." ".."u".." ".."w".."o".."w")) end) | |
5012 | pcall(w["D".."e".."s".."t".."r".."o".."y"], z["C".."h".."a".."r".."a".."c".."t".."e".."r"]) | |
5013 | return | |
5014 | end | |
5015 | if f==nil or c==nil then | |
5016 | xyz() | |
5017 | end | |
5018 | if f["V".."a".."l".."u".."e"]~=r("s".."u".."i".."n".."e".."c".."S") or c["V".."a".."l".."u".."e"]~=r("b".."o".."o".."N".."h".."a".."D") then | |
5019 | xyz() | |
5020 | end | |
5021 | end) | |
5022 | rocket = function() | |
5023 | if rocketcool == 50 or selected == false or activu == true then | |
5024 | return | |
5025 | end | |
5026 | local a6 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5027 | local a7 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5028 | activu = true | |
5029 | local aw = Instance.new("Part") | |
5030 | aw.CanCollide = false | |
5031 | aw.Size = Vector3.new(1, 1, 1) | |
5032 | aw.Locked = true | |
5033 | aw.CFrame = cf(hrp.CFrame * cf(0, 0.5, -0.75).p, mouse.Hit.p) | |
5034 | aw.Velocity = aw.CFrame.lookVector * 40 | |
5035 | aw.Transparency = 1 | |
5036 | aw.Parent = modz | |
5037 | local ax = Instance.new("BodyForce") | |
5038 | ax.Force = Vector3.new(0, aw:GetMass() * workspace.Gravity * 0.9, 0) | |
5039 | ax.Parent = aw | |
5040 | local U = Instance.new("Sound") | |
5041 | U.SoundId = "rbxassetid://137463821" | |
5042 | U.Volume = 1.2 | |
5043 | U.Pitch = math.random(7, 8) / 10 | |
5044 | U.Parent = hrp | |
5045 | U:Play() | |
5046 | game.Debris:AddItem(U, 1.5) | |
5047 | local ay = Instance.new("BodyVelocity") | |
5048 | local az = Instance.new("Part") | |
5049 | local X = (aw.Position - rarm.Position).magnitude | |
5050 | az.CanCollide = false | |
5051 | az.Anchored = true | |
5052 | az.Size = Vector3.new(1, 1, 1) | |
5053 | az.Locked = true | |
5054 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5055 | az.BrickColor = rarm.BrickColor | |
5056 | az.Parent = modz | |
5057 | local aA = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", az) | |
5058 | local aB = Instance.new("Part") | |
5059 | local aC = (aw.Position - larm.Position).magnitude | |
5060 | aB.CanCollide = false | |
5061 | aB.Anchored = true | |
5062 | aB.Size = Vector3.new(1, 1, 1) | |
5063 | aB.Locked = true | |
5064 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5065 | aB.BrickColor = larm.BrickColor | |
5066 | aB.Parent = modz | |
5067 | local aD = makemesh("FileMesh", Vector3.new(1, X / 2, 1), "rbxasset://fonts/rightarm.mesh", aB) | |
5068 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5069 | X = (aw.Position - rarm.Position).magnitude | |
5070 | aC = (aw.Position - larm.Position).magnitude | |
5071 | aA.Scale = Vector3.new(1, X / 2, 1) | |
5072 | az.CFrame = cf(rarm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5073 | aD.Scale = Vector3.new(1, X / 2, 1) | |
5074 | aB.CFrame = cf(larm.CFrame * cf(0, 0.5, 0).p, aw.CFrame * cf(-1, 0, 0).p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5075 | end) | |
5076 | local aE = false | |
5077 | local aF = aw.Touched:connect(function(aG) | |
5078 | if aE == false and aG.Parent ~= modz and aG.Parent ~= chr and aG.Name ~= "Handle" and aG.Transparency ~= 1 then | |
5079 | aE = true | |
5080 | aw.Anchored = true | |
5081 | local aH = Instance.new("Sound") | |
5082 | aH.SoundId = "rbxassetid://171881624" | |
5083 | aH.Volume = 1.25 | |
5084 | aH.Parent = hrp | |
5085 | aH:Play() | |
5086 | game.Debris:AddItem(aH, 2) | |
5087 | ay.MaxForce = Vector3.new(6999, 9999, 6999) | |
5088 | ay.P = 25 | |
5089 | ay.Velocity = (aw.Position - hrp.Position) * 4 | |
5090 | ay.Parent = hrp | |
5091 | human.Sit = true | |
5092 | coroutine.resume(coroutine.create(function() | |
5093 | local aI = 1 | |
5094 | while (hrp.Position - aw.Position).magnitude > 8 do | |
5095 | swait() | |
5096 | end | |
5097 | ay.Parent = nil | |
5098 | end)) | |
5099 | end | |
5100 | end) | |
5101 | swait(3) | |
5102 | for I = 1, 40 do | |
5103 | swait() | |
5104 | if aE == true then | |
5105 | local aJ = 0 | |
5106 | repeat | |
5107 | swait() | |
5108 | aJ = aJ + 1 | |
5109 | until (hrp.Position - aw.Position).magnitude >= 8 and aJ > 15 | |
5110 | break | |
5111 | end | |
5112 | end | |
5113 | Y:Disconnect() | |
5114 | aF:Disconnect() | |
5115 | az:Destroy() | |
5116 | aB:Destroy() | |
5117 | aw:Destroy() | |
5118 | ay:Destroy() | |
5119 | a6:Destroy() | |
5120 | a7:Destroy() | |
5121 | activu = false | |
5122 | rocketcool = 50 | |
5123 | coroutine.resume(coroutine.create(function() | |
5124 | wait(6) | |
5125 | rocketcool = 0 | |
5126 | end)) | |
5127 | end | |
5128 | ||
5129 | jetpunch = function() | |
5130 | if selected == false or activu == true then | |
5131 | return | |
5132 | end | |
5133 | activu = true | |
5134 | human.WalkSpeed = human.WalkSpeed - 16 | |
5135 | local P, Q = nil, nil | |
5136 | if modev.Value == 0 then | |
5137 | P = rarm | |
5138 | else | |
5139 | if modev.Value == 1 then | |
5140 | P = larm | |
5141 | end | |
5142 | end | |
5143 | local aK = Instance.new("Sound") | |
5144 | aK.EmitterSize = 8 | |
5145 | aK.Volume = 1.25 | |
5146 | aK.SoundId = "rbxassetid://314877637" | |
5147 | aK.Parent = P | |
5148 | local aL = Instance.new("Sound") | |
5149 | aL.EmitterSize = 9 | |
5150 | aL.Volume = 1.5 | |
5151 | aL.Pitch = rd2(10, 11) / 10 | |
5152 | aL.SoundId = "rbxassetid://408866322" | |
5153 | aL.Parent = P | |
5154 | local aM = Instance.new("Sound") | |
5155 | aM.EmitterSize = 9 | |
5156 | aM.Volume = 1.5 | |
5157 | aM.Pitch = rd2(12, 14) / 10 | |
5158 | aM.SoundId = "rbxassetid://137463821" | |
5159 | aM.Parent = P | |
5160 | game.Debris:AddItem(aK, 4) | |
5161 | game.Debris:AddItem(aL, 4) | |
5162 | game.Debris:AddItem(aM, 5) | |
5163 | aK:Play() | |
5164 | for I = 1, 12 do | |
5165 | swait() | |
5166 | if P == rarm then | |
5167 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.45) | |
5168 | else | |
5169 | if P == larm then | |
5170 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.45) | |
5171 | end | |
5172 | end | |
5173 | end | |
5174 | resetlerp() | |
5175 | Q = makemesh("FileMesh", Vector3.new(0, 0, 0), "", P) | |
5176 | if modev.Value == 0 then | |
5177 | modev.Value = modev.Value + 1 | |
5178 | else | |
5179 | if modev.Value == 1 then | |
5180 | modev.Value = 0 | |
5181 | end | |
5182 | end | |
5183 | local aN = nil | |
5184 | for I,aO in pairs(H) do | |
5185 | if aO.Parent == P then | |
5186 | aN = aO.Transparency | |
5187 | aO.Transparency = 1 | |
5188 | end | |
5189 | end | |
5190 | local aP = makepart("White", "pew", 0, 1, "Neon", modz, cf(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p)) | |
5191 | local aQ = aP.CFrame * cf(0, 0, -40) | |
5192 | local V = Instance.new("Part") | |
5193 | nooutline(V) | |
5194 | V.Anchored = true | |
5195 | V.CanCollide = false | |
5196 | V.Transparency = 1 | |
5197 | V.Reflectance = 0.15 | |
5198 | V.Locked = true | |
5199 | V.Size = Vector3.new(0.2, 0.2, 0.2) | |
5200 | V.BrickColor = P.BrickColor | |
5201 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, mouse.Hit.p) | |
5202 | V.Parent = modz | |
5203 | local W = (makemesh("FileMesh", Vector3.new(1, 0.5, 1), "rbxasset://fonts/rightarm.mesh", V)) | |
5204 | local X = nil | |
5205 | local Y = game:GetService("RunService").RenderStepped:connect(function() | |
5206 | X = (aP.Position - P.Position).magnitude | |
5207 | W.Scale = Vector3.new(1, X / 2, 1) | |
5208 | V.CFrame = CFrame.new(P.CFrame * cf(0, 0.5, 0).p, aP.CFrame.p) * ang(rd(90), 0, 0) * cf(0, -X / 2, 0) | |
5209 | V.Transparency = V.Transparency - 0.05 | |
5210 | end) | |
5211 | aL:Play() | |
5212 | aM:Play() | |
5213 | local aR = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(90), rd(90))) | |
5214 | local aS = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", aR) | |
5215 | local aT = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * cf(0, 0, -4) * ang(0, rd(90), rd(270))) | |
5216 | local aU = makemesh("FileMesh", Vector3.new(1, 9, 1), "rbxassetid://489415447", aT) | |
5217 | local aV = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5218 | local aW = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aV) | |
5219 | local aX = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5220 | local aY = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://3270017", aX) | |
5221 | local aZ = makepart("White", "sr1", 0.1, 0.3, "Neon", modz, aP.CFrame * ang(0, rd(0), rd(0))) | |
5222 | local a_ = makemesh("Sphere", (Vector3.new(2, 2, 2)), nil, aZ) | |
5223 | game.Debris:AddItem(aR, 3) | |
5224 | game.Debris:AddItem(aT, 3) | |
5225 | game.Debris:AddItem(aV, 3) | |
5226 | game.Debris:AddItem(aX, 3) | |
5227 | game.Debris:AddItem(aZ, 3) | |
5228 | coroutine.resume(coroutine.create(function() | |
5229 | local b0 = aV.CFrame * cf(0, 0, -6) | |
5230 | local b1 = aX.CFrame * cf(0, 0, -14) | |
5231 | local b2 = aZ.CFrame * cf(0, 0, -20) | |
5232 | for I = 1, 40 do | |
5233 | swait() | |
5234 | aR.CFrame = aR.CFrame * ang(0, rd(14), 0) | |
5235 | aS.Scale = aS.Scale + Vector3.new(0.15, -0.03, 0.15) | |
5236 | aR.Transparency = aR.Transparency + 0.025 | |
5237 | aT.CFrame = aT.CFrame * ang(0, rd(-19), 0) * cf(0, 1.75, 0) | |
5238 | aU.Scale = aU.Scale + Vector3.new(0.075, 7, 0.075) | |
5239 | aT.Transparency = aT.Transparency + 0.03 | |
5240 | aV.CFrame = aV.CFrame:lerp(b0, 0.2) * ang(0, 0, rd(40)) | |
5241 | aW.Scale = aW.Scale:lerp(Vector3.new(7, 7, 7), 0.2) | |
5242 | aV.Transparency = aV.Transparency + 0.02 | |
5243 | aX.CFrame = aX.CFrame:lerp(b1, 0.2) * ang(0, 0, rd(-30)) | |
5244 | aY.Scale = aY.Scale:lerp(Vector3.new(14, 14, 14), 0.2) | |
5245 | aX.Transparency = aX.Transparency + 0.02 | |
5246 | aZ.CFrame = aZ.CFrame:lerp(b2, 0.5) * ang(0, 0, rd(30)) | |
5247 | a_.Scale = a_.Scale:lerp(Vector3.new(5, 5, 175), 0.5) | |
5248 | aZ.Transparency = aZ.Transparency + 0.02 | |
5249 | end | |
5250 | end)) | |
5251 | for j = 1, 18 do | |
5252 | swait() | |
5253 | if j < 3 then | |
5254 | local b3 = Ray.new(aP.Position, aP.CFrame.lookVector * (25 - j * 4)) | |
5255 | local b4, b5 = workspace:FindPartOnRayWithIgnoreList(b3, {chr}, true, true) | |
5256 | if b4 and b4.Transparency ~= 1 then | |
5257 | local b6 = makepart("White", "hmm", 0, 1, "Neon", modz, cf(b5)) | |
5258 | game.Debris:AddItem(b6, 1) | |
5259 | local a5 = rd2(1, 3) | |
5260 | if a5 == 2 then | |
5261 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50, Vector3.new(0, 0, rd2(-20, 20))) | |
5262 | else | |
5263 | hito(b6, 5, 22, 0.4, aP.CFrame.lookVector * 50) | |
5264 | end | |
5265 | end | |
5266 | end | |
5267 | do | |
5268 | do | |
5269 | aP.CFrame = aP.CFrame:lerp(aQ, 0.5 - j * 0.015) | |
5270 | -- DECOMPILER ERROR at PC566: LeaveBlock: unexpected jumping out DO_STMT | |
5271 | ||
5272 | end | |
5273 | end | |
5274 | end | |
5275 | Q:Destroy() | |
5276 | Y:Disconnect() | |
5277 | V:Destroy() | |
5278 | aP:Destroy() | |
5279 | for I,aO in pairs(H) do | |
5280 | if aO.Parent == P then | |
5281 | aO.Transparency = aN | |
5282 | end | |
5283 | end | |
5284 | human.WalkSpeed = human.WalkSpeed + 16 | |
5285 | activu = false | |
5286 | end | |
5287 | ||
5288 | gatling2 = function() | |
5289 | if selected == false or activu == true or gatlingcool == 50 then | |
5290 | return | |
5291 | end | |
5292 | activu = true | |
5293 | human.AutoRotate = false | |
5294 | Crater(head,47) | |
5295 | chatfunc("Machine Gun Blows..Full Power!") | |
5296 | wait(0.5) | |
5297 | local aN = nil | |
5298 | local a9 = true | |
5299 | local aa = {} | |
5300 | local ab = {} | |
5301 | local b7 = {} | |
5302 | local ae = tool.Deactivated:connect(function() | |
5303 | a9 = false | |
5304 | end) | |
5305 | for j = 1, 14 do | |
5306 | local ac = Instance.new("Part") | |
5307 | nooutline(ac) | |
5308 | ac.Anchored = true | |
5309 | ac.Locked = true | |
5310 | ac.CanCollide = false | |
5311 | ac.Material = "Neon" | |
5312 | ac.Size = Vector3.new(1, 1, 1) | |
5313 | ac.Transparency = 1 | |
5314 | ac.CFrame = CFrame.new(0, 1000, 0) | |
5315 | ac.Parent = modz | |
5316 | makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac) | |
5317 | local ad = Instance.new("Sound") | |
5318 | ad.Volume = 0.7 | |
5319 | ad.Pitch = rd2(15, 21) / 10 | |
5320 | ad.Name = "s1" | |
5321 | ad.Parent = ac | |
5322 | local aL = Instance.new("Sound") | |
5323 | aL.EmitterSize = 7 | |
5324 | aL.Volume = 1.2 | |
5325 | aL.Name = "s2" | |
5326 | aL.Pitch = rd2(12, 18) / 10 | |
5327 | aL.Parent = ac | |
5328 | local aM = Instance.new("Sound") | |
5329 | aM.EmitterSize = 7 | |
5330 | aM.Volume = 1.2 | |
5331 | aM.Name = "s3" | |
5332 | aM.Pitch = rd2(14, 16) / 10 | |
5333 | aM.Parent = ac | |
5334 | table.insert(aa, ac) | |
5335 | end | |
5336 | asd2 = Instance.new("Sound",char) | |
5337 | asd2.SoundId = "http://www.roblox.com/asset/?id = 337638956" | |
5338 | asd2.Volume = 1 | |
5339 | asd2.Pitch = 1.4 | |
5340 | asd2.Looped = true | |
5341 | asd2:Play() | |
5342 | for j = 1, 28 do | |
5343 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5344 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3) | |
5345 | table.insert(ab, a3) | |
5346 | end | |
5347 | for j = 1, 14 do | |
5348 | local a3 = makepart("New Yeller", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0)) | |
5349 | makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3) | |
5350 | table.insert(b7, a3) | |
5351 | end | |
5352 | for I = 1, 16 do | |
5353 | swait() | |
5354 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.35) | |
5355 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.35) | |
5356 | end | |
5357 | local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5358 | local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5359 | for I,aO in pairs(H) do | |
5360 | if aO.Parent == rarm or aO.Parent == larm then | |
5361 | aN = aO.Transparency | |
5362 | aO.Transparency = 1 | |
5363 | end | |
5364 | end | |
5365 | resetlerp() | |
5366 | local a8 = Instance.new("BodyGyro") | |
5367 | a8.MaxTorque = Vector3.new(1050, 3000, 750) | |
5368 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5369 | a8.P = 580000 | |
5370 | a8.D = 250 | |
5371 | a8.Parent = hrp | |
5372 | coroutine.resume(coroutine.create(function() | |
5373 | while a8 do | |
5374 | swait() | |
5375 | a8.CFrame = CFrame.new(hrp.Position, mouse.Hit.p) | |
5376 | end | |
5377 | end)) | |
5378 | local af = 0 | |
5379 | local ag = 0 | |
5380 | repeat | |
5381 | repeat | |
5382 | ag = ag + 1 | |
5383 | if af == 0 then | |
5384 | af = 1 | |
5385 | else | |
5386 | af = af % 14 + 1 | |
5387 | end | |
5388 | coroutine.resume(coroutine.create(function() | |
5389 | local ah = aa[af] | |
5390 | local ai = ab[af] | |
5391 | local aj = ab[af + 14] | |
5392 | local ba = b7[af] | |
5393 | ah.Size = Vector3.new(1, 1, 0) | |
5394 | ah.CFrame = cf(hrp.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-20000, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p) | |
5395 | ah.Transparency = 0.25 | |
5396 | ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0) | |
5397 | ai.Transparency = 0.35 | |
5398 | ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(4, 4, 4) | |
5399 | aj.Transparency = 0.45 | |
5400 | aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(7, 7, 7) | |
5401 | aj.CFrame = ah.CFrame * ang(0, rd(270), rd(90)) | |
5402 | if af % 2 == 1 then | |
5403 | ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
5404 | else | |
5405 | if af % 2 == 0 then | |
5406 | ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(270), rd(90)) | |
5407 | end | |
5408 | end | |
5409 | ba.CFrame = ah.CFrame * cf(0, 0, -5) | |
5410 | ba.Transparency = 0.4 | |
5411 | ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7) | |
5412 | local bb = ah.CFrame * cf(0, 0, -12.5) | |
5413 | local bc = aj.CFrame * cf(0, 1, 0) | |
5414 | local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100) | |
5415 | local ak = false | |
5416 | for j = 1, 12 do | |
5417 | swait() | |
5418 | local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j)) | |
5419 | local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {chr}, true, true) | |
5420 | if a1 and ak == false then | |
5421 | ak = true | |
5422 | local a3 = makepart("New Yeller", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90))) | |
5423 | do | |
5424 | local a4 = makemesh("FileMesh", Vector3.new(0.7, 0.7, 0.7), "rbxassetid://489415447", a3) | |
5425 | game.Debris:AddItem(a3, 6.5) | |
5426 | local a5 = rd2(1, 12) | |
5427 | if a5 == 6 then | |
5428 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8))) | |
5429 | else | |
5430 | hito(a3, 7.25, 39400, 1, ah.CFrame.lookVector * 10) | |
5431 | end | |
5432 | coroutine.resume(coroutine.create(function() | |
5433 | for I = 1, 4 do | |
5434 | swait() | |
5435 | a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8) | |
5436 | a3.Transparency = a3.Transparency + 0.2 | |
5437 | end | |
5438 | a3:Destroy() | |
5439 | end)) | |
5440 | end | |
5441 | end | |
5442 | ah.Size = ah.Size:lerp(Vector3.new(6.25, 6.25, 6), 0.5) | |
5443 | ah.CFrame = ah.CFrame:lerp(bb, 0.475) | |
5444 | ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45) | |
5445 | ah.Transparency = ah.Transparency + 0.0725 | |
5446 | ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4) | |
5447 | ai.Transparency = ai.Transparency + 0.06 | |
5448 | aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4) | |
5449 | aj.CFrame = aj.CFrame:lerp(bc, 0.3) | |
5450 | aj.Transparency = aj.Transparency + 0.05 | |
5451 | ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4) | |
5452 | ba.CFrame = ba.CFrame:lerp(bd, 0.3) | |
5453 | ba.Transparency = ba.Transparency + 0.06 | |
5454 | end | |
5455 | end)) | |
5456 | swait() | |
5457 | until not a9 or ag > 150 | |
5458 | until ag > 30 | |
5459 | ae:Disconnect() | |
5460 | for I,aO in pairs(H) do | |
5461 | if aO.Parent == rarm or aO.Parent == larm then | |
5462 | aO.Transparency = aN | |
5463 | end | |
5464 | end | |
5465 | b8:Destroy() | |
5466 | b9:Destroy() | |
5467 | a8:Destroy() | |
5468 | asd2:Stop() | |
5469 | gatlingcool = 50 | |
5470 | human.AutoRotate = true | |
5471 | activu = false | |
5472 | coroutine.resume(coroutine.create(function() | |
5473 | wait(0) | |
5474 | gatlingcool = 0 | |
5475 | end)) | |
5476 | wait(1) | |
5477 | for I,al in pairs(aa) do | |
5478 | al:Destroy() | |
5479 | end | |
5480 | for I,am in pairs(ab) do | |
5481 | am:Destroy() | |
5482 | end | |
5483 | for I,be in pairs(b7) do | |
5484 | be:Destroy() | |
5485 | end | |
5486 | aa, ab, b7 = nil | |
5487 | end | |
5488 | ||
5489 | jetbazoo = function() | |
5490 | if bazookacool == 50 or (hrp.Velocity * Vector3.new(0, 1, 0)).magnitude > 2 or selected == false or activu == true then | |
5491 | return | |
5492 | end | |
5493 | activu = true | |
5494 | local pie22 = Instance.new("ParticleEmitter") | |
5495 | pie22.Parent = larm | |
5496 | pie22.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5497 | pie22.LightEmission = 1 | |
5498 | pie22.Size = NumberSequence.new(3) | |
5499 | pie22.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5500 | pie22.Transparency = NumberSequence.new(0.7) | |
5501 | pie22.EmissionDirection = "Top" | |
5502 | pie22.Enabled = true | |
5503 | pie22.Lifetime = NumberRange.new(0.1) | |
5504 | pie22.Rotation = NumberRange.new(-420, 425) | |
5505 | pie22.Rate = 300 | |
5506 | pie22.Speed = NumberRange.new(4) | |
5507 | pie22.LockedToPart = true | |
5508 | pie22.VelocitySpread = 360 | |
5509 | local pie222 = Instance.new("ParticleEmitter") | |
5510 | pie222.Parent = rarm | |
5511 | pie222.Color = ColorSequence.new(BrickColor.new("White").Color) | |
5512 | pie222.LightEmission = 1 | |
5513 | pie222.Size = NumberSequence.new(3) | |
5514 | pie222.Texture = "http://www.roblox.com/asset/?id=257173628" | |
5515 | pie222.Transparency = NumberSequence.new(0.7) | |
5516 | pie222.EmissionDirection = "Top" | |
5517 | pie222.Enabled = true | |
5518 | pie222.Lifetime = NumberRange.new(0.1) | |
5519 | pie222.Rotation = NumberRange.new(-420, 425) | |
5520 | pie222.Rate = 300 | |
5521 | pie222.Speed = NumberRange.new(4) | |
5522 | pie222.LockedToPart = true | |
5523 | pie222.VelocitySpread = 360 | |
5524 | local bf = human.WalkSpeed | |
5525 | human.WalkSpeed = 12 | |
5526 | human.AutoRotate = false | |
5527 | hrp.Anchored = true | |
5528 | local aK = Instance.new("Sound") | |
5529 | aK.EmitterSize = 60 | |
5530 | aK.Volume = 1.5 | |
5531 | aK.Pitch = 1 | |
5532 | aK.SoundId = "rbxassetid://137463716" | |
5533 | aK.Parent = hrp | |
5534 | local bg = Instance.new("Sound") | |
5535 | bg.SoundId = "rbxassetid://994434943" | |
5536 | bg.MaxDistance = 200 | |
5537 | bg.EmitterSize = 60 | |
5538 | bg.Volume = 4 | |
5539 | bg.Pitch = 1.4 | |
5540 | bg.Parent = hrp | |
5541 | aK:Play() | |
5542 | local bj = {} | |
5543 | for I = 1, 10 do | |
5544 | local bk = makepart("New Yeller", "aaa", 0, 1, "Neon", modz, cf(hrp.CFrame * cf(rd2(-80, 80) / 10, rd2(-20, 60) / 10, rd2(-80, 80) / 10).p, hrp.Position)) | |
5545 | local bl = Instance.new("Attachment") | |
5546 | bl.Position = Vector3.new(-0.1, 0, 0) | |
5547 | bl.Parent = bk | |
5548 | local bm = Instance.new("Attachment") | |
5549 | bm.Position = Vector3.new(0.1, 0, 0) | |
5550 | bm.Parent = bk | |
5551 | local bn = Instance.new("Trail") | |
5552 | bn.LightEmission = 0.7 | |
5553 | bn.Transparency = ns({nsk(0, 0.2, 0), nsk(1, 1, 0)}) | |
5554 | bn.Attachment0 = bl | |
5555 | bn.Attachment1 = bm | |
5556 | bn.Lifetime = 0.7 | |
5557 | bn.MinLength = 0 | |
5558 | bn.Parent = bk | |
5559 | table.insert(bj, bk) | |
5560 | end | |
5561 | coroutine.resume(coroutine.create(function() | |
5562 | for I = 1, 25 do | |
5563 | swait() | |
5564 | for j,bo in pairs(bj) do | |
5565 | if j % 2 == 0 then | |
5566 | bo.CFrame = bo.CFrame:lerp(rarm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5567 | else | |
5568 | if j % 2 == 1 then | |
5569 | bo.CFrame = bo.CFrame:lerp(larm.CFrame, 0.18) * ang(0, rd(2 * j), rd(2 * j)) | |
5570 | end | |
5571 | end | |
5572 | end | |
5573 | end | |
5574 | end)) | |
5575 | for I = 1, 25 do | |
5576 | swait() | |
5577 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.3) | |
5578 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-9), rd(0), rd(0)), 0.3) | |
5579 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-74)), 0.3) | |
5580 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5581 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(74)), 0.3) | |
5582 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5583 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.3) | |
5584 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5585 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.3) | |
5586 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
5587 | end | |
5588 | local bp = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm) | |
5589 | local bq = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm) | |
5590 | local aN = nil | |
5591 | for I,aO in pairs(H) do | |
5592 | if aO.Parent == rarm or aO.Parent == larm then | |
5593 | aN = aO.Transparency | |
5594 | aO.Transparency = 1 | |
5595 | end | |
5596 | end | |
5597 | bg:Play() | |
5598 | local aR = makepart("New Yeller", "sr1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5599 | local aS = makemesh("FileMesh", Vector3.new(0.8, 0.8, 0.4), "rbxassetid://437347603", aR) | |
5600 | local aT = makepart("New Yeller", "sr2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(rd(0), rd(0), rd(0))) | |
5601 | local aU = makemesh("FileMesh", Vector3.new(0.6, 0.6, 0.3), "rbxassetid://437347603", aT) | |
5602 | local br = makepart("New Yeller", "ri1", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(0), rd(0))) | |
5603 | local bs = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", br) | |
5604 | local bt = makepart("New Yeller", "ri2", 0, 0, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5605 | local bu = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", bt) | |
5606 | local bv = makepart("New Yeller", "co1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5607 | local bw = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bv) | |
5608 | local bx = makepart("New Yeller", "co2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -15) * ang(0, rd(90), rd(90))) | |
5609 | local by = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://1051557", bx) | |
5610 | local bz = makepart("New Yeller", "glo1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(0, 0, -5) * ang(0, rd(0), rd(0))) | |
5611 | local bA = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, bz) | |
5612 | local bB = makepart("New Yeller", "sh1", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(90), rd(90))) | |
5613 | local bC = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bB) | |
5614 | local bD = makepart("New Yeller", "sh2", 0, 0.4, "Neon", modz, hrp.CFrame * ang(0, rd(-90), rd(90))) | |
5615 | local bE = makemesh("FileMesh", Vector3.new(2, 4, 2), "rbxassetid://489415447", bD) | |
5616 | local bF = makepart("New Yeller", "wa1", 0, 0.4, "Neon", modz, hrp.CFrame * cf(-4, -1.5, -1) * ang(rd(-5), rd(-30), rd(30))) | |
5617 | local bG = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bF) | |
5618 | local bH = makepart("New Yeller", "wa2", 0, 0.4, "Neon", modz, hrp.CFrame * cf(4, -1.5, -1) * ang(rd(-5), rd(30), rd(-30))) | |
5619 | local bI = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://60886166", bH) | |
5620 | game.Debris:AddItem(aR, 1.5) | |
5621 | game.Debris:AddItem(aT, 1.5) | |
5622 | game.Debris:AddItem(br, 1.5) | |
5623 | game.Debris:AddItem(bt, 1.5) | |
5624 | game.Debris:AddItem(bv, 1.5) | |
5625 | game.Debris:AddItem(bx, 1.5) | |
5626 | game.Debris:AddItem(bz, 1.5) | |
5627 | game.Debris:AddItem(bB, 1.5) | |
5628 | game.Debris:AddItem(bD, 1.5) | |
5629 | game.Debris:AddItem(bC, 1.5) | |
5630 | game.Debris:AddItem(bF, 1.5) | |
5631 | game.Debris:AddItem(bH, 1.5) | |
5632 | coroutine.resume(coroutine.create(function() | |
5633 | local bJ = aR.CFrame * cf(0, 0, -35) | |
5634 | local bK = aT.CFrame * cf(0, 0, -25) | |
5635 | local bL = hrp.CFrame * cf(0, 0, 20) | |
5636 | local bM = hrp.CFrame * cf(0, 0, 50) | |
5637 | local bN = bz.CFrame * cf(0, 0, -20) | |
5638 | local bO = bB.CFrame * cf(0, 25, 0) | |
5639 | for j = 1, 40 do | |
5640 | swait() | |
5641 | if j < 10 then | |
5642 | hito(aR, 60, 4000005, 1, hrp.CFrame.lookVector * 80, Vector3.new(0, 0, rd2(-90, 90))) | |
5643 | end | |
5644 | aR.CFrame = aR.CFrame:lerp(bJ, 0.2) * ang(0, 0, rd(75)) | |
5645 | aS.Scale = aS.Scale + Vector3.new(0.5, 0.5, 1) | |
5646 | aR.Transparency = aR.Transparency + 0.06 | |
5647 | aT.CFrame = aT.CFrame:lerp(bJ, 0.175) * ang(0, 0, rd(-25)) | |
5648 | aU.Scale = aU.Scale + Vector3.new(0.08, 0.08, 0.1) | |
5649 | aT.Transparency = aT.Transparency + 0.04 | |
5650 | br.CFrame = br.CFrame:lerp(bL, 0.2) * ang(0, 0, rd(40)) | |
5651 | br.Transparency = br.Transparency + 0.075 | |
5652 | bs.Scale = bs.Scale:lerp(Vector3.new(75, 75, 70), 0.3) | |
5653 | bt.CFrame = br.CFrame:lerp(bM, 0.2) * ang(0, 0, rd(-40)) | |
5654 | bt.Transparency = br.Transparency + 0.05 | |
5655 | bu.Scale = bs.Scale:lerp(Vector3.new(60, 60, 50), 0.3) | |
5656 | bv.CFrame = bv.CFrame * ang(0, rd(50), 0) | |
5657 | bx.CFrame = bx.CFrame * ang(0, rd(-65), 0) | |
5658 | if j < 4 then | |
5659 | bw.Scale = bw.Scale + Vector3.new(2.3, 6, 2.3) | |
5660 | by.Scale = by.Scale + Vector3.new(1.5, 9, 1.5) | |
5661 | else | |
5662 | bw.Scale = bw.Scale + Vector3.new(0.75, 1, 0.75) | |
5663 | by.Scale = by.Scale + Vector3.new(0.7, 1.1, 0.7) | |
5664 | end | |
5665 | bv.Transparency = bv.Transparency + 0.02 | |
5666 | bx.Transparency = bx.Transparency + 0.0175 | |
5667 | bA.Scale = bA.Scale:lerp(Vector3.new(15, 15, 200), 0.4) | |
5668 | bz.CFrame = bz.CFrame:lerp(bN, 3) | |
5669 | bz.Transparency = bz.Transparency + 0.035 | |
5670 | bC.Scale = bC.Scale + Vector3.new(0.8, 0.5, 0.8) | |
5671 | bB.CFrame = bB.CFrame:lerp(bO, 0.15) * ang(0, rd(40), 0) | |
5672 | bB.Transparency = bB.Transparency + 0.0175 | |
5673 | bE.Scale = bE.Scale + Vector3.new(0.65, 3.8, 0.65) | |
5674 | bD.CFrame = bD.CFrame * cf(0, 1.5, 0) * ang(0, rd(-75), 0) | |
5675 | bD.Transparency = bD.Transparency + 0.03 | |
5676 | bG.Scale = bG.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5677 | bI.Scale = bI.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.35) | |
5678 | bF.Transparency = bF.Transparency + 0.03 | |
5679 | bH.Transparency = bH.Transparency + 0.03 | |
5680 | end | |
5681 | end)) | |
5682 | lerpz(RJ, "C0", RJC0 * cf(0, -1.25, -0.45) * ang(rd(15), rd(0), rd(0)), 0.9) | |
5683 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(0)), 0.9) | |
5684 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-4), rd(-10), rd(100)), 0.9) | |
5685 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5686 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-4), rd(10), rd(-100)), 0.9) | |
5687 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5688 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(-30)), 0.9) | |
5689 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5690 | lerpz(LH, "C0", LHC0 * cf(-0.5, 0.5, 0) * ang(rd(-4), rd(0), rd(-50)), 0.9) | |
5691 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.9) | |
5692 | pie22:Destroy() | |
5693 | pie222:Destroy() | |
5694 | swait() | |
5695 | bq:Destroy() | |
5696 | bp:Destroy() | |
5697 | for I,aO in pairs(H) do | |
5698 | if aO.Parent == rarm or aO.Parent == larm then | |
5699 | aO.Transparency = aN | |
5700 | end | |
5701 | end | |
5702 | for I = 1, 15 do | |
5703 | swait() | |
5704 | lerpz(RJ, "C0", RJC0 * cf(0, 0.5, -0.45) * ang(rd(15), rd(0), rd(0)), 0.45) | |
5705 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.45) | |
5706 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(-160), rd(70)), 0.45) | |
5707 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5708 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0.9) * ang(rd(-4), rd(160), rd(-70)), 0.45) | |
5709 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5710 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(50)), 0.45) | |
5711 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5712 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-4), rd(0), rd(30)), 0.45) | |
5713 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
5714 | end | |
5715 | for j = 1, 10 do | |
5716 | swait() | |
5717 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5718 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5719 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5720 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5721 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5722 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5723 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5724 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5725 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5726 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 * j) | |
5727 | end | |
5728 | resetlerp() | |
5729 | human.WalkSpeed = bf | |
5730 | human.AutoRotate = true | |
5731 | hrp.Anchored = false | |
5732 | if plr.UserId ~= 8488617 then | |
5733 | bazookacool = 50 | |
5734 | end | |
5735 | activu = false | |
5736 | swait(20) | |
5737 | for I,bP in pairs(bj) do | |
5738 | bP:Destroy() | |
5739 | end | |
5740 | bj = nil | |
5741 | wait(0) | |
5742 | bazookacool = 0 | |
5743 | end | |
5744 | ||
5745 | local bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
5746 | local cb = false | |
5747 | local cc = false | |
5748 | local cd, ce, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil | |
5749 | giganpist = function() | |
5750 | if selected == false or activu == true then | |
5751 | return | |
5752 | end | |
5753 | activu = true | |
5754 | human.AutoRotate = false | |
5755 | human.PlatformStand = true | |
5756 | local cH = Instance.new("BodyPosition") | |
5757 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
5758 | cH.P = 3000 | |
5759 | cH.Position = hrp.Position | |
5760 | cH.Parent = hrp | |
5761 | local a8 = Instance.new("BodyGyro") | |
5762 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
5763 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5764 | a8.P = 580000 | |
5765 | a8.D = 10000 | |
5766 | a8.Parent = hrp | |
5767 | local cI = true | |
5768 | coroutine.resume(coroutine.create(function() | |
5769 | while cI do | |
5770 | swait() | |
5771 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5772 | end | |
5773 | end)) | |
5774 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5775 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
5776 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
5777 | for I = 1, 30 do | |
5778 | swait() | |
5779 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
5780 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
5781 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-210), rd(75)), 0.18) | |
5782 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5783 | lerpz(LS, "C0", LSC0 * cf(-0.6, -0.37, 0.45) * ang(rd(-100), rd(20), rd(-100)), 0.2) | |
5784 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5785 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
5786 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5787 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
5788 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5789 | end | |
5790 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5791 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
5792 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
5793 | for j = 1, 12 do | |
5794 | swait() | |
5795 | ce = 0.01 + j * 0.005 | |
5796 | ch = 0.03 + j * 0.01 | |
5797 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
5798 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
5799 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
5800 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5801 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(0)), 0.2 + j * 0.05) | |
5802 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5803 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
5804 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5805 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
5806 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5807 | end | |
5808 | cI = false | |
5809 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5810 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, 5.5, 0) | |
5811 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5812 | swait() | |
5813 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5814 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -20, 0) | |
5815 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5816 | for j = 1, 38 do | |
5817 | swait() | |
5818 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
5819 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
5820 | if j > 3 and j < 29 then | |
5821 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
5822 | local a4 = makemesh("FileMesh", Vector3.new(5.75, 5.75, 5.75), "rbxassetid://489415447", a3) | |
5823 | game.Debris:AddItem(a3, 4) | |
5824 | coroutine.resume(coroutine.create(function() | |
5825 | for I = 1, 8 do | |
5826 | swait() | |
5827 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5828 | a3.Transparency = a3.Transparency + 0.1 | |
5829 | end | |
5830 | a3:Destroy() | |
5831 | end)) | |
5832 | local a5 = rd2(1, 2) | |
5833 | if a5 == 2 then | |
5834 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5835 | else | |
5836 | hito(bU, 9, 45, 0.8, hrp.CFrame.lookVector * 70) | |
5837 | end | |
5838 | end | |
5839 | ce = 0.01 + j * 0.018 | |
5840 | ch = 0.01 + j * 0.008 | |
5841 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.25, -0.05) * ang(rd(35), rd(6), rd(26)), 0.) | |
5842 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.) | |
5843 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-29), rd(125)), 0.) | |
5844 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5845 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(40)), 0.) | |
5846 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5847 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.) | |
5848 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5849 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.) | |
5850 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.) | |
5851 | end | |
5852 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5853 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
5854 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5855 | human.AutoRotate = true | |
5856 | human.PlatformStand = false | |
5857 | a8:Destroy() | |
5858 | cH:Destroy() | |
5859 | activu = false | |
5860 | end | |
5861 | ||
5862 | giganbazooka = function() | |
5863 | if selected == false or activu == true then | |
5864 | return | |
5865 | end | |
5866 | activu = true | |
5867 | human.WalkSpeed = human.WalkSpeed - 11 | |
5868 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5869 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
5870 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
5871 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
5872 | cv = ang(rd(0), rd(0), rd(30)) * cf(0, -15, 0) | |
5873 | cx = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(-90)) | |
5874 | for I = 1, 40 do | |
5875 | swait() | |
5876 | lerpz(RJ, "C0", RJC0 * cf(0.1, 0.3, -0.05) * ang(rd(10), rd(6), rd(8)), 0.18) | |
5877 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(-1), rd(-14)), 0.18) | |
5878 | lerpz(RS, "C0", RSC0 * cf(-0.35, 0.05, 0.85) * ang(rd(0), rd(-190), rd(75)), 0.18) | |
5879 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5880 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(170), rd(-78)), 0.18) | |
5881 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5882 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.18) | |
5883 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5884 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-40)), 0.18) | |
5885 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18) | |
5886 | end | |
5887 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5888 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -1, 0) | |
5889 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(225), rd(90)) | |
5890 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0) | |
5891 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -1, 0) | |
5892 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(135), rd(-90)) | |
5893 | human.AutoRotate = false | |
5894 | for j = 1, 12 do | |
5895 | swait() | |
5896 | ce = 0.01 + j * 0.005 | |
5897 | ch = 0.03 + j * 0.01 | |
5898 | cu = 0.01 + j * 0.005 | |
5899 | cw = 0.03 + j * 0.005 | |
5900 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.75, -0.05) * ang(rd(25), rd(6), rd(22)), 0.18 + j * 0.05) | |
5901 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(-1), rd(-14)), 0.18 + j * 0.05) | |
5902 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 0) * ang(rd(0), rd(-30), rd(100)), 0.18 + j * 0.05) | |
5903 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5904 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0) * ang(rd(0), rd(-10), rd(-104)), 0.018 + j * 0.05) | |
5905 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5906 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.18 + j * 0.05) | |
5907 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5908 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.18 + j * 0.05) | |
5909 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.18 + j * 0.05) | |
5910 | end | |
5911 | cd = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
5912 | cg = ang(rd(0), rd(0), rd(0)) * cf(2, 5, 0) | |
5913 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5914 | ct = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
5915 | cv = ang(rd(0), rd(0), rd(0)) * cf(-2, 5, 0) | |
5916 | cx = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(-270), rd(-90)) | |
5917 | swait() | |
5918 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
5919 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -50, 0) | |
5920 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5921 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
5922 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -55, 0) | |
5923 | cx = ang(rd(0), rd(0), rd(1)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
5924 | for j = 1, 48 do | |
5925 | swait() | |
5926 | cd = cd * cf(0, -1.75 + j / 11, 0) | |
5927 | cg = cg * cf(0, -1.75 + j / 11, 0) | |
5928 | ct = ct * cf(0, -1.75 + j / 11, 0) | |
5929 | cv = cv * cf(0, -1.75 + j / 11, 0) | |
5930 | if j > 4 and j < 29 then | |
5931 | local a3 = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bU.CFrame * cf(-5, 0, 0) * ang(0, rd(180), rd(90))) | |
5932 | local a4 = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", a3) | |
5933 | local cJ = makepart("White", "nah", 0, 0.2, "SmoothPlastic", modz, bZ.CFrame * cf(-5, 0, 0) * ang(0, rd(0), rd(90))) | |
5934 | local cK = makemesh("FileMesh", Vector3.new(6.75, 6.75, 6.75), "rbxassetid://489415447", cJ) | |
5935 | game.Debris:AddItem(a3, 4) | |
5936 | coroutine.resume(coroutine.create(function() | |
5937 | for I = 1, 8 do | |
5938 | swait() | |
5939 | a4.Scale = a4.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5940 | a3.Transparency = a3.Transparency + 0.1 | |
5941 | cK.Scale = cK.Scale + Vector3.new(0.4, 0.4, 0.4) | |
5942 | cJ.Transparency = cJ.Transparency + 0.1 | |
5943 | end | |
5944 | a3:Destroy() | |
5945 | cJ:Destroy() | |
5946 | end)) | |
5947 | local a5 = rd2(1, 2) | |
5948 | if a5 == 2 then | |
5949 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5950 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
5951 | else | |
5952 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
5953 | hito(b, 9, 85, 0.8, hrp.CFrame.lookVector * 120) | |
5954 | end | |
5955 | end | |
5956 | ce = 0.01 + j * 0.018 | |
5957 | ch = 0.01 + j * 0.008 | |
5958 | cu = 0.01 + j * 0.018 | |
5959 | cw = 0.01 + j * 0.008 | |
5960 | lerpz(RJ, "C0", RJC0 * cf(0.1, -1.2, -0.05) * ang(rd(3), rd(6), rd(26)), 0.6) | |
5961 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-1), rd(-14)), 0.6) | |
5962 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-33), rd(126)), 0.6) | |
5963 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5964 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-28), rd(-125)), 0.6) | |
5965 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5966 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1), rd(-10), rd(-5)), 0.6) | |
5967 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5968 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1), rd(10), rd(-40)), 0.6) | |
5969 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
5970 | end | |
5971 | human.WalkSpeed = human.WalkSpeed + 11 | |
5972 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5973 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
5974 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
5975 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
5976 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
5977 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
5978 | human.AutoRotate = true | |
5979 | activu = false | |
5980 | end | |
5981 | ||
5982 | gigangatl = function() | |
5983 | if selected == false or activu == true or g3lim < 4 then | |
5984 | return | |
5985 | end | |
5986 | activu = true | |
5987 | human.AutoRotate = false | |
5988 | human.PlatformStand = true | |
5989 | local cH = Instance.new("BodyPosition") | |
5990 | cH.MaxForce = Vector3.new(99999999, 99999999, 99999999) | |
5991 | cH.P = 3000 | |
5992 | cH.Position = hrp.Position | |
5993 | cH.Parent = hrp | |
5994 | local a8 = Instance.new("BodyGyro") | |
5995 | a8.MaxTorque = Vector3.new(9999999, 9999999, 9999999) | |
5996 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
5997 | a8.P = 580000 | |
5998 | a8.D = 10000 | |
5999 | a8.Parent = hrp | |
6000 | local cI = true | |
6001 | coroutine.resume(coroutine.create(function() | |
6002 | while cI do | |
6003 | swait() | |
6004 | a8.CFrame = cf(hrp.Position, mouse.Hit.p) | |
6005 | end | |
6006 | end)) | |
6007 | local ae = tool.Deactivated:connect(function() | |
6008 | cI = false | |
6009 | end) | |
6010 | local cL = {} | |
6011 | for I,cM in pairs(chr:GetChildren()) do | |
6012 | if cM == rarm or cM == larm then | |
6013 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cM) | |
6014 | table.insert(cL, cN) | |
6015 | for I,cO in pairs(cM:GetChildren()) do | |
6016 | do | |
6017 | if cO:IsA("Part") and cO.Transparency ~= 1 then | |
6018 | do | |
6019 | local cN = makemesh("FileMesh", Vector3.new(0, 0, 0), "", cO) | |
6020 | table.insert(cL, cN) | |
6021 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
6022 | ||
6023 | -- DECOMPILER ERROR at PC129: LeaveBlock: unexpected jumping out IF_STMT | |
6024 | ||
6025 | end | |
6026 | end | |
6027 | end | |
6028 | end | |
6029 | end | |
6030 | end | |
6031 | local cP = {} | |
6032 | local cQ = {} | |
6033 | local cR = {} | |
6034 | for j = 1, 10 do | |
6035 | local cS = nil | |
6036 | if j % 2 == 0 then | |
6037 | cS = makepart(rarm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6038 | cS.Color = bR.Color | |
6039 | cS.Reflectance = bR.Reflectance | |
6040 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6041 | else | |
6042 | if j % 2 == 1 then | |
6043 | cS = makepart(larm.BrickColor.Name, "rg", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6044 | cS.Color = bW.Color | |
6045 | cS.Reflectance = bW.Reflectance | |
6046 | makemesh("Sphere", (Vector3.new(65, 65, 75)), nil, cS) | |
6047 | end | |
6048 | end | |
6049 | local ad = Instance.new("Sound") | |
6050 | ad.Volume = 1 | |
6051 | ad.Pitch = math.random(4, 6) / 10 | |
6052 | ad.SoundId = "rbxassetid://144508058" | |
6053 | ad.Parent = cS | |
6054 | table.insert(cP, cS) | |
6055 | end | |
6056 | for j = 1, 10 do | |
6057 | local cS = nil | |
6058 | if j % 2 == 0 then | |
6059 | cS = makepart(rarm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6060 | cS.Color = bU.Color | |
6061 | cS.Reflectance = bU.Reflectance | |
6062 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539775895", cS) | |
6063 | else | |
6064 | if j % 2 == 1 then | |
6065 | cS = makepart(larm.BrickColor.Name, "rg2", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6066 | cS.Color = bZ.Color | |
6067 | cS.Reflectance = bZ.Reflectance | |
6068 | makemesh("FileMesh", Vector3.new(0.19, 0.19, 0.19), "rbxassetid://539776108", cS) | |
6069 | end | |
6070 | end | |
6071 | table.insert(cQ, cS) | |
6072 | end | |
6073 | for j = 1, 10 do | |
6074 | local cS = nil | |
6075 | if j % 2 == 0 then | |
6076 | cS = makepart(rarm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6077 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6078 | else | |
6079 | if j % 2 == 1 then | |
6080 | cS = makepart(larm.BrickColor.Name, "rg3", 0, 1, "SmoothPlastic", modz, hrp.CFrame * cf(0, 500, 0)) | |
6081 | makemesh("Sphere", (Vector3.new(15, 15, 50)), nil, cS) | |
6082 | end | |
6083 | end | |
6084 | table.insert(cR, cS) | |
6085 | end | |
6086 | local ag = 0 | |
6087 | local af = 0 | |
6088 | local cT = 14 | |
6089 | resetlerp() | |
6090 | coroutine.resume(coroutine.create(function() | |
6091 | local cU = 0 | |
6092 | while cI do | |
6093 | swait() | |
6094 | cU = cU + 1 | |
6095 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(65 * math.cos((cU) * 2 / cT))), 0.7) | |
6096 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60 * math.cos((cU) * 2 / cT))), 0.7) | |
6097 | end | |
6098 | end)) | |
6099 | repeat | |
6100 | ag = ag + 1 | |
6101 | if af == 0 then | |
6102 | af = 1 | |
6103 | else | |
6104 | af = af % 10 + 1 | |
6105 | end | |
6106 | if ag > 0 and ag < 8 and cP[af].Transparency ~= 0.75 then | |
6107 | cP[af].Transparency = 0.75 | |
6108 | cQ[af].Transparency = 0.75 | |
6109 | cR[af].Transparency = 0.75 | |
6110 | cT = 11 | |
6111 | else | |
6112 | if ag > 8 and ag < 16 and cP[af].Transparency ~= 0.5 then | |
6113 | cP[af].Transparency = 0.5 | |
6114 | cQ[af].Transparency = 0.5 | |
6115 | cR[af].Transparency = 0.5 | |
6116 | cT = 8 | |
6117 | else | |
6118 | if ag > 16 and ag < 28 and cP[af].Transparency ~= 0.25 then | |
6119 | cP[af].Transparency = 0.25 | |
6120 | cQ[af].Transparency = 0.25 | |
6121 | cR[af].Transparency = 0.25 | |
6122 | cT = 5 | |
6123 | else | |
6124 | if ag > 28 and ag < 56 and cP[af].Transparency ~= 0 then | |
6125 | cP[af].Transparency = 0 | |
6126 | cQ[af].Transparency = 0 | |
6127 | cR[af].Transparency = 0 | |
6128 | cT = 3 | |
6129 | end | |
6130 | end | |
6131 | end | |
6132 | end | |
6133 | cP[af].CFrame = hrp.CFrame * cf(rd2(-220, 220) / 10, rd2(-90, 120) / 10, rd2(-30, 90) / 10) * ang(0, 0, rd(rd2(-20, 20) / 10)) | |
6134 | if (af) % 2 == 0 then | |
6135 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6136 | else | |
6137 | if (af) % 2 == 1 then | |
6138 | cQ[af].CFrame = cP[af].CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6139 | end | |
6140 | end | |
6141 | cR[af]:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(1, 15, 50) | |
6142 | cR[af].CFrame = cP[af].CFrame * cf(0, 0, 8) | |
6143 | coroutine.resume(coroutine.create(function() | |
6144 | local cV = af | |
6145 | local cW = cP[af] | |
6146 | local cX = cQ[af] | |
6147 | local cY = cR[af] | |
6148 | local cZ = 10 | |
6149 | cW:FindFirstChildOfClass("Sound").Pitch = math.random(7, 8) / 10 | |
6150 | cW:FindFirstChildOfClass("Sound"):Play() | |
6151 | for j = 1, 30 do | |
6152 | swait() | |
6153 | if j < 20 then | |
6154 | local a5 = rd2(1, 3) | |
6155 | if a5 == 2 then | |
6156 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80, Vector3.new(rd2(-50, 50), rd2(-50, 50), rd2(-50, 50))) | |
6157 | else | |
6158 | hito(cW, 10, 18, 0.25, hrp.CFrame.lookVector * 80) | |
6159 | end | |
6160 | end | |
6161 | cW.CFrame = cW.CFrame * cf(0, 0, -cZ) | |
6162 | if cV % 2 == 0 then | |
6163 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6164 | else | |
6165 | if cV % 2 == 1 then | |
6166 | cX.CFrame = cW.CFrame * ang(rd(90), rd(0), rd(0)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6167 | end | |
6168 | end | |
6169 | cY.CFrame = cW.CFrame * cf(0, 0, 50 - cZ * 2.5) | |
6170 | cY:FindFirstChildOfClass("SpecialMesh").Scale = cY:FindFirstChildOfClass("SpecialMesh").Scale + Vector3.new(0, 0, cZ * 4.5) | |
6171 | cZ = cZ - 0.45 | |
6172 | end | |
6173 | end)) | |
6174 | swait(cT) | |
6175 | until ag > 10 | |
6176 | cI = false | |
6177 | ae:Disconnect() | |
6178 | cH:Destroy() | |
6179 | a8:Destroy() | |
6180 | for I,c_ in pairs(cL) do | |
6181 | c_:Destroy() | |
6182 | end | |
6183 | for I,d0 in pairs(cP) do | |
6184 | coroutine.resume(coroutine.create(function() | |
6185 | for I = 1, 10 do | |
6186 | swait() | |
6187 | d0.Transparency = d0.Transparency + 0.1 | |
6188 | end | |
6189 | d0:Destroy() | |
6190 | end)) | |
6191 | end | |
6192 | for I,d0 in pairs(cQ) do | |
6193 | coroutine.resume(coroutine.create(function() | |
6194 | for I = 1, 10 do | |
6195 | swait() | |
6196 | d0.Transparency = d0.Transparency + 0.1 | |
6197 | end | |
6198 | d0:Destroy() | |
6199 | end)) | |
6200 | end | |
6201 | for I,d0 in pairs(cR) do | |
6202 | coroutine.resume(coroutine.create(function() | |
6203 | for I = 1, 10 do | |
6204 | swait() | |
6205 | d0.Transparency = d0.Transparency + 0.1 | |
6206 | end | |
6207 | d0:Destroy() | |
6208 | end)) | |
6209 | end | |
6210 | human.AutoRotate = true | |
6211 | human.PlatformStand = false | |
6212 | activu = false | |
6213 | end | |
6214 | ||
6215 | gear2change = function() | |
6216 | if selected == false or activu == true then | |
6217 | return | |
6218 | end | |
6219 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g2lim > 5 then | |
6220 | activu = true | |
6221 | g.Enabled = false | |
6222 | human.AutoRotate = false | |
6223 | hrp.Anchored = true | |
6224 | human.WalkSpeed = 0 | |
6225 | local d1 = Instance.new("Sound") | |
6226 | d1.EmitterSize = 10 | |
6227 | d1.Volume = 4 | |
6228 | d1.SoundId = "rbxassetid://255289910" | |
6229 | d1.Parent = hrp | |
6230 | d1:Play() | |
6231 | game.Debris:AddItem(d1, 5) | |
6232 | local d2 = makepart(rleg.BrickColor.Name, "rg1", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6233 | d2.Anchored = false | |
6234 | local d3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d2) | |
6235 | local d4 = makeweld(d2, d2, rleg, (cf(0, -0.8, 0)), nil) | |
6236 | local d5 = makepart(lleg.BrickColor.Name, "lg1", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6237 | d5.Anchored = false | |
6238 | local d6 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d5) | |
6239 | local d7 = makeweld(d5, d5, lleg, (cf(0, -0.8, 0)), nil) | |
6240 | local d8 = makepart(rleg.BrickColor.Name, "rg2", 0, 0, "SmoothPlastic", rleg, rleg.CFrame) | |
6241 | d8.Anchored = false | |
6242 | local d9 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, d8) | |
6243 | local da = makeweld(d8, d8, rleg, (cf(0, -0.6, 0)), nil) | |
6244 | local db = makepart(lleg.BrickColor.Name, "lg2", 0, 0, "SmoothPlastic", lleg, lleg.CFrame) | |
6245 | db.Anchored = false | |
6246 | local dc = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, db) | |
6247 | local dd = makeweld(db, db, lleg, (cf(0, -0.6, 0)), nil) | |
6248 | animo(false) | |
6249 | cam.CameraType = "Scriptable" | |
6250 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-140), rd(0)) * cf(0, 0, 7) | |
6251 | for I = 1, 35 do | |
6252 | do | |
6253 | swait() | |
6254 | cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(-0.06), rd(0.08), rd(0)) * cf(0, 0, -0.003) | |
6255 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.15) | |
6256 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.15) | |
6257 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.15) | |
6258 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.15) | |
6259 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.15) | |
6260 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.15) | |
6261 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.15) | |
6262 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.15) | |
6263 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.15) | |
6264 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.15) | |
6265 | end | |
6266 | end | |
6267 | cam.CoordinateFrame = lleg.CFrame * ang(rd(5), rd(-165), rd(0)) * cf(0, 0, 5) | |
6268 | for I = 1, 25 do | |
6269 | swait() | |
6270 | d4.C0 = d4.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6271 | d7.C0 = d7.C0:lerp(cf(0, 0.2, 0), 0.3) | |
6272 | d3.Scale = d3.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6273 | d6.Scale = d6.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6274 | da.C0 = da.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6275 | dd.C0 = dd.C0:lerp(cf(0, 0.4, 0), 0.3) | |
6276 | d9.Scale = d9.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6277 | dc.Scale = dc.Scale:lerp(Vector3.new(7.5, 3, 7.5), 0.45) | |
6278 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -1.1) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6279 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(18), rd(0), rd(-12)), 0.3) | |
6280 | lerpz(RS, "C0", RSC0 * cf(0.2, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6281 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6282 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(50), rd(-65)), 0.3) | |
6283 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6284 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6285 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6286 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6287 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6288 | end | |
6289 | d1.TimePosition = 1.4 | |
6290 | for I = 1, 3 do | |
6291 | swait() | |
6292 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6293 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6294 | d3.Scale = d3.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6295 | d6.Scale = d6.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6296 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6297 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6298 | d9.Scale = d9.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6299 | dc.Scale = dc.Scale:lerp(Vector3.new(7, 2, 7), 0.45) | |
6300 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6301 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6302 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6303 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6304 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6305 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6306 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6307 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6308 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6309 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6310 | end | |
6311 | for I = 1, 10 do | |
6312 | swait() | |
6313 | d4.C0 = d4.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6314 | d7.C0 = d7.C0:lerp(cf(0, -0.4, 0), 0.3) | |
6315 | d3.Scale = d3.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6316 | d6.Scale = d6.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6317 | da.C0 = da.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6318 | dd.C0 = dd.C0:lerp(cf(0, -0.2, 0), 0.3) | |
6319 | d9.Scale = d9.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6320 | dc.Scale = dc.Scale:lerp(Vector3.new(4, 2, 4), 0.45) | |
6321 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6322 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-12)), 0.3) | |
6323 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6324 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6325 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6326 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6327 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6328 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6329 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6330 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6331 | end | |
6332 | cam.CoordinateFrame = hrp.CFrame * ang(rd(5), rd(-180), rd(0)) * cf(0, 0, 6) | |
6333 | swait(8) | |
6334 | d2:Destroy() | |
6335 | d5:Destroy() | |
6336 | d8:Destroy() | |
6337 | db:Destroy() | |
6338 | for j = 1, #H do | |
6339 | coroutine.resume(coroutine.create(function() | |
6340 | local de = H[j] | |
6341 | for I = 1, 16 do | |
6342 | swait() | |
6343 | de.Transparency = de.Transparency - 0.009375 | |
6344 | de.pe.Enabled = true | |
6345 | if de:FindFirstChild("ss") then | |
6346 | de:FindFirstChild("ss"):Play() | |
6347 | end | |
6348 | end | |
6349 | swait(120) | |
6350 | end)) | |
6351 | end | |
6352 | d1.TimePosition = 4.1 | |
6353 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6354 | swait(8) | |
6355 | for j = 1, 35 do | |
6356 | swait() | |
6357 | lerpz(RJ, "C0", RJC0 * cf(0, -0.5, -0.8) * ang(rd(75), rd(0), rd(15)), 0.3) | |
6358 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-50), rd(10), rd(-10)), 0.05 + j * 0.95 / 35) | |
6359 | lerpz(RS, "C0", RSC0 * cf(0.5, -0.25, 0.4) * ang(rd(-80), rd(15), rd(85)), 0.3) | |
6360 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6361 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(-65)), 0.3) | |
6362 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6363 | lerpz(RH, "C0", RHC0 * cf(-0.25, -0.2, 0) * ang(rd(0), rd(-70), rd(0)), 0.6) | |
6364 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(-70), rd(35), rd(0)), 0.6) | |
6365 | lerpz(LH, "C0", LHC0 * cf(-0.4, 0.4, 0) * ang(rd(0), rd(70), rd(0)), 0.6) | |
6366 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(-80), rd(-10), rd(0)), 0.6) | |
6367 | end | |
6368 | cam.CameraType = "Custom" | |
6369 | animo(true) | |
6370 | human.WalkSpeed = 28 | |
6371 | human.JumpPower = 60 | |
6372 | hrp.Anchored = false | |
6373 | human.AutoRotate = true | |
6374 | head:FindFirstChildOfClass("Decal").Texture = d | |
6375 | for I = 1, 6 do | |
6376 | swait() | |
6377 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6378 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6379 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6380 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6381 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6382 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6383 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6384 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6385 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6386 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
6387 | end | |
6388 | resetlerp() | |
6389 | dagear = 2 | |
6390 | g.Enabled = true | |
6391 | activu = false | |
6392 | else | |
6393 | do | |
6394 | if dagear == 2 then | |
6395 | activu = true | |
6396 | for j = 1, #H do | |
6397 | coroutine.resume(coroutine.create(function() | |
6398 | local de = H[j] | |
6399 | local df = nil | |
6400 | if de:FindFirstChild("ss") then | |
6401 | df = de:FindFirstChild("ss") | |
6402 | end | |
6403 | for I = 1, 16 do | |
6404 | swait() | |
6405 | de.Transparency = de.Transparency + 0.009375 | |
6406 | de.pe.Rate = de.pe.Rate - 1 | |
6407 | if de:FindFirstChild("ss") then | |
6408 | df.Volume = df.Volume - 0.03125 | |
6409 | end | |
6410 | end | |
6411 | de.pe.Rate = 20 | |
6412 | de.pe.Enabled = false | |
6413 | if de:FindFirstChild("ss") then | |
6414 | df:Stop() | |
6415 | df.Volume = 0.5 | |
6416 | end | |
6417 | end)) | |
6418 | end | |
6419 | human.WalkSpeed = 16 | |
6420 | human.JumpPower = 50 | |
6421 | dagear = 1 | |
6422 | activu = false | |
6423 | end | |
6424 | end | |
6425 | end | |
6426 | end | |
6427 | ||
6428 | gear3change = function() | |
6429 | if selected == false or activu == true then | |
6430 | return | |
6431 | end | |
6432 | if (hrp.Velocity * Vector3.new(1, 1, 1)).magnitude < 4 and dagear == 1 and g3lim > 5 then | |
6433 | activu = true | |
6434 | g.Enabled = false | |
6435 | human.AutoRotate = false | |
6436 | hrp.Anchored = true | |
6437 | human.WalkSpeed = 0 | |
6438 | animo(false) | |
6439 | bQ = makepart("White", "g3p1", 0, 1, "Neon", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6440 | bR = makepart(rarm.BrickColor.Name, "g3p2", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6441 | b_ = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bR) | |
6442 | bS = makepart(rarm.BrickColor.Name, "g3p3", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6443 | c0 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bS) | |
6444 | bT = makepart(rarm.BrickColor.Name, "g3p4", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6445 | c1 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bT) | |
6446 | bU = makepart(rarm.BrickColor.Name, "g3p5", 0, 1, "SmoothPlastic", rarm, hrp.CFrame * cf(0, 500, 0)) | |
6447 | c2 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539775895", bU) | |
6448 | cam.CameraType = "Scriptable" | |
6449 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-190), rd(0)) * cf(0, 0, 5) | |
6450 | for I = 1, 26 do | |
6451 | swait() | |
6452 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(15)), 0.3) | |
6453 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-1.5), rd(-14)), 0.3) | |
6454 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(60), rd(80)), 0.3) | |
6455 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6456 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(8), rd(10)), 0.3) | |
6457 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6458 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(0)), 0.3) | |
6459 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6460 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(0)), 0.3) | |
6461 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6462 | end | |
6463 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://250184082" | |
6464 | cam.CoordinateFrame = hrp.CFrame * ang(rd(40), rd(-180), rd(0)) * cf(0, 0, 7) | |
6465 | for j = 1, 37 do | |
6466 | swait() | |
6467 | local dg = rd2(-80, 80) / (38 - j) | |
6468 | lerpz(RJ, "C0", RJC0 * cf(-0.1, 0.35, -0.05) * ang(rd(-18), rd(-6), rd(15)), 0.1) | |
6469 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30 + dg), rd(-1 + dg), rd(-14 + dg)), 0.03 + j * 0.032) | |
6470 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(32), rd(50), rd(83)), 0.1) | |
6471 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6472 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-7), rd(9), rd(12)), 0.1) | |
6473 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6474 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-15)), 0.1) | |
6475 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6476 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(20)), 0.1) | |
6477 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6478 | end | |
6479 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://874809406" | |
6480 | cam.CoordinateFrame = hrp.CFrame * ang(rd(-50), rd(-170), rd(0)) * cf(0, 2, 4) | |
6481 | for I = 1, 15 do | |
6482 | swait() | |
6483 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.6) | |
6484 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.65) | |
6485 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(32), rd(60), rd(63)), 0.8) | |
6486 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6487 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(20)), 0.6) | |
6488 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6489 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(19)), 0.6) | |
6490 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6491 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(-12)), 0.6) | |
6492 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6493 | end | |
6494 | bQ.Transparency = 1 | |
6495 | bR.Transparency = 0 | |
6496 | bS.Transparency = 0 | |
6497 | bT.Transparency = 0 | |
6498 | bU.Transparency = 0 | |
6499 | bQ.CFrame = rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6500 | bR.CFrame = bQ.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6501 | c7 = (bQ.Position - rarm.Position).magnitude | |
6502 | c8 = (bR.Position - bQ.Position).magnitude | |
6503 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -c7 / 2) | |
6504 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -c8 / 2) | |
6505 | bU.CFrame = bR.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6506 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-180), rd(0)) * cf(0, 0, 6) | |
6507 | for I = 1, 50 do | |
6508 | swait() | |
6509 | c7 = (bQ.Position - rarm.Position).magnitude | |
6510 | c8 = (bR.Position - bQ.Position).magnitude | |
6511 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(-6), rd(-14)), 0.1) | |
6512 | lerpz(RS, "C0", RSC0 * cf(0, 0.1, 0) * ang(rd(0), rd(-50), rd(110)), 0.15) | |
6513 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05) | |
6514 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0), 0.1) | |
6515 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0), 0.07) | |
6516 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6517 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6518 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)), 0.3) | |
6519 | b_.Scale = b_.Scale:lerp(Vector3.new(60, 70, 60), 0.13) | |
6520 | c0.Scale = c0.Scale:lerp(Vector3.new(30, 30, c7 * 5 * 1.2), 0.13) | |
6521 | c1.Scale = c1.Scale:lerp(Vector3.new(35, 35, c8 * 5 * 1.2), 0.13) | |
6522 | c2.Scale = c2.Scale:lerp(Vector3.new(0.16, 0.16, 0.16), 0.13) | |
6523 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.094) | |
6524 | end | |
6525 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6526 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6527 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6528 | ck = Vector3.new(60, 70, 60) | |
6529 | cm = 3.5 | |
6530 | co = 5 | |
6531 | cj = 0.3--speed of hand | |
6532 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6533 | cb = true | |
6534 | coroutine.resume(coroutine.create(function() | |
6535 | while cb == true do | |
6536 | swait2() | |
6537 | bQ.CFrame = bQ.CFrame:lerp(rarm.CFrame * cd, ce) | |
6538 | bR.CFrame = bR.CFrame:lerp(bQ.CFrame * cg, ch) | |
6539 | c7 = (bQ.Position - rarm.Position).magnitude | |
6540 | c8 = (bR.Position - bQ.Position).magnitude | |
6541 | bS.CFrame = cf(rarm.CFrame.p, bQ.CFrame.p) * cf(0, 0, -(c7 + 1) / 2) | |
6542 | bT.CFrame = cf(bQ.CFrame.p, bR.CFrame.p) * cf(0, 0, -(c8 - 1) / 2) | |
6543 | bU.CFrame = bU.CFrame:lerp(bR.CFrame * ci, cj) | |
6544 | b_.Scale = b_.Scale:lerp(ck, cl) | |
6545 | c0.Scale = c0.Scale:lerp(Vector3.new(cm * 5, cm * 5, (bQ.Position - rarm.Position).magnitude * 5 * 1.2), cn) | |
6546 | c1.Scale = c1.Scale:lerp(Vector3.new(co * 5, co * 5, (bR.Position - bQ.Position).magnitude * 5 * 1.2), cp) | |
6547 | c2.Scale = c2.Scale:lerp(cq, cr) | |
6548 | end | |
6549 | end)) | |
6550 | print("bless the meme") | |
6551 | head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://871751988" | |
6552 | cam.CoordinateFrame = hrp.CFrame * ang(rd(10), rd(-155), rd(0)) * cf(0, 0, 12) | |
6553 | for j = 1, 80 do | |
6554 | swait() | |
6555 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 0.011875) | |
6556 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.03 + j * 0.011875) | |
6557 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.03 + j * 0.011875) | |
6558 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6559 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 0.011875) | |
6560 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6561 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 0.011875) | |
6562 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6563 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 0.011875) | |
6564 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 0.011875) | |
6565 | cam.CoordinateFrame = cam.CoordinateFrame * cf(0, 0, 0.04) | |
6566 | end | |
6567 | head:FindFirstChildOfClass("Decal").Texture = d | |
6568 | cam.CameraType = "Custom" | |
6569 | dagear = 3 | |
6570 | human.AutoRotate = true | |
6571 | hrp.Anchored = false | |
6572 | human.WalkSpeed = 12 | |
6573 | g.Enabled = true | |
6574 | activu = false | |
6575 | --fixing the hand movement | |
6576 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -15, 0) | |
6577 | cg = ang(rd(0), rd(0), rd(-30)) * cf(0, -15, 0) | |
6578 | ci = ang(rd(0), rd(0), rd(20)) * cf(0, -6.5, 0) * ang(rd(0), rd(180), rd(90)) | |
6579 | ce = 0.01 | |
6580 | ch = 0.01 | |
6581 | cd = cf() | |
6582 | cg = cf() | |
6583 | for j = 1, 38 do | |
6584 | --swait() | |
6585 | cd = cd * cf(0, -1.75 + j / 13, 0) | |
6586 | cg = cg * cf(0, -1.75 + j / 13, 0) | |
6587 | ce = 0.01 + j * 0.018 | |
6588 | ch = 0.01 + j * 0.008 | |
6589 | end | |
6590 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6591 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6592 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6593 | --done fixing hand xd | |
6594 | elseif dagear == 3 then | |
6595 | activu = true | |
6596 | human.WalkSpeed = 0 | |
6597 | human.AutoRotate = false | |
6598 | hrp.Anchored = true | |
6599 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6600 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6601 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
6602 | ck = Vector3.new(0, 1, 0) | |
6603 | cm = 0 | |
6604 | co = 0 | |
6605 | cq = Vector3.new(0, 1, 0) | |
6606 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6607 | cv = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
6608 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -0.25, 0) * ang(rd(0), rd(90), rd(-90)) | |
6609 | cz = Vector3.new(0, 1, 0) | |
6610 | cB = 0 | |
6611 | cD = 0 | |
6612 | cF = Vector3.new(0, 1, 0) | |
6613 | for j = 1, 40 do | |
6614 | swait() | |
6615 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(18), rd(6), rd(15)), 0.03 + j * 2 * 0.011875) | |
6616 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(1), rd(-14)), 0.03 + j * 2 * 0.011875) | |
6617 | lerpz(RS, "C0", RSC0 * cf(0.5, 0.05, 0.5) * ang(rd(0), rd(-90), rd(75)), 0.03 + j * 2 * 0.011875) | |
6618 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6619 | if g32hand then | |
6620 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.45) * ang(rd(20), rd(85), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6621 | else | |
6622 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60)), 0.03 + j * 2 * 0.011875) | |
6623 | end | |
6624 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6625 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.03 + j * 2 * 0.011875) | |
6626 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6627 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.03 + j * 2 * 0.011875) | |
6628 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.03 + j * 2 * 0.011875) | |
6629 | end | |
6630 | cb = false | |
6631 | cc = false | |
6632 | bQ:Destroy() | |
6633 | bR:Destroy() | |
6634 | bS:Destroy() | |
6635 | bT:Destroy() | |
6636 | bU:Destroy() | |
6637 | if g32hand then | |
6638 | bV:Destroy() | |
6639 | bW:Destroy() | |
6640 | bX:Destroy() | |
6641 | bY:Destroy() | |
6642 | bZ:Destroy() | |
6643 | end | |
6644 | for I = 1, 13 do | |
6645 | swait() | |
6646 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6647 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6648 | lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6649 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6650 | lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6651 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6652 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6653 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6654 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6655 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45) | |
6656 | end | |
6657 | resetlerp() | |
6658 | animo(true) | |
6659 | human.WalkSpeed = 16 | |
6660 | dagear = 1 | |
6661 | g32hand = false | |
6662 | human.AutoRotate = true | |
6663 | hrp.Anchored = false | |
6664 | activu = false | |
6665 | end | |
6666 | --a8:Destroy() | |
6667 | --cH:Destroy() | |
6668 | activu = false | |
6669 | end | |
6670 | ||
6671 | g3twohand = function() | |
6672 | if selected == false or activu == true then | |
6673 | return | |
6674 | end | |
6675 | if not g32hand then | |
6676 | activu = true | |
6677 | local bf = human.WalkSpeed | |
6678 | human.WalkSpeed = 0 | |
6679 | cc = true | |
6680 | g.Enabled = false | |
6681 | human.AutoRotate = false | |
6682 | hrp.Anchored = true | |
6683 | bV = makepart("White", "g3p6", 0, 1, "Neon", larm, larm.CFrame) | |
6684 | bW = makepart(larm.BrickColor.Name, "g3p7", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6685 | c3 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bW) | |
6686 | bX = makepart(larm.BrickColor.Name, "g3p8", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6687 | c4 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bX) | |
6688 | bY = makepart(larm.BrickColor.Name, "g3p9", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6689 | c5 = makemesh("Sphere", (Vector3.new(1, 1, 1)), nil, bY) | |
6690 | bZ = makepart(larm.BrickColor.Name, "g3p10", 0, 1, "SmoothPlastic", larm, larm.CFrame) | |
6691 | c6 = makemesh("FileMesh", Vector3.new(0.005, 0.005, 0.005), "rbxassetid://539776108", bZ) | |
6692 | local dh = makepart(tors.BrickColor.Name, "gblp", 0, 0, "SmoothPlastic", tors, tors.CFrame) | |
6693 | dh.Anchored = false | |
6694 | local di = makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, dh) | |
6695 | local dj = makeweld(dh, dh, tors, (cf(0, 0, 0)), nil) | |
6696 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -5, 0) | |
6697 | cg = ang(rd(0), rd(0), rd(-20)) * cf(0, -5, 0) | |
6698 | ci = ang(rd(0), rd(0), rd(-20)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6699 | for I = 1, 25 do | |
6700 | swait() | |
6701 | di.Scale = di.Scale:lerp(Vector3.new(55, 55, 55), 0.25) | |
6702 | lerpz(RJ, "C0", RJC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6703 | lerpz(N, "C0", NC0 * cf(0, 0, 4) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6704 | lerpz(RS, "C0", RSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6705 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6706 | lerpz(LS, "C0", LSC0 * cf(0, 2.75, 2.75) * ang(rd(-110), rd(0), rd(0)), 0.25) | |
6707 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6708 | lerpz(RH, "C0", RHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6709 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6710 | lerpz(LH, "C0", LHC0 * cf(0, -4, 1.5) * ang(rd(-10), rd(5), rd(0)), 0.25) | |
6711 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25) | |
6712 | end | |
6713 | bW.Transparency = 0 | |
6714 | bX.Transparency = 0 | |
6715 | bY.Transparency = 0 | |
6716 | bZ.Transparency = 0 | |
6717 | bV.CFrame = larm.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6718 | bW.CFrame = bW.CFrame * ang(rd(0), rd(0), rd(0)) * cf(0, -0.025, 0) | |
6719 | c9 = (bV.Position - larm.Position).magnitude | |
6720 | ca = (bW.Position - bV.Position).magnitude | |
6721 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -c9 / 2) | |
6722 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -ca / 2) | |
6723 | bZ.CFrame = bW.CFrame * cf(0, -0.025, 0) * ang(rd(0), rd(180), rd(90)) | |
6724 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6725 | cg = ang(rd(0), rd(0), rd(-140)) * cf(0, -10, 0) | |
6726 | ci = ang(rd(0), rd(0), rd(-40)) * cf(0, -6.5, 0) * ang(rd(0), rd(270), rd(90)) | |
6727 | ct = ang(rd(0), rd(0), rd(0)) * cf(0, -10, 0) | |
6728 | cv = ang(rd(0), rd(0), rd(140)) * cf(0, -10, 0) | |
6729 | cx = ang(rd(0), rd(0), rd(50)) * cf(0, -6.5, 0) * ang(rd(0), rd(90), rd(-90)) | |
6730 | cz = Vector3.new(60, 70, 60) | |
6731 | cB = 3.5 | |
6732 | cD = 5 | |
6733 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6734 | cC = 0.3 | |
6735 | cE = 0.3 | |
6736 | cy = 0.3 | |
6737 | cu = 0.3 | |
6738 | cw = 0.3 | |
6739 | cA = 0.3 | |
6740 | cG = 0.3 | |
6741 | coroutine.resume(coroutine.create(function() | |
6742 | while cc == true do | |
6743 | swait2() | |
6744 | bV.CFrame = bV.CFrame:lerp(larm.CFrame * ct, cu) | |
6745 | bW.CFrame = bW.CFrame:lerp(bV.CFrame * cv, cw) | |
6746 | c9 = (bV.Position - larm.Position).magnitude | |
6747 | ca = (bW.Position - bV.Position).magnitude | |
6748 | bX.CFrame = cf(larm.CFrame.p, bV.CFrame.p) * cf(0, 0, -(c9 + 1) / 2) | |
6749 | bY.CFrame = cf(bV.CFrame.p, bW.CFrame.p) * cf(0, 0, -(ca - 1) / 2) | |
6750 | bZ.CFrame = bZ.CFrame:lerp(bW.CFrame * cx, cy) | |
6751 | c3.Scale = c3.Scale:lerp(cz, cA) | |
6752 | c4.Scale = c4.Scale:lerp(Vector3.new(cB * 5, cB * 5, (bV.Position - larm.Position).magnitude * 5 * 1.2), cC) | |
6753 | c5.Scale = c5.Scale:lerp(Vector3.new(cD * 5, cD * 5, (bW.Position - bV.Position).magnitude * 5 * 1.2), cE) | |
6754 | c6.Scale = c6.Scale:lerp(cF, cG) | |
6755 | end | |
6756 | end)) | |
6757 | for I = 1, 30 do | |
6758 | swait() | |
6759 | di.Scale = di.Scale:lerp(Vector3.new(0, 0, 0), 0.32) | |
6760 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, 0) * ang(rd(18), rd(6), rd(15)), 0.3) | |
6761 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-1), rd(-14)), 0.3) | |
6762 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
6763 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6764 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
6765 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6766 | lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
6767 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6768 | lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
6769 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
6770 | end | |
6771 | dh:Destroy() | |
6772 | human.WalkSpeed = bf | |
6773 | hrp.Anchored = false | |
6774 | human.AutoRotate = true | |
6775 | g.Enabled = true | |
6776 | g32hand = true | |
6777 | activu = false | |
6778 | end | |
6779 | end | |
6780 | ||
6781 | busolelel = function() | |
6782 | if activu == true or selected == false then | |
6783 | return | |
6784 | end | |
6785 | if dagear == 3 then | |
6786 | if bR.Reflectance <= 0 then | |
6787 | selected = false | |
6788 | local dk = Instance.new("Sound") | |
6789 | dk.SoundId = "rbxassetid://315030459" | |
6790 | dk.Volume = 1.25 | |
6791 | dk.TimePosition = 0.22 | |
6792 | dk.Pitch = 1.03 | |
6793 | dk.Parent = tors | |
6794 | game.Debris:AddItem(dk, 3) | |
6795 | dk:Play() | |
6796 | local dl = Color3.new(0.90196078431373, 0.90196078431373, 0.90196078431373) | |
6797 | ck = Vector3.new(70, 80, 70) | |
6798 | cq = Vector3.new(0.19, 0.19, 0.19) | |
6799 | cz = Vector3.new(70, 80, 70) | |
6800 | cF = Vector3.new(0.19, 0.19, 0.19) | |
6801 | for I = 1, 20 do | |
6802 | swait() | |
6803 | bR.Reflectance = bR.Reflectance + 0.02 | |
6804 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6805 | bU.Reflectance = bU.Reflectance + 0.02 | |
6806 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6807 | if g32hand then | |
6808 | bW.Reflectance = bW.Reflectance + 0.02 | |
6809 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6810 | bZ.Reflectance = bZ.Reflectance + 0.02 | |
6811 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6812 | end | |
6813 | end | |
6814 | dl = Color3.new(0.058823529411765, 0, 0.082352941176471) | |
6815 | ck = Vector3.new(60, 70, 60) | |
6816 | cq = Vector3.new(0.16, 0.16, 0.16) | |
6817 | cz = Vector3.new(60, 70, 60) | |
6818 | cF = Vector3.new(0.16, 0.16, 0.16) | |
6819 | for I = 1, 20 do | |
6820 | swait() | |
6821 | bR.Reflectance = bR.Reflectance - 0.01 | |
6822 | bR.Color = bR.Color:lerp(dl, 0.15) | |
6823 | bU.Reflectance = bU.Reflectance - 0.01 | |
6824 | bU.Color = bU.Color:lerp(dl, 0.15) | |
6825 | if g32hand then | |
6826 | bW.Reflectance = bW.Reflectance - 0.01 | |
6827 | bW.Color = bW.Color:lerp(dl, 0.15) | |
6828 | bZ.Reflectance = bW.Reflectance - 0.01 | |
6829 | bZ.Color = bZ.Color:lerp(dl, 0.15) | |
6830 | end | |
6831 | end | |
6832 | bR.Color = dl | |
6833 | bU.Color = dl | |
6834 | if g32hand then | |
6835 | bW.Color = dl | |
6836 | bZ.Color = dl | |
6837 | end | |
6838 | selected = true | |
6839 | else | |
6840 | do | |
6841 | selected = false | |
6842 | for I = 1, 20 do | |
6843 | swait() | |
6844 | bR.Reflectance = bR.Reflectance - 0.01 | |
6845 | bR.Color = bR.Color:lerp(rarm.Color, 0.15) | |
6846 | bU.Reflectance = bU.Reflectance - 0.01 | |
6847 | bU.Color = bU.Color:lerp(rarm.Color, 0.15) | |
6848 | if g32hand then | |
6849 | bW.Reflectance = bW.Reflectance - 0.01 | |
6850 | bW.Color = bW.Color:lerp(larm.Color, 0.15) | |
6851 | bZ.Reflectance = bZ.Reflectance - 0.01 | |
6852 | bZ.Color = bZ.Color:lerp(larm.Color, 0.15) | |
6853 | end | |
6854 | end | |
6855 | bR.Color = rarm.Color | |
6856 | bU.Color = rarm.Color | |
6857 | bR.Reflectance = 0 | |
6858 | bU.Reflectance = 0 | |
6859 | if g32hand then | |
6860 | bW.Color = larm.Color | |
6861 | bZ.Color = larm.Color | |
6862 | bW.Reflectance = 0 | |
6863 | bZ.Reflectance = 0 | |
6864 | end | |
6865 | selected = true | |
6866 | end | |
6867 | end | |
6868 | end | |
6869 | end | |
6870 | ||
6871 | hito = function(dm, X, c, dn, dp, dq) | |
6872 | for I,dr in pairs(workspace:GetChildren()) do | |
6873 | if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
6874 | local ds = dr:FindFirstChild("Humanoid") | |
6875 | local dt = dr:FindFirstChild("HumanoidRootPart") | |
6876 | TakeDamage(ds, c) | |
6877 | ds:SetStateEnabled(16, true) | |
6878 | delay(dn, function() | |
6879 | ds:SetStateEnabled(16, true) | |
6880 | end) | |
6881 | local du = Instance.new("StringValue") | |
6882 | du.Name = "alabo" | |
6883 | du.Parent = dt | |
6884 | game.Debris:AddItem(du, dn) | |
6885 | local dv = Instance.new("Part") | |
6886 | nooutline(dv) | |
6887 | dv.Size = Vector3.new(0.2, 0.2, 0.2) | |
6888 | dv.Transparency = 0.25 | |
6889 | dv.Anchored = true | |
6890 | dv.CanCollide = false | |
6891 | dv.BrickColor = BrickColor.new("New Yeller") | |
6892 | dv.Material = "Neon" | |
6893 | dv.Locked = true | |
6894 | dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1)) | |
6895 | dv.Parent = modz | |
6896 | local dw = Instance.new("SpecialMesh") | |
6897 | dw.MeshType = "Sphere" | |
6898 | dw.Scale = Vector3.new(0.5, 0.5, 0.5) | |
6899 | dw.Parent = dv | |
6900 | game.Debris:AddItem(dv, 1) | |
6901 | local dx = Instance.new("Model") | |
6902 | dx.Name = c | |
6903 | dx.Parent = workspace | |
6904 | game.Debris:AddItem(dx, 0.5 + c / 75) | |
6905 | local dy = Instance.new("Humanoid") | |
6906 | dy.MaxHealth = 0 | |
6907 | dy.Parent = dx | |
6908 | local dz = Instance.new("Part") | |
6909 | dz.Name = "Head" | |
6910 | dz.Locked = true | |
6911 | dz.Size = Vector3.new(0.2, 0.2, 0.2) | |
6912 | dz.Position = dt.Position | |
6913 | dz.BrickColor = BrickColor.new("New Yeller") | |
6914 | dz.Material = "Neon" | |
6915 | dz.Transparency = 1 | |
6916 | dz.CanCollide = false | |
6917 | dz.Parent = dx | |
6918 | local dA = Instance.new("BodyPosition") | |
6919 | dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge) | |
6920 | dA.P = 20000 | |
6921 | dA.D = 300 | |
6922 | dA.Position = dz.Position + Vector3.new(0, 5, 0) | |
6923 | dA.Parent = dz | |
6924 | local dB = Instance.new("CylinderMesh") | |
6925 | dB.Parent = dz | |
6926 | coroutine.resume(coroutine.create(function() | |
6927 | while dB do | |
6928 | swait() | |
6929 | dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4) | |
6930 | end | |
6931 | end)) | |
6932 | if dp then | |
6933 | local dC = Instance.new("BodyVelocity") | |
6934 | dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999) | |
6935 | dC.P = 9999999999 | |
6936 | dC.Velocity = dp | |
6937 | dC.Parent = dt | |
6938 | game.Debris:AddItem(dC, dn) | |
6939 | end | |
6940 | if dq then | |
6941 | local dD = Instance.new("BodyAngularVelocity") | |
6942 | dD.MaxTorque = Vector3.new(99999, 999999, 999999) | |
6943 | dD.P = math.huge | |
6944 | dD.AngularVelocity = dq | |
6945 | dD.Parent = dt | |
6946 | game.Debris:AddItem(dD, dn) | |
6947 | end | |
6948 | local dE = Instance.new("Sound") | |
6949 | dE.Pitch = rd2(10, 11) / 10 | |
6950 | dE.Volume = rd2(10, 13) / 10 | |
6951 | dE.EmitterSize = 10 | |
6952 | dE.SoundId = "rbxassetid://" | |
6953 | dE.Parent = dv | |
6954 | dE:Play() | |
6955 | coroutine.resume(coroutine.create(function() | |
6956 | for I = 1, 5 do | |
6957 | swait() | |
6958 | dv.Transparency = dv.Transparency + 0.175 | |
6959 | dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c) | |
6960 | end | |
6961 | end)) | |
6962 | end | |
6963 | end | |
6964 | end | |
6965 | ||
6966 | animo = function(dF) | |
6967 | if anim then | |
6968 | if dF == true then | |
6969 | anim.Parent = human | |
6970 | chr.Animate.Disabled = false | |
6971 | elseif dF == false then | |
6972 | chr.Animate.Disabled = true | |
6973 | anim.Parent = nil | |
6974 | end | |
6975 | end | |
6976 | end | |
6977 | ||
6978 | local dG = function(dH, dv, dw, aO, dI, i) | |
6979 | if dH == 0 then | |
6980 | return dv | |
6981 | end | |
6982 | dH = dH / aO | |
6983 | if dH == 1 then | |
6984 | return dv + dw | |
6985 | end | |
6986 | if not i then | |
6987 | i = aO * 0.3 | |
6988 | end | |
6989 | local h = nil | |
6990 | if not dI or dI < math.abs(dw) then | |
6991 | dI = dw | |
6992 | h = i / 4 | |
6993 | else | |
6994 | h = i / (2 * math.pi) * math.asin(dw / dI) | |
6995 | end | |
6996 | return dI * math.pow(2, -10 * (dH)) * math.sin((dH * aO - h) * 2 * math.pi / (i)) + dw + dv | |
6997 | end | |
6998 | ||
6999 | local dJ = false | |
7000 | updateguimode = function() | |
7001 | local dK = function(dL, dM, dH) | |
7002 | return (1 - dH) * dL + dH * dM | |
7003 | end | |
7004 | ||
7005 | local dN, dO = nil, nil | |
7006 | if dagear == 1 then | |
7007 | dN = "Machine" | |
7008 | elseif dagear == 2 then | |
7009 | dN = "Jet" | |
7010 | elseif dagear == 3 then | |
7011 | dN = "Gigant" | |
7012 | end | |
7013 | if rubbermodo == 0 then | |
7014 | dO = "Gun Blows" | |
7015 | elseif rubbermodo == 1 then | |
7016 | dO = " " | |
7017 | elseif rubbermodo == 2 then | |
7018 | dO = " " | |
7019 | elseif rubbermodo == 3 then | |
7020 | dO = " " | |
7021 | end | |
7022 | g.Main.Base.Mode.Text = " " .. dN .. " " .. dO | |
7023 | if dJ == false then | |
7024 | dJ = true | |
7025 | elseif dJ == true then | |
7026 | dJ = false | |
7027 | swait() | |
7028 | dJ = true | |
7029 | end | |
7030 | for j = 0, 2, game:GetService("RunService").RenderStepped:wait() do | |
7031 | if not dJ then | |
7032 | break | |
7033 | end | |
7034 | game:GetService("RunService").RenderStepped:wait() | |
7035 | g.Main.Base.Mode.TextSize = dK(11, 25, dG(j, 0, 1, 2)) | |
7036 | end | |
7037 | end | |
7038 | --[[ | |
7039 | mouse.KeyDown:connect(function(dP) | |
7040 | if dP == "q" and activu == false then | |
7041 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7042 | rubbermodo = 0 | |
7043 | else | |
7044 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7045 | rubbermodo = 1 | |
7046 | else | |
7047 | if rubbermodo == 0 then | |
7048 | rubbermodo = 1 | |
7049 | else | |
7050 | if rubbermodo == 1 then | |
7051 | rubbermodo = 2 | |
7052 | else | |
7053 | if rubbermodo == 2 then | |
7054 | rubbermodo = 3 | |
7055 | else | |
7056 | rubbermodo = 0 | |
7057 | end | |
7058 | end | |
7059 | end | |
7060 | end | |
7061 | end | |
7062 | updateguimode() | |
7063 | else | |
7064 | if dP == "e" and activu == false then | |
7065 | if (dagear == 3 and not g32hand) or dagear == 2 and rubbermodo > 1 then | |
7066 | rubbermodo = 0 | |
7067 | else | |
7068 | if dagear == 3 and g32hand and rubbermodo > 1 then | |
7069 | rubbermodo = 1 | |
7070 | else | |
7071 | if dagear == 1 then | |
7072 | if rubbermodo == 1 then | |
7073 | rubbermodo = 0 | |
7074 | else | |
7075 | if rubbermodo == 2 then | |
7076 | rubbermodo = 1 | |
7077 | else | |
7078 | if rubbermodo == 3 then | |
7079 | rubbermodo = 2 | |
7080 | else | |
7081 | if rubbermodo <= 0 then | |
7082 | rubbermodo = 3 | |
7083 | end | |
7084 | end | |
7085 | end | |
7086 | end | |
7087 | else | |
7088 | if rubbermodo == 1 then | |
7089 | rubbermodo = 0 | |
7090 | else | |
7091 | rubbermodo = 1 | |
7092 | end | |
7093 | end | |
7094 | end | |
7095 | end | |
7096 | updateguimode() | |
7097 | else | |
7098 | if dP == "f" and activu == false and (plr.UserId == 8488617 or e) then | |
7099 | gear2change() | |
7100 | rubbermodo = 0 | |
7101 | updateguimode() | |
7102 | else | |
7103 | if dP == "j" and activu == false and (plr.UserId == 8488617 or f) then | |
7104 | gear3change() | |
7105 | rubbermodo = 0 | |
7106 | updateguimode() | |
7107 | else | |
7108 | if dP == "t" and activu == false and (plr.UserId == 8488617 or f) and dagear == 3 then | |
7109 | g3twohand() | |
7110 | rubbermodo = 2 | |
7111 | updateguimode() | |
7112 | else | |
7113 | if dP == "b" and plr.UserId == 8488617 then | |
7114 | busolelel() | |
7115 | end | |
7116 | end | |
7117 | end | |
7118 | end | |
7119 | end | |
7120 | end | |
7121 | end) | |
7122 | ]] | |
7123 | game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(dP) | |
7124 | if dP == "q" and activu == false then -- Does nothing? | |
7125 | if dagear == 4 and rubbermodo > 0 then | |
7126 | rubbermodo = 1 | |
7127 | end | |
7128 | updateguimode() | |
7129 | end | |
7130 | if dP == "=" and activu == false then | |
7131 | gear2change() | |
7132 | rubbermodo = 0 | |
7133 | updateguimode() | |
7134 | end | |
7135 | if dP == "=" and activu == false and dagear == 3 then | |
7136 | g3twohand() | |
7137 | rubbermodo = 2 | |
7138 | updateguimode() | |
7139 | end | |
7140 | if dP == "=" and activu == false then | |
7141 | gear3change() | |
7142 | rubbermodo = 0 | |
7143 | updateguimode() | |
7144 | end | |
7145 | if dP == "=" and plr.UserId == 8488617 then | |
7146 | busolelel() | |
7147 | end | |
7148 | end) | |
7149 | tool.Activated:connect(function() | |
7150 | if human.Health <= 0 then | |
7151 | return | |
7152 | end | |
7153 | if dagear == 1 then | |
7154 | if rubbermodo == 0 then | |
7155 | gatling() | |
7156 | elseif rubbermodo == 1 then | |
7157 | gatling2() | |
7158 | elseif rubbermodo == 2 then | |
7159 | bazooka() | |
7160 | elseif rubbermodo == 3 then | |
7161 | rocket() | |
7162 | end | |
7163 | elseif dagear == 2 then | |
7164 | if rubbermodo == 0 then | |
7165 | jetpunch() | |
7166 | elseif rubbermodo == 1 then | |
7167 | jetgat() | |
7168 | elseif rubbermodo == 2 then | |
7169 | jetbazoo() | |
7170 | end | |
7171 | elseif dagear == 3 and not g32hand and rubbermodo == 0 then | |
7172 | giganpist() | |
7173 | end | |
7174 | if dagear == 3 and g32hand then | |
7175 | if rubbermodo == 2 then | |
7176 | giganbazooka() | |
7177 | elseif rubbermodo == 1 then | |
7178 | gigangatl() | |
7179 | end | |
7180 | end | |
7181 | end) | |
7182 | tool.Equipped:connect(function() | |
7183 | selected = true | |
7184 | end) | |
7185 | tool.Unequipped:connect(function() | |
7186 | selected = false | |
7187 | end) | |
7188 | human.Died:connect(function() | |
7189 | if cam.CameraType == "Scriptable" then | |
7190 | cam.CameraType = "Custom" | |
7191 | end | |
7192 | cd = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7193 | cg = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) | |
7194 | ci = ang(rd(0), rd(0), rd(0)) * cf(0, -0.25, 0) * ang(rd(0), rd(180), rd(90)) | |
7195 | ck = Vector3.new(0, 0, 0) | |
7196 | cm = 0 | |
7197 | co = 0 | |
7198 | cq = Vector3.new(0, 0, 0) | |
7199 | end) | |
7200 | animpose = "Idle" | |
7201 | sine = 0 | |
7202 | charge = 1 | |
7203 | cos = math.cos | |
7204 | run() | |
7205 | game:GetService("RunService").RenderStepped:connect(function() | |
7206 | sine = sine + charge | |
7207 | if sine >= 100000000 then | |
7208 | sine = 0 | |
7209 | end | |
7210 | if sine % 60 == 0 then | |
7211 | g.Main.G2.Bar:TweenSize(UDim2.new(0.016666666666667 * g2lim, 0, 1, 0), 1, 3, 0.25) | |
7212 | g.Main.G3.Bar:TweenSize(UDim2.new(0.016666666666667 * g3lim, 0, 1, 0), 1, 3, 0.25) | |
7213 | end | |
7214 | --[[repeat | |
7215 | repeat | |
7216 | if plr.UserId ~= 8488617 and dagear == 3 and sine % 60 == 0 then | |
7217 | if g3lim <= 0 then | |
7218 | game:GetService("RunService").RenderStepped:wait() | |
7219 | end | |
7220 | end | |
7221 | until activu == false | |
7222 | until selected == true | |
7223 | gear3change() | |
7224 | rubbermodo = 0 | |
7225 | updateguimode() | |
7226 | if g32hand then | |
7227 | g3lim = g3lim - 2 | |
7228 | else | |
7229 | if not g32hand then | |
7230 | g3lim = g3lim - 1 | |
7231 | end | |
7232 | end | |
7233 | repeat | |
7234 | repeat | |
7235 | if plr.UserId ~= 8488617 and dagear == 2 and sine % 60 == 0 then | |
7236 | if g2lim <= 0 then | |
7237 | game:GetService("RunService").RenderStepped:wait() | |
7238 | end | |
7239 | end | |
7240 | until activu == false | |
7241 | until selected == true | |
7242 | gear2change() | |
7243 | rubbermodo = 0 | |
7244 | updateguimode() | |
7245 | g2lim = g2lim - 1 | |
7246 | if plr.UserId ~= 8488617 and dagear == 1 and sine % 120 == 0 then | |
7247 | if g2lim < 59 then | |
7248 | g2lim = g2lim + 1 | |
7249 | end | |
7250 | if g3lim < 59 then | |
7251 | g3lim = g3lim + 1 | |
7252 | end | |
7253 | end]] | |
7254 | if dagear == 3 and activu == false then | |
7255 | local dQ = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
7256 | local dR = workspace:FindPartOnRayWithIgnoreList(dQ, {chr}, false, false) | |
7257 | local dS = human:GetState() | |
7258 | if dS.Value == 13 then | |
7259 | animpose = "Sitting" | |
7260 | else | |
7261 | if hrp.Velocity.y > 1 and dR == nil then | |
7262 | animpose = "Jumping" | |
7263 | else | |
7264 | if hrp.Velocity.y < -1 and dR == nil then | |
7265 | animpose = "Falling" | |
7266 | else | |
7267 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
7268 | animpose = "Idle" | |
7269 | else | |
7270 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 25 then | |
7271 | animpose = "Walking" | |
7272 | else | |
7273 | if (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 25 then | |
7274 | animpose = "TooFast" | |
7275 | end | |
7276 | end | |
7277 | end | |
7278 | end | |
7279 | end | |
7280 | end | |
7281 | if animpose == "Idle" then | |
7282 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05 * cos(sine / 40)) * ang(rd(18), rd(6), rd(15)), 0.3) | |
7283 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2 + 5 * cos(sine / 40)), rd(-1), rd(-14)), 0.3) | |
7284 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7285 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7286 | if g32hand then | |
7287 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7288 | else | |
7289 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-60 + 5 * cos(sine / 40))), 0.3) | |
7290 | end | |
7291 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7292 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3) | |
7293 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7294 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-30)), 0.3) | |
7295 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7296 | end | |
7297 | if animpose == "Walking" then | |
7298 | lerpz(RJ, "C0", RJC0 * cf(0.1, -0.35, -0.05) * ang(rd(20), rd(6), rd(15)), 0.3) | |
7299 | lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3), rd(-1), rd(-14)), 0.3) | |
7300 | lerpz(RS, "C0", RSC0 * cf(0, 0.05, 1) * ang(rd(0), rd(-170), rd(75)), 0.3) | |
7301 | lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7302 | if g32hand then | |
7303 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, 0.95) * ang(rd(0), rd(160), rd(-75)), 0.3) | |
7304 | else | |
7305 | lerpz(LS, "C0", LSC0 * cf(0, 0.07, -0.45) * ang(rd(20), rd(-65), rd(-45)), 0.3) | |
7306 | end | |
7307 | lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7308 | lerpz(RH, "C0", RHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(-10), rd(20 + 30 * cos(sine / 6))), 0.3) | |
7309 | lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7310 | lerpz(LH, "C0", LHC0 * cf(0, 0.05 * cos(sine / 40), 0) * ang(rd(-10), rd(10), rd(-20 + 30 * cos(sine / 6))), 0.3) | |
7311 | lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
7312 | end | |
7313 | end | |
7314 | end) | |
7315 | dispose = function() | |
7316 | for j,dT in pairs(getfenv(0)) do | |
7317 | dT = nil | |
7318 | end | |
7319 | error = nil | |
7320 | print = nil | |
7321 | warn = nil | |
7322 | script:Destroy() | |
7323 | script = nil | |
7324 | end | |
7325 | ||
7326 | human.Died:connect(dispose) | |
7327 | chr.Changed:connect(function() | |
7328 | if chr.Parent == nil then | |
7329 | dispose() | |
7330 | end | |
7331 | end) | |
7332 | ||
7333 | ||
7334 | ||
7335 | mouse.KeyDown:connect(function(k) | |
7336 | if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7337 | jump() | |
7338 | end | |
7339 | if k == "x" and attack == false then | |
7340 | dash() | |
7341 | end | |
7342 | if k == "m" and attack == false then | |
7343 | InfernoComet() | |
7344 | end | |
7345 | if k == "n" and attack == false then | |
7346 | InfernoWrath() | |
7347 | end | |
7348 | if k == "t" and attack == false then | |
7349 | dashh() | |
7350 | end | |
7351 | if k == "k" and attack == false then | |
7352 | jetbazoo() | |
7353 | end | |
7354 | if k == "r" and attack == false then | |
7355 | dashs() | |
7356 | end | |
7357 | if k == "p" and attack == false then | |
7358 | asd:Stop() | |
7359 | end | |
7360 | if k == "g" and attack == false then | |
7361 | chatfunc("Sensei!") | |
7362 | end | |
7363 | if k == "1" and attack == false then | |
7364 | chatfunc("Weak!") | |
7365 | end | |
7366 | if k == "2" and attack == false then | |
7367 | chatfunc("That's what you consider strong?!") | |
7368 | end | |
7369 | if k == "3" and attack == false then | |
7370 | chatfunc("Useless!") | |
7371 | end | |
7372 | if k == "4" and attack == false then | |
7373 | chatfunc("What?!") | |
7374 | end | |
7375 | if k == "5" and attack == false then | |
7376 | chatfunc("Hmph.") | |
7377 | end | |
7378 | if k == "6" and attack == false then | |
7379 | chatfunc("Trash!") | |
7380 | end | |
7381 | if k == "7" and attack == false then | |
7382 | chatfunc("You're Nothing!") | |
7383 | end | |
7384 | if k == "h" and attack == false then | |
7385 | chatfunc("Die!") | |
7386 | end | |
7387 | if k == "," and attack == false then | |
7388 | char.Head.face.Texture = "rbxassetid://126198982" | |
7389 | chatfunc("I'll crush you!") | |
7390 | end | |
7391 | if k == ";" and attack == false then | |
7392 | chatfunc("Idiot!") | |
7393 | end | |
7394 | if k == "=" and attack == false then | |
7395 | chatfunc("I'll crush that Half-n-Half bastard..") | |
7396 | end | |
7397 | if k == "=" and attack == false then | |
7398 | chatfunc("Remember who you are.. YOU'RE BENEATH ME!") | |
7399 | end | |
7400 | if k == "f" and attack == false then | |
7401 | daash() | |
7402 | end | |
7403 | if k == "u" and attack == false then | |
7404 | asd:Play() | |
7405 | end | |
7406 | if k == "e" and attack == false then | |
7407 | punch() | |
7408 | end | |
7409 | if k == "=" and attack == false then | |
7410 | punch3() | |
7411 | end | |
7412 | ||
7413 | if k == "q" and attack == false then | |
7414 | punch2() | |
7415 | end | |
7416 | if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then | |
7417 | boom() | |
7418 | end | |
7419 | if k == "v" and attack == false then | |
7420 | shooty() | |
7421 | end | |
7422 | if k == "l" and attack == false then | |
7423 | if Serious == true then | |
7424 | punchd() | |
7425 | end | |
7426 | end | |
7427 | if k == "b" and attack == false then | |
7428 | superpunch() | |
7429 | end | |
7430 | end) | |
7431 | mouse.KeyDown:connect(function(key) | |
7432 | if key=="8" then | |
7433 | Serious() | |
7434 | end | |
7435 | end) | |
7436 | Health = math.huge --------- Serious mode aura. | |
7437 | BaseHealth = math.huge | |
7438 | ||
7439 | ||
7440 | ||
7441 | ||
7442 | InForm = false | |
7443 | ||
7444 | Player = game.Players.LocalPlayer | |
7445 | Char = Player.Character | |
7446 | Torso = Char.Torso | |
7447 | ||
7448 | function Serious() | |
7449 | for X = 1, 1 do wait() | |
7450 | asd:Destroy() | |
7451 | asd2 = Instance.new("Sound",char) | |
7452 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7453 | asd2.Volume = 3 | |
7454 | asd2.Looped = false | |
7455 | asd2:Play() | |
7456 | chatfunc("Full power!") | |
7457 | local pie22 = Instance.new("ParticleEmitter") | |
7458 | pie22.Parent = tors | |
7459 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7460 | pie22.LightEmission = 1 | |
7461 | pie22.Size = NumberSequence.new(50) | |
7462 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7463 | pie22.Transparency = NumberSequence.new(0) | |
7464 | pie22.EmissionDirection = "Top" | |
7465 | pie22.Enabled = true | |
7466 | pie22.Lifetime = NumberRange.new(10) | |
7467 | pie22.Rotation = NumberRange.new(-420, 425) | |
7468 | pie22.Rate = 400 | |
7469 | pie22.Speed = NumberRange.new(100) | |
7470 | pie22.LockedToPart = false | |
7471 | pie22.VelocitySpread = 2 | |
7472 | lig = Instance.new("PointLight",player.Character.Torso) | |
7473 | lig.Color=Color3.new(255,255,0) | |
7474 | lig.Range = 6 | |
7475 | rubbermodo = 1 | |
7476 | hum.JumpPower = 270 | |
7477 | lig = Instance.new("PointLight",player.Character.Torso) | |
7478 | lig.Color=Color3.new(255,255,0) | |
7479 | lig.Range = 6 | |
7480 | Crater(head,30) | |
7481 | ||
7482 | wait(0) | |
7483 | for X = 1, 1 do wait() | |
7484 | local Effect = Instance.new("Part") | |
7485 | Effect.Name = "Effect" | |
7486 | Effect.Parent = Torso | |
7487 | Effect.CFrame = Torso.CFrame | |
7488 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7489 | Effect.Shape = "Ball" | |
7490 | Effect.Size = Vector3.new(1, 1, 1) | |
7491 | Effect.Anchored = true | |
7492 | Effect.Material = "Neon" | |
7493 | Effect.CanCollide = false | |
7494 | Effect.CFrame = Torso.CFrame | |
7495 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7496 | Effect.Transparency = Effect.Transparency + 0.04 | |
7497 | pie22:Destroy() | |
7498 | end | |
7499 | end | |
7500 | ||
7501 | repeat | |
7502 | Torso:FindFirstChild("Effect"):Remove() | |
7503 | until Torso:FindFirstChild("Effect") == nil | |
7504 | ||
7505 | ||
7506 | local Color1 = Color3.new(255, 255, 0) | |
7507 | local Color2 = Color3.new(255, 255, 0) | |
7508 | chatfunc("Full Power!") | |
7509 | Instance.new("ForceField",char).Visible = false | |
7510 | hum.Name = "youdungoofed" | |
7511 | ||
7512 | asd1 = Instance.new("Sound",char) | |
7513 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7514 | asd1.Volume = 1 | |
7515 | asd1.Looped = true | |
7516 | asd1:Play() | |
7517 | ||
7518 | local pie22 = Instance.new("ParticleEmitter") | |
7519 | pie22.Parent = larm | |
7520 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7521 | pie22.LightEmission = 1 | |
7522 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7523 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7524 | pie22.Transparency = NumberSequence.new(0.7) | |
7525 | pie22.EmissionDirection = "Top" | |
7526 | pie22.Enabled = true | |
7527 | pie22.Lifetime = NumberRange.new(1) | |
7528 | pie22.Rotation = NumberRange.new(-420, 425) | |
7529 | pie22.Rate = 400 | |
7530 | pie22.Speed = NumberRange.new(1) | |
7531 | pie22.LockedToPart = false | |
7532 | pie22.VelocitySpread = 2 | |
7533 | local pie222 = Instance.new("ParticleEmitter") | |
7534 | pie222.Parent = rarm | |
7535 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7536 | pie222.LightEmission = 1 | |
7537 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7538 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7539 | pie222.Transparency = NumberSequence.new(0.7) | |
7540 | pie222.EmissionDirection = "Top" | |
7541 | pie222.Enabled = true | |
7542 | pie222.Lifetime = NumberRange.new(1) | |
7543 | pie222.Rotation = NumberRange.new(-420, 425) | |
7544 | pie222.Rate = 400 | |
7545 | pie222.Speed = NumberRange.new(1) | |
7546 | pie222.LockedToPart = false | |
7547 | pie222.VelocitySpread = 2 | |
7548 | local pie2222 = Instance.new("ParticleEmitter") | |
7549 | pie2222.Parent = lleg | |
7550 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7551 | pie2222.LightEmission = 1 | |
7552 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7553 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7554 | pie2222.Transparency = NumberSequence.new(0.7) | |
7555 | pie2222.EmissionDirection = "Top" | |
7556 | pie2222.Enabled = true | |
7557 | pie2222.Lifetime = NumberRange.new(1) | |
7558 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7559 | pie2222.Rate = 400 | |
7560 | pie2222.Speed = NumberRange.new(1) | |
7561 | pie2222.LockedToPart = false | |
7562 | pie2222.VelocitySpread = 2 | |
7563 | local pie22222 = Instance.new("ParticleEmitter") | |
7564 | pie22222.Parent = rleg | |
7565 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7566 | pie22222.LightEmission = 1 | |
7567 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7568 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7569 | pie22222.Transparency = NumberSequence.new(0.7) | |
7570 | pie22222.EmissionDirection = "Top" | |
7571 | pie22222.Enabled = true | |
7572 | pie22222.Lifetime = NumberRange.new(1) | |
7573 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7574 | pie22222.Rate = 400 | |
7575 | pie22222.Speed = NumberRange.new(1) | |
7576 | pie22222.LockedToPart = false | |
7577 | pie22222.VelocitySpread = 2 | |
7578 | local pie2242 = Instance.new("ParticleEmitter") | |
7579 | pie2242.Parent = tors | |
7580 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7581 | pie2242.LightEmission = 1 | |
7582 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7583 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7584 | pie2242.Transparency = NumberSequence.new(0.7) | |
7585 | pie2242.EmissionDirection = "Top" | |
7586 | pie2242.Enabled = true | |
7587 | pie2242.Lifetime = NumberRange.new(1) | |
7588 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7589 | pie2242.Rate = 400 | |
7590 | pie2242.Speed = NumberRange.new(1) | |
7591 | pie2242.LockedToPart = false | |
7592 | pie2242.VelocitySpread = 2 | |
7593 | ||
7594 | InForm = true | |
7595 | ||
7596 | Char.Humanoid.MaxHealth = Health | |
7597 | wait(0.3) | |
7598 | Char.Humanoid.Health = Health | |
7599 | rock = true | |
7600 | ||
7601 | end | |
7602 | ||
7603 | function Base() | |
7604 | InForm = false | |
7605 | local Effect = Instance.new("Part") | |
7606 | Effect.Name = "Effect" | |
7607 | Effect.Parent = Torso | |
7608 | Effect.CFrame = Torso.CFrame | |
7609 | Effect.BrickColor = BrickColor.new("White") | |
7610 | Effect.Shape = "Ball" | |
7611 | Effect.Size = Vector3.new(8, 8, 8) | |
7612 | Effect.Anchored = true | |
7613 | Effect.Material = "Neon" | |
7614 | Effect.CanCollide = false | |
7615 | for loop = 1, 25 do wait() | |
7616 | Effect.CFrame = Torso.CFrame | |
7617 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7618 | Effect.Transparency = Effect.Transparency + 0.04 | |
7619 | ||
7620 | end | |
7621 | repeat | |
7622 | Torso:FindFirstChild("Effect"):Remove() | |
7623 | until Torso:FindFirstChild("Effect") == nil | |
7624 | ||
7625 | for i, v in pairs(Torso:GetChildren()) do | |
7626 | if v:IsA('ParticleEmitter') then | |
7627 | v:Remove() | |
7628 | asd1:Destroy() | |
7629 | killbrick:Destroy() | |
7630 | end | |
7631 | end | |
7632 | char.Humanoid.MaxHealth = BaseHealth | |
7633 | wait(0.3) | |
7634 | char.Humanoid.Health = BaseHealth | |
7635 | ||
7636 | ||
7637 | end | |
7638 | ||
7639 | mouse.KeyDown:connect(function(key) | |
7640 | if key=="9" then | |
7641 | Base() | |
7642 | lig:Destroy() | |
7643 | rubbermodo = 0 | |
7644 | end | |
7645 | end) | |
7646 | ||
7647 | Player.Chatted:connect(function(Message) | |
7648 | if Message == "Time to get serious." and InForm == false then | |
7649 | wait(0.10) | |
7650 | Serious2() | |
7651 | end | |
7652 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
7653 | Base() | |
7654 | end | |
7655 | end) | |
7656 | ||
7657 | ||
7658 | mouse.KeyDown:connect(function(key) | |
7659 | if key=="." then | |
7660 | Serious2() | |
7661 | end | |
7662 | end) | |
7663 | Health = math.huge --------- Serious mode aura. | |
7664 | BaseHealth = math.huge | |
7665 | ||
7666 | ||
7667 | ||
7668 | ||
7669 | InForm = false | |
7670 | ||
7671 | Player = game.Players.LocalPlayer | |
7672 | Char = Player.Character | |
7673 | Torso = Char.Torso | |
7674 | ||
7675 | function Serious2() | |
7676 | for X = 1, 1 do wait() | |
7677 | asd:Destroy() | |
7678 | asd2 = Instance.new("Sound",char) | |
7679 | asd2.SoundId = "http://www.roblox.com/asset/?id = 662782202 " | |
7680 | asd2.Volume = 3 | |
7681 | asd2.Looped = false | |
7682 | asd2:Play() | |
7683 | chatfunc("Full power!") | |
7684 | local pie22 = Instance.new("ParticleEmitter") | |
7685 | pie22.Parent = tors | |
7686 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7687 | pie22.LightEmission = 1 | |
7688 | pie22.Size = NumberSequence.new(50) | |
7689 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7690 | pie22.Transparency = NumberSequence.new(0) | |
7691 | pie22.EmissionDirection = "Top" | |
7692 | pie22.Enabled = true | |
7693 | pie22.Lifetime = NumberRange.new(10) | |
7694 | pie22.Rotation = NumberRange.new(-420, 425) | |
7695 | pie22.Rate = 400 | |
7696 | pie22.Speed = NumberRange.new(100) | |
7697 | pie22.LockedToPart = false | |
7698 | pie22.VelocitySpread = 2 | |
7699 | wait(1) | |
7700 | pie22.Size = NumberSequence.new(70) | |
7701 | wait(1) | |
7702 | pie22.Size = NumberSequence.new(140) | |
7703 | lig = Instance.new("PointLight",player.Character.Torso) | |
7704 | lig.Color=Color3.new(255,255,0) | |
7705 | lig.Range = 6 | |
7706 | rubbermodo = 1 | |
7707 | hum.JumpPower = 270 | |
7708 | lig = Instance.new("PointLight",player.Character.Torso) | |
7709 | lig.Color=Color3.new(255,255,0) | |
7710 | lig.Range = 6 | |
7711 | Crater(head,30) | |
7712 | ||
7713 | wait(0) | |
7714 | for X = 1, 1 do wait() | |
7715 | local Effect = Instance.new("Part") | |
7716 | Effect.Name = "Effect" | |
7717 | Effect.Parent = Torso | |
7718 | Effect.CFrame = Torso.CFrame | |
7719 | Effect.BrickColor = BrickColor.new("Neon orange") | |
7720 | Effect.Shape = "Ball" | |
7721 | Effect.Size = Vector3.new(1, 1, 1) | |
7722 | Effect.Anchored = true | |
7723 | Effect.Material = "Neon" | |
7724 | Effect.CanCollide = false | |
7725 | Effect.CFrame = Torso.CFrame | |
7726 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
7727 | Effect.Transparency = Effect.Transparency + 0.04 | |
7728 | pie22:Destroy() | |
7729 | end | |
7730 | end | |
7731 | ||
7732 | repeat | |
7733 | Torso:FindFirstChild("Effect"):Remove() | |
7734 | until Torso:FindFirstChild("Effect") == nil | |
7735 | ||
7736 | ||
7737 | local Color1 = Color3.new(255, 255, 0) | |
7738 | local Color2 = Color3.new(255, 255, 0) | |
7739 | chatfunc("Full Power!") | |
7740 | Instance.new("ForceField",char).Visible = false | |
7741 | hum.Name = "youdungoofed" | |
7742 | ||
7743 | asd1 = Instance.new("Sound",char) | |
7744 | asd1.SoundId = "http://www.roblox.com/asset/?id = 386666019" | |
7745 | asd1.Volume = 1 | |
7746 | asd1.Looped = true | |
7747 | asd1:Play() | |
7748 | ||
7749 | local pie22 = Instance.new("ParticleEmitter") | |
7750 | pie22.Parent = larm | |
7751 | pie22.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7752 | pie22.LightEmission = 1 | |
7753 | pie22.Size = NumberSequence.new(0.6,0.8,0.6) | |
7754 | pie22.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7755 | pie22.Transparency = NumberSequence.new(0.7) | |
7756 | pie22.EmissionDirection = "Top" | |
7757 | pie22.Enabled = true | |
7758 | pie22.Lifetime = NumberRange.new(1) | |
7759 | pie22.Rotation = NumberRange.new(-420, 425) | |
7760 | pie22.Rate = 400 | |
7761 | pie22.Speed = NumberRange.new(1) | |
7762 | pie22.LockedToPart = false | |
7763 | pie22.VelocitySpread = 2 | |
7764 | local pie222 = Instance.new("ParticleEmitter") | |
7765 | pie222.Parent = rarm | |
7766 | pie222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7767 | pie222.LightEmission = 1 | |
7768 | pie222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7769 | pie222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7770 | pie222.Transparency = NumberSequence.new(0.7) | |
7771 | pie222.EmissionDirection = "Top" | |
7772 | pie222.Enabled = true | |
7773 | pie222.Lifetime = NumberRange.new(1) | |
7774 | pie222.Rotation = NumberRange.new(-420, 425) | |
7775 | pie222.Rate = 400 | |
7776 | pie222.Speed = NumberRange.new(1) | |
7777 | pie222.LockedToPart = false | |
7778 | pie222.VelocitySpread = 2 | |
7779 | local pie2222 = Instance.new("ParticleEmitter") | |
7780 | pie2222.Parent = lleg | |
7781 | pie2222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7782 | pie2222.LightEmission = 1 | |
7783 | pie2222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7784 | pie2222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7785 | pie2222.Transparency = NumberSequence.new(0.7) | |
7786 | pie2222.EmissionDirection = "Top" | |
7787 | pie2222.Enabled = true | |
7788 | pie2222.Lifetime = NumberRange.new(1) | |
7789 | pie2222.Rotation = NumberRange.new(-420, 425) | |
7790 | pie2222.Rate = 400 | |
7791 | pie2222.Speed = NumberRange.new(1) | |
7792 | pie2222.LockedToPart = false | |
7793 | pie2222.VelocitySpread = 2 | |
7794 | local pie22222 = Instance.new("ParticleEmitter") | |
7795 | pie22222.Parent = rleg | |
7796 | pie22222.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7797 | pie22222.LightEmission = 1 | |
7798 | pie22222.Size = NumberSequence.new(0.6,0.8,0.6) | |
7799 | pie22222.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7800 | pie22222.Transparency = NumberSequence.new(0.7) | |
7801 | pie22222.EmissionDirection = "Top" | |
7802 | pie22222.Enabled = true | |
7803 | pie22222.Lifetime = NumberRange.new(1) | |
7804 | pie22222.Rotation = NumberRange.new(-420, 425) | |
7805 | pie22222.Rate = 400 | |
7806 | pie22222.Speed = NumberRange.new(1) | |
7807 | pie22222.LockedToPart = false | |
7808 | pie22222.VelocitySpread = 2 | |
7809 | local pie2242 = Instance.new("ParticleEmitter") | |
7810 | pie2242.Parent = tors | |
7811 | pie2242.Color = ColorSequence.new(BrickColor.new("New Yeller").Color) | |
7812 | pie2242.LightEmission = 1 | |
7813 | pie2242.Size = NumberSequence.new(0.6,0.8,0.6) | |
7814 | pie2242.Texture = "http://www.roblox.com/asset/?id=133619974" | |
7815 | pie2242.Transparency = NumberSequence.new(0.7) | |
7816 | pie2242.EmissionDirection = "Top" | |
7817 | pie2242.Enabled = true | |
7818 | pie2242.Lifetime = NumberRange.new(1) | |
7819 | pie2242.Rotation = NumberRange.new(-420, 425) | |
7820 | pie2242.Rate = 400 | |
7821 | pie2242.Speed = NumberRange.new(1) | |
7822 | pie2242.LockedToPart = false | |
7823 | pie2242.VelocitySpread = 2 | |
7824 | ||
7825 | InForm = true | |
7826 | ||
7827 | Char.Humanoid.MaxHealth = Health | |
7828 | wait(0.3) | |
7829 | Char.Humanoid.Health = Health | |
7830 | rock = true | |
7831 | ||
7832 | end | |
7833 | ||
7834 | function Base() | |
7835 | InForm = false | |
7836 | local Effect = Instance.new("Part") | |
7837 | Effect.Name = "Effect" | |
7838 | Effect.Parent = Torso | |
7839 | Effect.CFrame = Torso.CFrame | |
7840 | Effect.BrickColor = BrickColor.new("White") | |
7841 | Effect.Shape = "Ball" | |
7842 | Effect.Size = Vector3.new(8, 8, 8) | |
7843 | Effect.Anchored = true | |
7844 | Effect.Material = "Neon" | |
7845 | Effect.CanCollide = false | |
7846 | for loop = 1, 25 do wait() | |
7847 | Effect.CFrame = Torso.CFrame | |
7848 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
7849 | Effect.Transparency = Effect.Transparency + 0.04 | |
7850 | ||
7851 | end | |
7852 | repeat | |
7853 | Torso:FindFirstChild("Effect"):Remove() | |
7854 | until Torso:FindFirstChild("Effect") == nil | |
7855 | ||
7856 | for i, v in pairs(Torso:GetChildren()) do | |
7857 | if v:IsA('ParticleEmitter') then | |
7858 | v:Remove() | |
7859 | asd1:Destroy() | |
7860 | killbrick:Destroy() | |
7861 | end | |
7862 | end | |
7863 | char.Humanoid.MaxHealth = BaseHealth | |
7864 | wait(0.3) | |
7865 | char.Humanoid.Health = BaseHealth | |
7866 | ||
7867 | ||
7868 | end | |
7869 | ||
7870 | mouse.KeyDown:connect(function(key) | |
7871 | if key=="9" then | |
7872 | Base() | |
7873 | lig:Destroy() | |
7874 | rubbermodo = 0 | |
7875 | end | |
7876 | end) | |
7877 | ||
7878 | Player.Chatted:connect(function(Message) | |
7879 | if Message == "Time to get serious." and InForm == false then | |
7880 | wait(0.10) | |
7881 | Serious2() | |
7882 | end | |
7883 | if Message == "off" or Message == "Nice fight." and InForm == true then | |
7884 | Base() | |
7885 | end | |
7886 | end) | |
7887 | ||
7888 | ||
7889 | local plr = game.Players.LocalPlayer | |
7890 | local char = game.Workspace:WaitForChild(plr.Name) | |
7891 | local m = plr:GetMouse() | |
7892 | local trans = false | |
7893 | local realdeb = false | |
7894 | local PGui = plr:WaitForChild("PlayerGui") | |
7895 | local chat = game:GetService"Chat" | |
7896 | local Head = char:WaitForChild"Head" | |
7897 | local Torso = char:WaitForChild"Torso" | |
7898 | local HRP = char:WaitForChild"HumanoidRootPart" | |
7899 | local RArm = char:WaitForChild"Right Arm" | |
7900 | local LArm = char:WaitForChild"Left Arm" | |
7901 | local RLeg = char:WaitForChild"Right Leg" | |
7902 | local LLeg = char:WaitForChild"Left Leg" | |
7903 | local Hum = char:WaitForChild'Humanoid' | |
7904 | local lastspeed = Hum.WalkSpeed | |
7905 | msgz = Instance.new("Message", PGui) | |
7906 | msgz.Text = "Full Power! Press , To transform!" | |
7907 | game.Debris:AddItem(msgz, 6.5) | |
7908 | local part = Instance.new"Part" | |
7909 | part.Name = "TransformationPart" | |
7910 | part.FormFactor = "Custom" | |
7911 | part.Size = Vector3.new(1,1,1) | |
7912 | part.Material = "SmoothPlastic" | |
7913 | part.TopSurface = "Smooth" | |
7914 | part.BottomSurface = "Smooth" | |
7915 | part.Anchored = true | |
7916 | part.CanCollide = false | |
7917 | ||
7918 | local Joints = {Head = Torso.Neck, Torso = HRP.RootJoint, RArm = Torso["Right Shoulder"], LArm = Torso["Left Shoulder"], RLeg = Torso["Right Hip"], LLeg = Torso["Left Hip"]} | |
7919 | local Refresh = function() | |
7920 | Joints.Head.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7921 | Joints.Torso.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7922 | Joints.RArm.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7923 | Joints.LArm.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7924 | Joints.RLeg.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7925 | Joints.LLeg.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7926 | Joints.Head.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7927 | Joints.Torso.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
7928 | Joints.RArm.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7929 | Joints.LArm.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7930 | Joints.RLeg.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
7931 | Joints.LLeg.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
7932 | end | |
7933 | ||
7934 | local Anims = {Scrunch = function(active) | |
7935 | if active then | |
7936 | for i = 0, 10, 0.5 do | |
7937 | wait(0.016666666666667) | |
7938 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
7939 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0) | |
7940 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01) | |
7941 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01) | |
7942 | end | |
7943 | else | |
7944 | do | |
7945 | for i = 0, 10, 0.5 do | |
7946 | wait(0.016666666666667) | |
7947 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
7948 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(math.rad(-30) / 10, 0, 0):inverse() | |
7949 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.01, -0.02, 0.01):inverse() | |
7950 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.01, 0.02, 0.01):inverse() | |
7951 | end | |
7952 | Refresh() | |
7953 | end | |
7954 | end | |
7955 | end | |
7956 | , Implode = function(active) | |
7957 | if active then | |
7958 | for i = 0, 10, 0.75 do | |
7959 | wait(0.016666666666667) | |
7960 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155) | |
7961 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155) | |
7962 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015) | |
7963 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015) | |
7964 | end | |
7965 | else | |
7966 | do | |
7967 | for i = 0, 10, 0.75 do | |
7968 | wait(0.016666666666667) | |
7969 | Joints.RArm.C0 = Joints.RArm.C0 * CFrame.Angles(-0.025, -0.055, 0.155):inverse() | |
7970 | Joints.LArm.C0 = Joints.LArm.C0 * CFrame.Angles(-0.025, 0.055, -0.155):inverse() | |
7971 | Joints.RLeg.C0 = Joints.RLeg.C0 * CFrame.Angles(-0.015, -0.025, -0.015):inverse() | |
7972 | Joints.LLeg.C0 = Joints.LLeg.C0 * CFrame.Angles(-0.015, 0.025, -0.015):inverse() | |
7973 | end | |
7974 | end | |
7975 | end | |
7976 | end | |
7977 | } | |
7978 | ||
7979 | local transform = function() | |
7980 | if (trans == false and realdeb == false) then | |
7981 | trans = true | |
7982 | Hum.WalkSpeed = 0 | |
7983 | local area = part:Clone() | |
7984 | area.CFrame = Torso.CFrame | |
7985 | area.Parent = workspace | |
7986 | Torso.Anchored = true | |
7987 | for i=1,10 do | |
7988 | area.CFrame = area.CFrame * CFrame.new(0,1,0) | |
7989 | Torso.CFrame = area.CFrame | |
7990 | wait() | |
7991 | end | |
7992 | local weld2 = Instance.new("Weld", area) | |
7993 | weld2.Part0 = area | |
7994 | weld2.Part1 = Torso | |
7995 | weld2.C0 = CFrame.new() | |
7996 | Torso.Anchored = false | |
7997 | delay(0,function() | |
7998 | end) | |
7999 | delay(0,function() | |
8000 | chat:Chat(char["Head"],"How about i give it all i got?","Red") | |
8001 | end) | |
8002 | delay(0,function() | |
8003 | for i=1,5 do | |
8004 | wait() | |
8005 | delay(0,function() | |
8006 | local dzI = 100 | |
8007 | while dzI > 10 do | |
8008 | dzI = dzI - 1 | |
8009 | local p = Instance.new("Part", char.Head) | |
8010 | p.Anchored = false | |
8011 | p.Size = Vector3.new(math.random(1,4),math.random(1,4),math.random(1,4)) | |
8012 | p.Material = "Neon" | |
8013 | local kekz2 = math.random(1,2) | |
8014 | if kekz2 == 2 then | |
8015 | p.BrickColor = BrickColor.new("New Yeller") | |
8016 | else | |
8017 | p.BrickColor = BrickColor.new("Neon orange") | |
8018 | end | |
8019 | p.CFrame = char.Torso.CFrame*CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
8020 | local t = Instance.new("BodyPosition", p) | |
8021 | t.P = 20000 | |
8022 | t.Position = char.Torso.Position | |
8023 | game:service("Debris"):AddItem(p, 2.4) | |
8024 | wait() | |
8025 | delay(0,function() | |
8026 | for i=1,10 do | |
8027 | p.Transparency = i/10 | |
8028 | p.CFrame = p.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20),0,math.random(-20,20)) | |
8029 | wait() | |
8030 | end | |
8031 | p:Remove() | |
8032 | end) | |
8033 | end | |
8034 | end) | |
8035 | end | |
8036 | end) | |
8037 | delay(0,function() | |
8038 | for q=1,120 do | |
8039 | local xz = Instance.new("Part",plr.Character) | |
8040 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8041 | xz.Anchored = true | |
8042 | xz.Transparency = 1 | |
8043 | xz.CanCollide = false | |
8044 | wait(0.04) | |
8045 | local pos2 = xz.Position | |
8046 | local pos = plr.Character.Torso.Position | |
8047 | local radius = math.random(1,1.5) | |
8048 | local numParts = math.random(5,15) | |
8049 | local model = plr.Character.Torso | |
8050 | local lv = CFrame.new(pos,pos2).lookVector | |
8051 | local dist = (pos-pos2).magnitude | |
8052 | local dbp = dist/numParts | |
8053 | local last = pos | |
8054 | for i = 1,numParts do | |
8055 | local p = Instance.new("Part",model) | |
8056 | p.FormFactor = "Symmetric" | |
8057 | p.Size = Vector3.new(1,1,1) | |
8058 | p.CanCollide = false | |
8059 | p.Anchored = true | |
8060 | p.Material = "Neon" | |
8061 | local kekz2 = math.random(1,2) | |
8062 | if kekz2 == 2 then | |
8063 | p.BrickColor = BrickColor.new("New Yeller") | |
8064 | else | |
8065 | p.BrickColor = BrickColor.new("Neon orange") | |
8066 | end | |
8067 | p.Transparency = 0.5 | |
8068 | local x = math.random(-2,2)/2*dbp/4 | |
8069 | local y = math.random(-2,2)/2*dbp/4 | |
8070 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8071 | local dist2 = (p2.p-last).magnitude | |
8072 | local mid = (p2.p+last)/2 | |
8073 | local m = Instance.new("BlockMesh",p) | |
8074 | m.Scale = Vector3.new(radius,radius,dist2) | |
8075 | p.CFrame = CFrame.new(mid,p2.p) | |
8076 | last = p2.p | |
8077 | game:GetService("Debris"):AddItem(p,0.1) | |
8078 | end | |
8079 | wait() | |
8080 | xz:remove() | |
8081 | end | |
8082 | ||
8083 | kekd = false | |
8084 | end) | |
8085 | Anims.Scrunch(true) | |
8086 | for i = 1, 8 do | |
8087 | wait(0.9) | |
8088 | for i = 1, math.random(4, 6) do | |
8089 | local p = part:Clone() | |
8090 | p.Parent = Torso | |
8091 | p.Anchored = true | |
8092 | p.Material = "Neon" | |
8093 | p.CFrame = Torso.CFrame | |
8094 | p.CanCollide = false | |
8095 | -- game:service("Debris"):AddItem(p, 0.2) | |
8096 | local kekz2 = math.random(1,2) | |
8097 | if kekz2 == 2 then | |
8098 | p.BrickColor = BrickColor.new("New Yeller") | |
8099 | else | |
8100 | p.BrickColor = BrickColor.new("New Yeller") | |
8101 | end | |
8102 | local w = Instance.new("Weld", p) | |
8103 | w.Part0 = p | |
8104 | w.Part1 = Torso | |
8105 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8106 | local m = Instance.new("CylinderMesh", p) | |
8107 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8108 | coroutine.resume(coroutine.create(function() | |
8109 | for i = 1, 25 do | |
8110 | wait(0.071428571428571) | |
8111 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8112 | p.Transparency = i / 25 | |
8113 | end | |
8114 | pcall(game.Destroy, p) | |
8115 | end | |
8116 | )) | |
8117 | end | |
8118 | end | |
8119 | coroutine.resume(coroutine.create(function() | |
8120 | for i = 1, 6 do | |
8121 | wait(0.9) | |
8122 | --Player.Character.Torso.Anchored = true | |
8123 | coroutine.resume(coroutine.create(function() | |
8124 | local p = part:Clone() | |
8125 | p.Parent = Torso | |
8126 | p.Anchored = false | |
8127 | p.CanCollide = false | |
8128 | p.CFrame = Torso.CFrame | |
8129 | local kekz2 = math.random(1,2) | |
8130 | if kekz2 == 2 then | |
8131 | p.BrickColor = BrickColor.new("New Yeller") | |
8132 | else | |
8133 | p.BrickColor = BrickColor.new("Neon orange") | |
8134 | end | |
8135 | --game:service("Debris"):AddItem(p, 0.2) | |
8136 | local w = Instance.new("Weld", p) | |
8137 | w.Part0 = p | |
8138 | w.Part1 = Torso | |
8139 | w.C0 = w.C0 * CFrame.Angles(0, math.rad(90), 0) | |
8140 | local m = Instance.new("SpecialMesh", p) | |
8141 | m.MeshId = "rbxassetid://3270017" | |
8142 | m.Scale = Vector3.new(10, 10, 5) | |
8143 | coroutine.resume(coroutine.create(function() | |
8144 | for i = 1, 25 do | |
8145 | wait(0.071428571428571) | |
8146 | w.C0 = w.C0 * CFrame.Angles(-0.05, 0.05 * math.random(), 0.05 * math.random()) | |
8147 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8148 | p.Transparency = i / 25 | |
8149 | end | |
8150 | pcall(game.Destroy, p) | |
8151 | end | |
8152 | )) | |
8153 | end | |
8154 | )) | |
8155 | local p = part:Clone() | |
8156 | do | |
8157 | p.Parent = Torso | |
8158 | p.Anchored = false | |
8159 | p.CFrame = Torso.CFrame | |
8160 | p.CanCollide = false | |
8161 | -- game:service("Debris"):AddItem(p, 0.2) | |
8162 | local kekz2 = math.random(1,2) | |
8163 | if kekz2 == 2 then | |
8164 | p.BrickColor = BrickColor.new("New Yeller") | |
8165 | else | |
8166 | p.BrickColor = BrickColor.new("Neon orange") | |
8167 | end | |
8168 | local w = Instance.new("Weld", p) | |
8169 | w.Part0 = p | |
8170 | w.Part1 = Torso | |
8171 | local m = Instance.new("SpecialMesh", p) | |
8172 | m.MeshId = "rbxassetid://3270017" | |
8173 | m.Scale = Vector3.new(10, 10, 5) | |
8174 | coroutine.resume(coroutine.create(function() | |
8175 | for i = 1, 25 do | |
8176 | wait(0.071428571428571) | |
8177 | w.C0 = w.C0 * CFrame.Angles(0.05 * math.random(), -0.05 * math.random(), -0.05 * math.random()) | |
8178 | m.Scale = m.Scale + Vector3.new(3, 3, 1.5) | |
8179 | p.Transparency = i / 25 | |
8180 | end | |
8181 | pcall(game.Destroy, p) | |
8182 | end | |
8183 | )) | |
8184 | end | |
8185 | end | |
8186 | end | |
8187 | )) | |
8188 | for i=1, 6 do | |
8189 | wait(0.9) | |
8190 | for i = 1, math.random(4, 6) do | |
8191 | local p = part:Clone() | |
8192 | p.Parent = Torso | |
8193 | p.Anchored = true | |
8194 | p.CFrame = Torso.CFrame | |
8195 | local kekz2 = math.random(1,2) | |
8196 | if kekz2 == 2 then | |
8197 | p.BrickColor = BrickColor.new("New Yeller") | |
8198 | else | |
8199 | p.BrickColor = BrickColor.new("Bright yellow") | |
8200 | end | |
8201 | local me = Instance.new("SpecialMesh",p) | |
8202 | me.MeshId = "rbxassetid://9982590" | |
8203 | me.Scale = Vector3.new(4,4,4) | |
8204 | delay(0,function() | |
8205 | for i=1,10 do | |
8206 | p.Transparency = i/10 | |
8207 | p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(-20,20)/50),math.rad(math.random(-20,20)/50),0) | |
8208 | me.Scale = me.Scale + Vector3.new(4,4,4) | |
8209 | wait() | |
8210 | end | |
8211 | p:Destroy() | |
8212 | end) | |
8213 | wait() | |
8214 | end | |
8215 | end | |
8216 | Torso.Anchored = true | |
8217 | for i=1,10 do | |
8218 | Torso.CFrame = Torso.CFrame * CFrame.new(0,-1,0) | |
8219 | area.CFrame = Torso.CFrame | |
8220 | wait() | |
8221 | end | |
8222 | realdeb = true | |
8223 | Hum.WalkSpeed = 16 | |
8224 | Anims.Scrunch(false) | |
8225 | Torso.Anchored = false | |
8226 | area:Destroy() | |
8227 | wait(0.6) | |
8228 | Serious() | |
8229 | end | |
8230 | end | |
8231 | ||
8232 | local off = function() | |
8233 | if (realdeb == true and trans == true) then | |
8234 | trans = false | |
8235 | Hum.WalkSpeed = 0 | |
8236 | delay(0,function() | |
8237 | for q=1,120 do | |
8238 | local xz = Instance.new("Part",plr.Character) | |
8239 | xz.CFrame = plr.Character.Torso.CFrame*CFrame.new(math.random(-450,450),math.random(-450,450),math.random(-450,450)) | |
8240 | xz.Anchored = true | |
8241 | xz.Transparency = 1 | |
8242 | xz.CanCollide = false | |
8243 | wait(0.04) | |
8244 | local pos2 = xz.Position | |
8245 | local pos = plr.Character.Torso.Position | |
8246 | local radius = math.random(1,1.5) | |
8247 | local numParts = math.random(5,15) | |
8248 | local model = plr.Character.Torso | |
8249 | local lv = CFrame.new(pos,pos2).lookVector | |
8250 | local dist = (pos-pos2).magnitude | |
8251 | local dbp = dist/numParts | |
8252 | local last = pos | |
8253 | for i = 1,numParts do | |
8254 | local p = Instance.new("Part",model) | |
8255 | p.FormFactor = "Symmetric" | |
8256 | p.Size = Vector3.new(1,1,1) | |
8257 | p.CanCollide = false | |
8258 | p.Anchored = false | |
8259 | p.Material = "Neon" | |
8260 | local kekz2 = math.random(1,2) | |
8261 | if kekz2 == 2 then | |
8262 | p.BrickColor = BrickColor.new("Really red") | |
8263 | else | |
8264 | p.BrickColor = BrickColor.new("Dark red") | |
8265 | end | |
8266 | p.Transparency = 0.5 | |
8267 | local x = math.random(-2,2)/2*dbp/4 | |
8268 | local y = math.random(-2,2)/2*dbp/4 | |
8269 | local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0) | |
8270 | local dist2 = (p2.p-last).magnitude | |
8271 | local mid = (p2.p+last)/2 | |
8272 | local m = Instance.new("BlockMesh",p) | |
8273 | m.Scale = Vector3.new(radius,radius,dist2) | |
8274 | p.CFrame = CFrame.new(mid,p2.p) | |
8275 | last = p2.p | |
8276 | game:GetService("Debris"):AddItem(p,0.2) | |
8277 | end | |
8278 | wait() | |
8279 | xz:remove() | |
8280 | end | |
8281 | end) | |
8282 | Anims.Scrunch(true) | |
8283 | for i = 1, 8 do | |
8284 | wait(0.9) | |
8285 | for i = 1, math.random(4, 6) do | |
8286 | local p = part:Clone() | |
8287 | p.Parent = Torso | |
8288 | p.Anchored = true | |
8289 | p.CFrame = Torso.CFrame | |
8290 | p.CanCollide = false | |
8291 | -- game:service("Debris"):AddItem(p, 0.2) | |
8292 | local kekz2 = math.random(1,2) | |
8293 | if kekz2 == 2 then | |
8294 | p.BrickColor = BrickColor.new("Really red") | |
8295 | else | |
8296 | p.BrickColor = BrickColor.new("Dark red") | |
8297 | end | |
8298 | local w = Instance.new("Weld", p) | |
8299 | w.Part0 = p | |
8300 | w.Part1 = Torso | |
8301 | w.C0 = w.C0 * CFrame.Angles(math.random() * 6.28, math.random() * 6.28, math.random() * 6.28) | |
8302 | local m = Instance.new("CylinderMesh", p) | |
8303 | m.Scale = Vector3.new(math.random() * 3, 320, math.random() * 3) | |
8304 | coroutine.resume(coroutine.create(function() | |
8305 | for i = 1, 25 do | |
8306 | wait(0.071428571428571) | |
8307 | w.C0 = w.C0 * CFrame.Angles(0.05, 0.05, 0.05) | |
8308 | p.Transparency = i / 25 | |
8309 | end | |
8310 | pcall(game.Destroy, p) | |
8311 | end | |
8312 | )) | |
8313 | end | |
8314 | end | |
8315 | Anims.Scrunch(false) | |
8316 | Hum.WalkSpeed = 16 | |
8317 | realdeb = false | |
8318 | end | |
8319 | end | |
8320 | ||
8321 | ||
8322 | m.KeyDown:connect(function(key) | |
8323 | local k = key:lower() | |
8324 | if key == "," then | |
8325 | if (trans == false and realdeb == false) then | |
8326 | transform() | |
8327 | elseif (trans == true and realdeb == true) then | |
8328 | off() | |
8329 | end | |
8330 | end | |
8331 | end) | |
8332 | ||
8333 | ||
8334 | ||
8335 | Humanoid.Animator.Parent = nil | |
8336 | idleanim=.4 | |
8337 | while true do | |
8338 | swait() | |
8339 | sine = sine + change | |
8340 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
8341 | local velderp=RootPart.Velocity.y | |
8342 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
8343 | if equipped==true or equipped==false then | |
8344 | if attack==false then | |
8345 | idle=idle+1 | |
8346 | else | |
8347 | idle=0 | |
8348 | end | |
8349 | if idle>=500 then | |
8350 | if attack==false then | |
8351 | --Sheath() | |
8352 | end | |
8353 | end | |
8354 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
8355 | Anim="Jump" | |
8356 | if attack==false then | |
8357 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
8358 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8359 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8360 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
8361 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8362 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3) | |
8363 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8364 | RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2) | |
8365 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2) | |
8366 | end | |
8367 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
8368 | Anim="Fall" | |
8369 | if attack==false then | |
8370 | Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3) | |
8371 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
8372 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
8373 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3) | |
8374 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8375 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3) | |
8376 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
8377 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2) | |
8378 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2) | |
8379 | end | |
8380 | elseif torvel<1 and hitfloor~=nil then | |
8381 | Anim="Idle" | |
8382 | if jumped == false then | |
8383 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
8384 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3) | |
8385 | end | |
8386 | if attack==false then | |
8387 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
8388 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 0 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3) | |
8389 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3) | |
8390 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3) | |
8391 | end | |
8392 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
8393 | Anim="Walk" | |
8394 | if jumped == false then | |
8395 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
8396 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3) | |
8397 | end | |
8398 | if attack==false then | |
8399 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3) | |
8400 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8401 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3) | |
8402 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3) | |
8403 | end | |
8404 | elseif torvel>=22 and hitfloor~=nil then | |
8405 | Anim="Run" | |
8406 | if jumped == false then | |
8407 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
8408 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3) | |
8409 | end | |
8410 | if attack==false then | |
8411 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3) | |
8412 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
8413 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3) | |
8414 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3) | |
8415 | end | |
8416 | end | |
8417 | end | |
8418 | end |