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