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