SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter -- | |
2 | ||
3 | ||
4 | - | -- Discord: Nebula the Zorua#6969 |
4 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end |
5 | - | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA |
5 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
6 | do | |
7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") | |
8 | script.Parent = Player.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | - | local plr = plrs.LocalPlayer |
12 | + | Event.Name = "UserInput_Event" |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | - | Player = game:GetService("Players").LocalPlayer |
119 | + | |
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | ||
130 | ||
131 | ||
132 | ||
133 | ||
134 | ||
135 | ||
136 | ||
137 | ||
138 | ||
139 | ||
140 | ||
141 | ||
142 | ||
143 | ||
144 | ||
145 | ||
146 | ||
147 | print([[ | |
148 | ||
149 | ||
150 | I have unfinished converter, Sorry! - ramin999232 | |
151 | ||
152 | ||
153 | ________________________________________________________________________ | |
154 | ||
155 | ||
156 | ||
157 | Do you think that you can use without Demo? | |
158 | ||
159 | ||
160 | Hmm | |
161 | ||
162 | ||
163 | C R E A T E D B Y NEBULA_ZORUA! | |
164 | ||
165 | ||
166 | ||
167 | F I L T E R I N G E N A B L E D B Y RAMIN999232 (EARTHWORM_SALLY)! | |
168 | ||
169 | ||
170 | __________________________________________________________________________________________ | |
171 | ||
172 | ||
173 | LEAKED | |
174 | ||
175 | ||
176 | DON'T LEAK ONCE AGAIN! | |
177 | ||
178 | ||
179 | ||
180 | THIS IS LEAKED ALREADY... | |
181 | ||
182 | ||
183 | RARE SCRIPT! | |
184 | ||
185 | ||
186 | DO NOT USE IN PRIVATE SERVERS/PUBLIC SERVERS THAT HAVE A MODERATOR/ADMIN IN VOIDSB! | |
187 | ||
188 | ||
189 | - | local Plr = Plrs.LocalPlayer |
189 | + | _______________________________________________________________________________________________________ |
190 | ||
191 | ||
192 | ||
193 | i hope you enjoy | |
194 | ||
195 | ||
196 | ]]) | |
197 | ||
198 | ||
199 | ||
200 | ||
201 | ||
202 | - | local Mouse = Plr:GetMouse() |
202 | + | |
203 | ||
204 | ||
205 | ||
206 | ||
207 | ||
208 | ||
209 | ||
210 | ||
211 | ||
212 | ||
213 | ||
214 | ||
215 | ||
216 | ||
217 | print([[ | |
218 | -- Created by Nebula_Zorua -- | |
219 | -- Filitering Enabled By ramin999232! thanks to Nebula_Zorua for local! -- | |
220 | -- NebulaGlitcher Demo -- | |
221 | -- The official second Glitcher's Demo -- | |
222 | -- Discord: Nebula the Zorua#6969]]) | |
223 | ||
224 | ||
225 | wait(0.2) | |
226 | ||
227 | --Values (EDITED) | |
228 | ||
229 | ||
230 | local plrs = game:GetService("Players") | |
231 | local plr = owner | |
232 | local char = plr.Character | |
233 | local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") | |
234 | ||
235 | local ANIM = "Idle" | |
236 | local ATTACK = false | |
237 | local EQUIPPED = false | |
238 | local HOLD = false | |
239 | local COMBO = 1 | |
240 | local Rooted = false | |
241 | local SINE = 0 | |
242 | local KEYHOLD = false | |
243 | local WALKINGANIM = false | |
244 | local WALK = 0 | |
245 | local VALUE1 = false | |
246 | local VALUE2 = false | |
247 | ||
248 | local ATTACK = false | |
249 | ||
250 | function MouseDown(Mouse) | |
251 | if ATTACK == false then | |
252 | end | |
253 | end | |
254 | ||
255 | function MouseUp(Mouse) | |
256 | HOLD = false | |
257 | end | |
258 | ||
259 | local function weldBetween(a, b) | |
260 | local weldd = Instance.new("ManualWeld") | |
261 | weldd.Part0 = a | |
262 | weldd.Part1 = b | |
263 | weldd.C0 = CFrame.new() | |
264 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
265 | weldd.Parent = a | |
266 | return weldd | |
267 | end | |
268 | ||
269 | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
270 | local acs = Instance.new("Part") | |
271 | acs.CanCollide = false | |
272 | acs.Anchored = false | |
273 | acs.Size = Vector3.new(0,0,0) | |
274 | acs.CFrame = attachmentpart.CFrame | |
275 | acs.Parent = Character | |
276 | acs.BrickColor = color | |
277 | local meshs = Instance.new("SpecialMesh") | |
278 | meshs.MeshId = mesh | |
279 | meshs.TextureId = texture | |
280 | meshs.Parent = acs | |
281 | meshs.Scale = scale | |
282 | meshs.Offset = offset | |
283 | weldBetween(attachmentpart,acs) | |
284 | end | |
285 | ||
286 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
287 | if TYPE == "Gem" then | |
288 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
289 | acs.Anchored = false | |
290 | acs.CanCollide = false | |
291 | acs.CFrame = PART.CFrame | |
292 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
293 | weldBetween(PART,acs) | |
294 | elseif TYPE == "Skull" then | |
295 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
296 | acs.Anchored = false | |
297 | acs.CanCollide = false | |
298 | acs.CFrame = PART.CFrame | |
299 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
300 | weldBetween(PART,acs) | |
301 | elseif TYPE == "Eye" then | |
302 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
303 | acs.Anchored = false | |
304 | acs.CanCollide = false | |
305 | acs.CFrame = PART.CFrame | |
306 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
307 | weldBetween(PART,acs) | |
308 | end | |
309 | end | |
310 | ||
311 | ||
312 | function MakeForm(PART,TYPE) | |
313 | if TYPE == "Cyl" then | |
314 | local MSH = IT("CylinderMesh",PART) | |
315 | elseif TYPE == "Ball" then | |
316 | local MSH = IT("SpecialMesh",PART) | |
317 | MSH.MeshType = "Sphere" | |
318 | elseif TYPE == "Wedge" then | |
319 | local MSH = IT("SpecialMesh",PART) | |
320 | MSH.MeshType = "Wedge" | |
321 | elseif TYPE == "Head" then | |
322 | local MSH = IT("SpecialMesh",PART) | |
323 | MSH.Scale = VT(1.25,1.25,1.25) | |
324 | end | |
325 | end | |
326 | ||
327 | ||
328 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
329 | local NEWWELD = IT(TYPE) | |
330 | NEWWELD.Part0 = PART0 | |
331 | NEWWELD.Part1 = PART1 | |
332 | NEWWELD.C0 = C0 | |
333 | NEWWELD.C1 = C1 | |
334 | NEWWELD.Parent = PARENT | |
335 | return NEWWELD | |
336 | end | |
337 | ||
338 | Player = owner | |
339 | PlayerGui = Player.PlayerGui | |
340 | Cam = workspace.CurrentCamera | |
341 | Backpack = Player.Backpack | |
342 | Character = Player.Character | |
343 | Humanoid = Character.Humanoid | |
344 | Mouse = Player:GetMouse() | |
345 | RootPart = Character["HumanoidRootPart"] | |
346 | Torso = Character["Torso"] | |
347 | Head = Character["Head"] | |
348 | RightArm = Character["Right Arm"] | |
349 | LeftArm = Character["Left Arm"] | |
350 | RightLeg = Character["Right Leg"] | |
351 | LeftLeg = Character["Left Leg"] | |
352 | RootJoint = RootPart["RootJoint"] | |
353 | Neck = Torso["Neck"] | |
354 | RightShoulder = Torso["Right Shoulder"] | |
355 | LeftShoulder = Torso["Left Shoulder"] | |
356 | RightHip = Torso["Right Hip"] | |
357 | LeftHip = Torso["Left Hip"] | |
358 | ||
359 | ||
360 | Class_Name = "Void Face" | |
361 | ||
362 | Player_Size = 1 --Size of the player. | |
363 | Animation_Speed = 3 | |
364 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
365 | ||
366 | local Speed = 16 | |
367 | local Effects2 = {} | |
368 | ||
369 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
370 | local NEWPART = IT("Part") | |
371 | NEWPART.formFactor = FORMFACTOR | |
372 | NEWPART.Reflectance = REFLECTANCE | |
373 | NEWPART.Transparency = TRANSPARENCY | |
374 | NEWPART.CanCollide = false | |
375 | NEWPART.Locked = true | |
376 | NEWPART.Anchored = true | |
377 | if ANCHOR == false then | |
378 | NEWPART.Anchored = false | |
379 | end | |
380 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
381 | NEWPART.Name = NAME | |
382 | NEWPART.Size = SIZE | |
383 | NEWPART.Position = Torso.Position | |
384 | NEWPART.Material = MATERIAL | |
385 | NEWPART:BreakJoints() | |
386 | NEWPART.Parent = PARENT | |
387 | return NEWPART | |
388 | end | |
389 | ||
390 | --End of Values | |
391 | ||
392 | --// Shortcut Variables \\-- | |
393 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
394 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
395 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
396 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
397 | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end} | |
398 | local R3 = {N=Region3.new} | |
399 | local De = S.Debris | |
400 | local WS = workspace | |
401 | local Lght = S.Lighting | |
402 | local RepS = S.ReplicatedStorage | |
403 | local IN = Instance.new | |
404 | local Plrs = S.Players | |
405 | local UIS = S.UserInputService | |
406 | local CAS = S.ContextActionService | |
407 | --// Initializing \\-- | |
408 | local Plr = owner | |
409 | local Char = Plr.Character | |
410 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
411 | local RArm = Char["Right Arm"] | |
412 | local LArm = Char["Left Arm"] | |
413 | local RLeg = Char["Right Leg"] | |
414 | local LLeg = Char["Left Leg"] | |
415 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
416 | local Torso = Char.Torso | |
417 | local Head = Char.Head | |
418 | local NeutralAnims = true | |
419 | local Attack = false | |
420 | local Debounces = {Debounces={}} | |
421 | local Hit = {} | |
422 | local Sine = 0 | |
423 | local Change = 1 | |
424 | local PlrGui = Plr:FindFirstChildOfClass'PlayerGui' | |
425 | local Hue = 0; | |
426 | local Combo = 1 | |
427 | local BloodPuddles = {} | |
428 | ||
429 | local DontAttackPlayers = false | |
430 | ||
431 | local BurnInterval = .7 | |
432 | ||
433 | local Radioactive = {} | |
434 | ||
435 | local Hits = 0; | |
436 | local HitTime = time() | |
437 | ||
438 | local MaxHits = 60; | |
439 | ||
440 | local Effects = IN("Folder",Char) | |
441 | Effects.Name = "Effects" | |
442 | ||
443 | --Invencible Script by 1x1x1x1IAMbck or Shackluster!: | |
444 | ||
445 | function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain) | |
446 | ||
447 | local dmg = math.random(min,max) | |
448 | for i,v in ipairs(workspace:GetChildren()) do | |
449 | if v:FindFirstChild("HitBy"..Player.Name) == nil then | |
450 | local body = v:GetChildren() | |
451 | for part = 1, #body do | |
452 | if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
453 | if(body[part].Position - position).Magnitude < radius then | |
454 | if v.ClassName == "Model" then | |
455 | if v:FindFirstChildOfClass("Humanoid") then | |
456 | local HUMAN = v:FindFirstChildOfClass("Humanoid") | |
457 | if HUMAN.Health ~= 0 then | |
458 | if HasChain == true then | |
459 | local defence = Instance.new("BoolValue",v) | |
460 | defence.Name = ("HitBy"..Player.Name) | |
461 | game:GetService("Debris"):AddItem(defence, 1) | |
462 | coroutine.resume(coroutine.create(function() | |
463 | local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
464 | if TORSO then | |
465 | local PART = IT("Part",Effects) | |
466 | PART.Anchored = true | |
467 | PART.CanCollide = false | |
468 | PART.Transparency = 1 | |
469 | PART.CFrame = CF(position) | |
470 | Debris:AddItem(PART,15) | |
471 | local A = IT("Attachment",PART) | |
472 | --TORSO.Anchored = true | |
473 | local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false) | |
474 | Front.CFrame = CF(position) | |
475 | Front.CanCollide = true | |
476 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1) | |
477 | local B = IT("Attachment",Front) | |
478 | local ChainLink = IT("Beam",Effects) | |
479 | ChainLink.Texture = "rbxassetid://1262544869" | |
480 | ChainLink.TextureSpeed = 0 | |
481 | ChainLink.FaceCamera = true | |
482 | ChainLink.Width0 = 3 | |
483 | ChainLink.Attachment0 = A | |
484 | ChainLink.Attachment1 = B | |
485 | ChainLink.TextureMode = "Static" | |
486 | local bv = Instance.new("BodyVelocity") | |
487 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
488 | bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500 | |
489 | bv.Parent = Front | |
490 | bv.Name = "MOVE" | |
491 | coroutine.resume(coroutine.create(function() | |
492 | Swait(30) | |
493 | bv:remove() | |
494 | local POS = Front.Position | |
495 | Front.CanCollide = false | |
496 | local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0) | |
497 | local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0) | |
498 | for i = 0, 1, 0.07 do | |
499 | Swait() | |
500 | Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i)) | |
501 | end | |
502 | Front:remove() | |
503 | ChainLink:remove() | |
504 | end)) | |
505 | local harm = Front.Touched:Connect(function(hit) | |
506 | impale(Front,hit) | |
507 | end) | |
508 | end | |
509 | end)) | |
510 | elseif DoesWarp == true then | |
511 | local defence = Instance.new("BoolValue",v) | |
512 | defence.Name = ("HitBy"..Player.Name) | |
513 | game:GetService("Debris"):AddItem(defence, 0.001) | |
514 | local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
515 | Warp(TORSO,Instakill) | |
516 | else | |
517 | if CanBeDodgedByJumping == true then | |
518 | if body[part].Position.Y < position.Y+5 then | |
519 | if math.random(1,100) < critrate+1 then | |
520 | HUMAN.Health = HUMAN.Health - dmg*critmultiplier | |
521 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
522 | else | |
523 | HUMAN.Health = HUMAN.Health - dmg | |
524 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
525 | end | |
526 | local defence = Instance.new("BoolValue",v) | |
527 | defence.Name = ("HitBy"..Player.Name) | |
528 | game:GetService("Debris"):AddItem(defence, 0.01) | |
529 | end | |
530 | else | |
531 | if beserk == true then | |
532 | HUMAN.Health = 0 | |
533 | end | |
534 | if math.random(1,100) < critrate+1 then | |
535 | HUMAN.Health = HUMAN.Health - dmg*critmultiplier | |
536 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
537 | else | |
538 | HUMAN.Health = HUMAN.Health - dmg | |
539 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
540 | end | |
541 | local defence = Instance.new("BoolValue",v) | |
542 | defence.Name = ("HitBy"..Player.Name) | |
543 | game:GetService("Debris"):AddItem(defence, 0.01) | |
544 | Humanoid.Died:connect(function() | |
545 | ATTACK = true | |
546 | end) | |
547 | ||
548 | end | |
549 | end | |
550 | end | |
551 | end | |
552 | end | |
553 | --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
554 | end | |
555 | end | |
556 | end | |
557 | if v.ClassName == "Part" then | |
558 | if v.Anchored == false and (v.Position - position).Magnitude < radius then | |
559 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
560 | end | |
561 | end | |
562 | end | |
563 | end | |
564 | end | |
565 | ||
566 | function Warp(Victim,WarpToVoid) | |
567 | Victim.Anchored = true | |
568 | coroutine.resume(coroutine.create(function() | |
569 | local GUI,GUI2 = CreateGUICircle(Victim) | |
570 | CreateSound("1208650519", Victim, 10, 1) | |
571 | for i = 1, 100 do | |
572 | Swait() | |
573 | GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0) | |
574 | GUI2.Rotation = GUI2.Rotation + 4 | |
575 | end | |
576 | CastWarpOutlines(Victim.Parent) | |
577 | if WarpToVoid == false then | |
578 | Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65)) | |
579 | CreateSound("1177785010", Victim, 10, 1) | |
580 | local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid") | |
581 | if HUMANOID ~= nil then | |
582 | local dmg = MRANDOM(75,95) | |
583 | HUMANOID.Health = HUMANOID.Health - dmg | |
584 | StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3)) | |
585 | end | |
586 | for i = 1, 50 do | |
587 | Swait() | |
588 | GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) | |
589 | GUI2.Rotation = GUI2.Rotation - 8 | |
590 | end | |
591 | Victim.Anchored = false | |
592 | GUI:remove() | |
593 | elseif WarpToVoid == true then | |
594 | CastWarpOutlines(Victim.Parent) | |
595 | q = Victim.Parent:GetChildren() | |
596 | for i = 1, #q do | |
597 | if q[i] ~= Victim then | |
598 | q[i]:remove() | |
599 | end | |
600 | end | |
601 | CreateSound("1177785010", Victim, 10, 1) | |
602 | Victim.Transparency = 1 | |
603 | for i = 1, 50 do | |
604 | Swait() | |
605 | GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) | |
606 | GUI2.Rotation = GUI2.Rotation - 8 | |
607 | end | |
608 | Victim.Parent:remove() | |
609 | end | |
610 | end)) | |
611 | end | |
612 | ||
613 | function killnearest(position,range,maxstrength) | |
614 | for i,v in ipairs(workspace:GetChildren()) do | |
615 | local body = v:GetChildren() | |
616 | for part = 1, #body do | |
617 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
618 | if(body[part].Position - position).Magnitude < range then | |
619 | if v.ClassName == "Model" then | |
620 | v:BreakJoints() | |
621 | end | |
622 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
623 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
624 | end | |
625 | end | |
626 | end | |
627 | if v.ClassName == "Part" then | |
628 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
629 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
630 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
631 | end | |
632 | end | |
633 | end | |
634 | end | |
635 | --End of Ivencible script.. | |
636 | ||
637 | ||
638 | --// Output Stuff \\-- | |
639 | ||
640 | function Output(type,...) | |
641 | print(table.concat{...,"\t"}) | |
642 | end | |
643 | ||
644 | warn("NEBULAGLITCHER DEMO (EDITED BY FENIX7667 (Imortal edit)") | |
645 | warn("CONTROLS:") | |
646 | warn("SOLITUDE - Z, T") | |
647 | warn("THE BIG BLACK - Z (NOT FINISHED)") | |
648 | warn("CLARITY - Z") | |
649 | warn("GLITCHY - Z") | |
650 | warn("STRESS - Z") | |
651 | warn("JUSTICE - Z") | |
652 | ||
653 | warn("The real NebulaGlitcher has more modes, and a combo system. This is just a demo.") | |
654 | ||
655 | --// Debounce System \\-- | |
656 | ||
657 | function Debounces:New(name,cooldown) | |
658 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
659 | setmetatable(aaaaa,{__index = Debounces}) | |
660 | Debounces.Debounces[name] = aaaaa | |
661 | return aaaaa | |
662 | end | |
663 | ||
664 | function Debounces:Use(overrideUsable) | |
665 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
666 | if(self.Usable or overrideUsable)then | |
667 | self.Usable = false | |
668 | self.CoolingDown = true | |
669 | local LastUse = time() | |
670 | self.LastUse = LastUse | |
671 | delay(self.Cooldown or 2,function() | |
672 | if(self.LastUse == LastUse)then | |
673 | self.CoolingDown = false | |
674 | self.Usable = true | |
675 | end | |
676 | end) | |
677 | end | |
678 | end | |
679 | ||
680 | function Debounces:Get(name) | |
681 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
682 | for i,v in next, Debounces.Debounces do | |
683 | if(i == name)then | |
684 | return v; | |
685 | end | |
686 | end | |
687 | end | |
688 | ||
689 | function Debounces:GetProgressPercentage() | |
690 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
691 | if(self.CoolingDown and not self.Usable)then | |
692 | return math.max( | |
693 | math.floor( | |
694 | ( | |
695 | (time()-self.LastUse)/self.Cooldown or 2 | |
696 | )*100 | |
697 | ) | |
698 | ) | |
699 | else | |
700 | return 100 | |
701 | end | |
702 | end | |
703 | ||
704 | --// Instance Creation Functions \\-- | |
705 | ||
706 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
707 | local Sound = IN("Sound") | |
708 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
709 | Sound.Pitch = pitch or 1 | |
710 | Sound.Volume = volume or 1 | |
711 | Sound.Looped = looped or false | |
712 | if(autoPlay)then | |
713 | coroutine.wrap(function() | |
714 | repeat wait() until Sound.IsLoaded | |
715 | Sound.Playing = autoPlay or false | |
716 | end)() | |
717 | end | |
718 | if(not looped and effect)then | |
719 | Sound.Stopped:connect(function() | |
720 | Sound.Volume = 0 | |
721 | Sound:destroy() | |
722 | end) | |
723 | elseif(effect)then | |
724 | warn("Sound can't be looped and a sound effect!") | |
725 | end | |
726 | Sound.Parent =parent or Torso | |
727 | return Sound | |
728 | end | |
729 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
730 | local part = IN("Part") | |
731 | part.Parent = parent or Char | |
732 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
733 | part.Material = material or Enum.Material.SmoothPlastic | |
734 | part.TopSurface,part.BottomSurface=10,10 | |
735 | part.Size = size or V3.N(1,1,1) | |
736 | part.CFrame = cframe or CF.N(0,0,0) | |
737 | part.CanCollide = cancollide or false | |
738 | part.Anchored = anchored or false | |
739 | return part | |
740 | end | |
741 | ||
742 | function Weld(part0,part1,c0,c1) | |
743 | local weld = IN("Weld") | |
744 | weld.Parent = part0 | |
745 | weld.Part0 = part0 | |
746 | weld.Part1 = part1 | |
747 | weld.C0 = c0 or CF.N() | |
748 | weld.C1 = c1 or CF.N() | |
749 | return weld | |
750 | end | |
751 | ||
752 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
753 | local part = IN("SpecialMesh") | |
754 | part.MeshId = meshid or "" | |
755 | part.TextureId = textid or "" | |
756 | part.Scale = scale or V3.N(1,1,1) | |
757 | part.Offset = offset or V3.N(0,0,0) | |
758 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
759 | part.Parent = parent | |
760 | return part | |
761 | end | |
762 | ||
763 | NewInstance = function(instance,parent,properties) | |
764 | local inst = Instance.new(instance) | |
765 | inst.Parent = parent | |
766 | if(properties)then | |
767 | for i,v in next, properties do | |
768 | pcall(function() inst[i] = v end) | |
769 | end | |
770 | end | |
771 | return inst; | |
772 | end | |
773 | ||
774 | function Clone(instance,parent,properties) | |
775 | local inst = instance:Clone() | |
776 | inst.Parent = parent | |
777 | if(properties)then | |
778 | for i,v in next, properties do | |
779 | pcall(function() inst[i] = v end) | |
780 | end | |
781 | end | |
782 | return inst; | |
783 | end | |
784 | ||
785 | function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf) | |
786 | local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()}) | |
787 | local Sound = IN("Sound") | |
788 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
789 | Sound.Pitch = pitch or 1 | |
790 | Sound.Volume = volume or 1 | |
791 | Sound.Looped = looped or false | |
792 | if(autoPlay)then | |
793 | coroutine.wrap(function() | |
794 | repeat wait() until Sound.IsLoaded | |
795 | Sound.Playing = autoPlay or false | |
796 | end)() | |
797 | end | |
798 | if(not looped and effect)then | |
799 | Sound.Stopped:connect(function() | |
800 | Sound.Volume = 0 | |
801 | soundPart:destroy() | |
802 | end) | |
803 | elseif(effect)then | |
804 | warn("Sound can't be looped and a sound effect!") | |
805 | end | |
806 | Sound.Parent = soundPart | |
807 | return Sound,soundPart | |
808 | end | |
809 | ||
810 | ||
811 | --// Extended ROBLOX tables \\-- | |
812 | local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance}) | |
813 | --// Require stuff \\-- | |
814 | function CamShake(who,times,intense,origin) | |
815 | coroutine.wrap(function() | |
816 | if(script:FindFirstChild'CamShake')then | |
817 | local cam = script.CamShake:Clone() | |
818 | cam:WaitForChild'intensity'.Value = intense | |
819 | cam:WaitForChild'times'.Value = times | |
820 | ||
821 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end | |
822 | cam.Parent = who | |
823 | wait() | |
824 | cam.Disabled = false | |
825 | elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then | |
826 | local intensity = intense | |
827 | local cam = workspace.CurrentCamera | |
828 | for i = 1, times do | |
829 | local camDistFromOrigin | |
830 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
831 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25 | |
832 | elseif(typeof(origin) == 'Vector3')then | |
833 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25 | |
834 | end | |
835 | if(camDistFromOrigin)then | |
836 | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) | |
837 | end | |
838 | cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4) | |
839 | swait() | |
840 | end | |
841 | end | |
842 | end)() | |
843 | end | |
844 | ||
845 | ||
846 | function CamShakeAll(times,intense,origin) | |
847 | for _,v in next, Plrs:players() do | |
848 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
849 | end | |
850 | end | |
851 | ||
852 | function CamShakeAOE(origin,range,times,intense,blacklist) | |
853 | local hit = {} | |
854 | for _,v in next, getRegion(origin,range,blacklist or {}) do | |
855 | if(S.Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then | |
856 | CamShake(v.Parent,times,intense,origin) | |
857 | hit[v.Parent] = true | |
858 | end | |
859 | end | |
860 | end | |
861 | ||
862 | function ServerScript(code) | |
863 | if(script:FindFirstChild'Loadstring')then | |
864 | local load = script.Loadstring:Clone() | |
865 | load:WaitForChild'Sauce'.Value = code | |
866 | load.Disabled = false | |
867 | load.Parent = workspace | |
868 | elseif(NS and typeof(NS) == 'function')then | |
869 | NS(code,workspace) | |
870 | else | |
871 | warn("no serverscripts lol") | |
872 | end | |
873 | end | |
874 | ||
875 | function LocalOnPlayer(who,code) | |
876 | ServerScript([[ | |
877 | wait() | |
878 | script.Parent=nil | |
879 | if(not _G.Http)then _G.Http = game:service'HttpService' end | |
880 | ||
881 | local Http = _G.Http or game:service'HttpService' | |
882 | ||
883 | local source = ]].."[["..code.."]]"..[[ | |
884 | local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php" | |
885 | local asd = Http:PostAsync(link,source) | |
886 | repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID | |
887 | local ID = Http:JSONDecode(asd).Result.Require_ID | |
888 | local vs = require(ID).VORTH_SCRIPT | |
889 | vs.Parent = game:service'Players'.]]..who.Name..[[.Character | |
890 | ]]) | |
891 | end | |
892 | ||
893 | --// Customization \\-- | |
894 | ||
895 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
896 | local Remove_Hats = false | |
897 | local Remove_Clothing = false | |
898 | local PlayerSize = 1 | |
899 | local DamageColor = BrickColor.new'Really black' | |
900 | local MusicID = 1564523997 | |
901 | local Pitch = 1 | |
902 | local VisSong = 511924043; | |
903 | ||
904 | local God = false | |
905 | local Muted = false | |
906 | ||
907 | local PrimaryParts = {} | |
908 | local SecondaryParts = {} | |
909 | ||
910 | local WalkSpeed = 16 | |
911 | ||
912 | local Mode = 1; | |
913 | ||
914 | --// Weapon and GUI creation, and Character Customization \\-- | |
915 | ||
916 | pcall(function()Char.LeftWing:destroy()end) | |
917 | pcall(function()Char.Halo:destroy()end) | |
918 | local toggleTag = true | |
919 | local txt = Instance.new("BillboardGui", PlrGui) | |
920 | txt.Adornee = Head | |
921 | txt.Name = "NameDetect" | |
922 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
923 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
924 | local text = Instance.new("TextLabel", txt) | |
925 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
926 | text.FontSize = "Size8" | |
927 | text.TextScaled = true | |
928 | text.TextTransparency = 0 | |
929 | text.BackgroundTransparency = 1 | |
930 | text.TextTransparency = 0 | |
931 | text.TextStrokeTransparency = 0 | |
932 | text.Font = "Fantasy" | |
933 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
934 | text.TextColor3 = Color3.new(0,0,0) | |
935 | text.Text = "Solitude" | |
936 | ||
937 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
938 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
939 | ||
940 | function RecolorTextAndRename(name,col1,col2) | |
941 | text.TextStrokeColor3 = col2 | |
942 | text.TextColor3 = col1 | |
943 | text.Text = name | |
944 | end | |
945 | ||
946 | New = function(Object, Parent, Name, Data) | |
947 | local Object = Instance.new(Object) | |
948 | for Index, Value in pairs(Data or {}) do | |
949 | Object[Index] = Value | |
950 | end | |
951 | Object.Parent = Parent | |
952 | Object.Name = Name | |
953 | return Object | |
954 | end | |
955 | ||
956 | local Feather = New("Model",nil,"Feather",{}) | |
957 | local Main = New("Part",Feather,"Main",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.127610922, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
958 | local Meshie = New("SpecialMesh",Main,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
959 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, 0.144406915, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
960 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
961 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.272017837, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
962 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
963 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
964 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
965 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
966 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
967 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
968 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, 0.144407034, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
969 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
970 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
971 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, -0.405595958, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
972 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
973 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C1 = CFrame.new(0, -0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
974 | local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, 0.144407034, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),}) | |
975 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
976 | local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, -0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),}) | |
977 | ||
978 | for _,v in next, Feather:children() do v.CanCollide = false v.BrickColor = BrickColor.new'Black' v.Material = Enum.Material.Neon v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) end | |
979 | ||
980 | local Core = New("Model",Char,"Core",{}) | |
981 | ||
982 | local Core1 = New("Part",Core,"Core1",{BrickColor = BrickColor.new("Black"),CanCollide=false,Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.5, 0.5, 1.04999959),CFrame = CFrame.new(-11.8130245, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),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),}) | |
983 | local CW1 = New("Motor",Core1,"CW1",{Part0 = Core1,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761127472, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),}) | |
984 | ||
985 | local Core2 = New("Part",Core,"Core2",{BrickColor = BrickColor.new("Black"),CanCollide=false,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.349999994, 0.349999994, 1.06999981),CFrame = CFrame.new(-11.8130217, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),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),}) | |
986 | local CW2 = New("Motor",Core2,"CW2",{Part0 = Core2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761413574, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),}) | |
987 | ||
988 | local CoreH = NewInstance("Humanoid",Core,{MaxHealth=500,Health=500}) | |
989 | ||
990 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
991 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
992 | ||
993 | local Music = Sound(Char,MusicID,1,3,true,false,true) | |
994 | Music.Name = 'Music' | |
995 | ||
996 | if(PlayerSize ~= 1)then | |
997 | for _,v in next, Char:GetDescendants() do | |
998 | if(v:IsA'BasePart')then | |
999 | v.Size = v.Size * PlayerSize | |
1000 | end | |
1001 | end | |
1002 | end | |
1003 | ||
1004 | local Halo = NewInstance("Model",Char,{Name='Halo'}) | |
1005 | ||
1006 | local LWing = NewInstance("Model",Char,{Name='LeftWing'}) | |
1007 | local RWing = NewInstance("Model",Char,{Name='RightWing'}) | |
1008 | ||
1009 | local LWingEXT = NewInstance("Model",Char,{Name='LeftWingEXT'}) | |
1010 | local RWingEXT = NewInstance("Model",Char,{Name='RightWingEXT'}) | |
1011 | ||
1012 | local LWingWelds = {} | |
1013 | local RWingWelds = {} | |
1014 | ||
1015 | local LWingEWelds = {} | |
1016 | local RWingEWelds = {} | |
1017 | ||
1018 | local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
1019 | local LWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
1020 | local RWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
1021 | ||
1022 | for i = 1, 360,5 do | |
1023 | local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Black",Material=Enum.Material.Neon,Size=V3.N(0.25,0.1,0.1),Anchored=false,CanCollide=false,Locked=true}) | |
1024 | local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-1)}) | |
1025 | table.insert(PrimaryParts,part) | |
1026 | end | |
1027 | ||
1028 | for i = 1, 6 do | |
1029 | local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
1030 | cr.Transparency = 1 | |
1031 | local fuck = Feather:Clone(); | |
1032 | local men = fuck.Main | |
1033 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
1034 | local weld1 = Weld(cr,men) | |
1035 | local weld = Weld(men,LWingHandle) | |
1036 | if(i > 3)then | |
1037 | for _,v in next, fuck:children() do v.Parent = LWingEXT v.Transparency = 1 end | |
1038 | else | |
1039 | for _,v in next, fuck:children() do v.Parent = LWing end | |
1040 | end | |
1041 | ||
1042 | table.insert(LWingWelds,weld) | |
1043 | table.insert(PrimaryParts,cr) | |
1044 | end | |
1045 | ||
1046 | for i = 1, 6 do | |
1047 | local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
1048 | cr.Transparency = 1 | |
1049 | local fuck = Feather:Clone(); | |
1050 | local men = fuck.Main | |
1051 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
1052 | local weld1 = Weld(cr,men) | |
1053 | local weld = Weld(men,RWingHandle) | |
1054 | ||
1055 | if(i > 3)then | |
1056 | for _,v in next, fuck:children() do v.Parent = RWingEXT if(v:IsA'BasePart')then v.Transparency = 1 end end | |
1057 | else | |
1058 | for _,v in next, fuck:children() do v.Parent = RWing if(v:IsA'BasePart')then v.Transparency = 1 end end | |
1059 | end | |
1060 | table.insert(RWingWelds,weld) | |
1061 | table.insert(PrimaryParts,cr) | |
1062 | end | |
1063 | ||
1064 | for _,v in next, PrimaryParts do | |
1065 | if(v:IsA'BasePart')then | |
1066 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1067 | end | |
1068 | end | |
1069 | ||
1070 | Core1.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1071 | Core2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
1072 | ||
1073 | ||
1074 | --// Stop animations \\-- | |
1075 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
1076 | v:Stop(); | |
1077 | end | |
1078 | ||
1079 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
1080 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
1081 | ||
1082 | --// Joints \\-- | |
1083 | ||
1084 | local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
1085 | local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) | |
1086 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
1087 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
1088 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
1089 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
1090 | local HW = NewInstance('Motor',Char,{Part0=Torso,Part1=HaloHandle,C0=CF.N(0,1.5,1.5)*CF.A(M.R(90),0,0)}) | |
1091 | local LWW = NewInstance('Motor',Char,{Part0=Torso,Part1=LWingHandle,C0=CF.N(0,0,1.5)}) | |
1092 | local RWW = NewInstance('Motor',Char,{Part0=Torso,Part1=RWingHandle,C0=CF.N(0,0,1.5)}) | |
1093 | ||
1094 | local LSC0 = LS.C0 | |
1095 | local RSC0 = RS.C0 | |
1096 | local NKC0 = NK.C0 | |
1097 | local LHC0 = LH.C0 | |
1098 | local RHC0 = RH.C0 | |
1099 | local RJC0 = RJ.C0 | |
1100 | ||
1101 | --// Artificial HB \\-- | |
1102 | ||
1103 | local ArtificialHB = IN("BindableEvent", script) | |
1104 | ArtificialHB.Name = "Heartbeat" | |
1105 | ||
1106 | script:WaitForChild("Heartbeat") | |
1107 | ||
1108 | local tf = 0 | |
1109 | local allowframeloss = false | |
1110 | local tossremainder = false | |
1111 | local lastframe = tick() | |
1112 | local frame = 1/Frame_Speed | |
1113 | ArtificialHB:Fire() | |
1114 | ||
1115 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
1116 | tf = tf + s | |
1117 | if tf >= frame then | |
1118 | if allowframeloss then | |
1119 | script.Heartbeat:Fire() | |
1120 | lastframe = tick() | |
1121 | else | |
1122 | for i = 1, math.floor(tf / frame) do | |
1123 | ArtificialHB:Fire() | |
1124 | end | |
1125 | lastframe = tick() | |
1126 | end | |
1127 | if tossremainder then | |
1128 | tf = 0 | |
1129 | else | |
1130 | tf = tf - frame * math.floor(tf / frame) | |
1131 | end | |
1132 | end | |
1133 | end) | |
1134 | ||
1135 | function swait(num) | |
1136 | if num == 0 or num == nil then | |
1137 | ArtificialHB.Event:wait() | |
1138 | else | |
1139 | for i = 0, num do | |
1140 | ArtificialHB.Event:wait() | |
1141 | end | |
1142 | end | |
1143 | end | |
1144 | ||
1145 | ||
1146 | --// Effect Function(s) \\-- | |
1147 | ||
1148 | function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId) | |
1149 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) | |
1150 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
1151 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1152 | fxP.Color = Core2.Color | |
1153 | end | |
1154 | local Scale = 1 | |
1155 | local speeder = Speed | |
1156 | if(Type == "Multiply")then | |
1157 | Scale = 1*Inc | |
1158 | elseif(Type == "Divide")then | |
1159 | Scale = 1/Inc | |
1160 | end | |
1161 | coroutine.wrap(function() | |
1162 | for i = 0,10/Lifetime,.1 do | |
1163 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1164 | fxP.Color = Core2.Color | |
1165 | end | |
1166 | ||
1167 | if(Type == "Multiply")then | |
1168 | Scale = Scale - 0.01*Inc/Lifetime | |
1169 | elseif(Type == "Divide")then | |
1170 | Scale = Scale - 0.01/Inc*Lifetime | |
1171 | end | |
1172 | speeder = speeder - 0.01*Speed*Lifetime | |
1173 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
1174 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
1175 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0) | |
1176 | if(fxP.Transparency >= 1)then break end | |
1177 | swait() | |
1178 | end | |
1179 | fxP:destroy() | |
1180 | end)() | |
1181 | end | |
1182 | ||
1183 | function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId,NotAffect) | |
1184 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false) | |
1185 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
1186 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
1187 | fxP.Color = Core2.Color | |
1188 | end | |
1189 | local Scale = 1 | |
1190 | if(Type == "Multiply")then | |
1191 | Scale = 1*Inc | |
1192 | elseif(Type == "Divide")then | |
1193 | Scale = 1/Inc | |
1194 | end | |
1195 | coroutine.wrap(function() | |
1196 | for i = 0,10/Lifetime,.1 do | |
1197 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
1198 | fxP.Color = Core2.Color | |
1199 | end | |
1200 | ||
1201 | if(Type == "Multiply")then | |
1202 | Scale = Scale - 0.01*Inc/Lifetime | |
1203 | elseif(Type == "Divide")then | |
1204 | Scale = Scale - 0.01/Inc*Lifetime | |
1205 | end | |
1206 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
1207 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
1208 | swait() | |
1209 | end | |
1210 | fxP:destroy() | |
1211 | end)() | |
1212 | return fxP | |
1213 | end | |
1214 | ||
1215 | function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId) | |
1216 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) | |
1217 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
1218 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1219 | fxP.Color = Core2.Color | |
1220 | end | |
1221 | local Scale = 1 | |
1222 | local speeder = Speed | |
1223 | if(Type == "Multiply")then | |
1224 | Scale = 1*Inc | |
1225 | elseif(Type == "Divide")then | |
1226 | Scale = 1/Inc | |
1227 | end | |
1228 | coroutine.wrap(function() | |
1229 | for i = 0,10/Lifetime,.1 do | |
1230 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1231 | fxP.Color = Core2.Color | |
1232 | end | |
1233 | if(Type == "Multiply")then | |
1234 | Scale = Scale - 0.01*Inc/Lifetime | |
1235 | elseif(Type == "Divide")then | |
1236 | Scale = Scale - 0.01/Inc*Lifetime | |
1237 | end | |
1238 | if(Fade)then | |
1239 | fxP.Transparency = i/(10/Lifetime) | |
1240 | end | |
1241 | speeder = speeder - 0.01*Speed*Lifetime/10 | |
1242 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
1243 | fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
1244 | swait() | |
1245 | end | |
1246 | fxP:destroy() | |
1247 | end)() | |
1248 | end | |
1249 | ||
1250 | function Bezier(startpos, pos2, pos3, endpos, t) | |
1251 | local A = startpos:lerp(pos2, t) | |
1252 | local B = pos2:lerp(pos3, t) | |
1253 | local C = pos3:lerp(endpos, t) | |
1254 | local lerp1 = A:lerp(B, t) | |
1255 | local lerp2 = B:lerp(C, t) | |
1256 | local cubic = lerp1:lerp(lerp2, t) | |
1257 | return cubic | |
1258 | end | |
1259 | ||
1260 | function SphereFX(duration,color,scale,pos,endScale,increment) | |
1261 | return Effect{ | |
1262 | Effect='ResizeAndFade', | |
1263 | Color=color, | |
1264 | Size=scale, | |
1265 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1266 | CFrame=pos, | |
1267 | FXSettings={ | |
1268 | EndSize=endScale, | |
1269 | EndIsIncrement=increment | |
1270 | } | |
1271 | } | |
1272 | end | |
1273 | ||
1274 | function BlastFX(duration,color,scale,pos,endScale,increment) | |
1275 | return Effect{ | |
1276 | Effect='ResizeAndFade', | |
1277 | Color=color, | |
1278 | Size=scale, | |
1279 | Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'}, | |
1280 | CFrame=pos, | |
1281 | FXSettings={ | |
1282 | EndSize=endScale, | |
1283 | EndIsIncrement=increment | |
1284 | } | |
1285 | } | |
1286 | end | |
1287 | ||
1288 | function BlockFX(duration,color,scale,pos,endScale,increment) | |
1289 | return Effect{ | |
1290 | Effect='ResizeAndFade', | |
1291 | Color=color, | |
1292 | Size=scale, | |
1293 | CFrame=pos, | |
1294 | FXSettings={ | |
1295 | EndSize=endScale, | |
1296 | EndIsIncrement=increment | |
1297 | } | |
1298 | } | |
1299 | end | |
1300 | ||
1301 | function ShootBullet(data) | |
1302 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1303 | local Size = data.Size or V3.N(2,2,2) | |
1304 | local Color = data.Color or BrickColor.new'Crimson' | |
1305 | local StudsPerFrame = data.Speed or 10 | |
1306 | local Shape = data.Shape or 'Ball' | |
1307 | local Frames = data.Frames or 160 | |
1308 | local Pos = data.Origin or Torso.CFrame | |
1309 | local Direction = data.Direction or Mouse.Hit | |
1310 | local Material = data.Material or Enum.Material.Neon | |
1311 | local OnUpdate = data.Update or nil | |
1312 | local OnHit = data.HitFunction or function(hit,pos) | |
1313 | AOEDamage(pos,10,{MinimumDamage=25,MaximumDamage=60}) | |
1314 | Effect{ | |
1315 | Effect='ResizeAndFade', | |
1316 | Color=Color, | |
1317 | Size=V3.N(10,10,10), | |
1318 | Material=Enum.Material.Neon, | |
1319 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1320 | CFrame=CF.N(pos), | |
1321 | FXSettings={ | |
1322 | EndSize=V3.N(.05,.05,.05), | |
1323 | EndIsIncrement=true | |
1324 | } | |
1325 | } | |
1326 | for i = 1, 5 do | |
1327 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1328 | Effect{ | |
1329 | Effect='Fade', | |
1330 | Frames=65, | |
1331 | Size=V3.N(5,5,10), | |
1332 | CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos), | |
1333 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1334 | Material=Enum.Material.Neon, | |
1335 | Color=Color, | |
1336 | MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p, | |
1337 | } | |
1338 | end | |
1339 | end | |
1340 | ||
1341 | local Bullet = Part(Effects,Color,Material,Size,Pos,true,false) | |
1342 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1343 | if(Shape == 'Ball')then | |
1344 | BMesh.MeshType = Enum.MeshType.Sphere | |
1345 | elseif(Shape == 'Head')then | |
1346 | BMesh.MeshType = Enum.MeshType.Head | |
1347 | elseif(Shape == 'Cylinder')then | |
1348 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1349 | end | |
1350 | ||
1351 | coroutine.wrap(function() | |
1352 | for i = 1, Frames+1 do | |
1353 | if(OnUpdate and typeof(OnUpdate) == 'function')then | |
1354 | OnUpdate(Bullet,BMesh,i) | |
1355 | end | |
1356 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame) | |
1357 | if(hit)then | |
1358 | OnHit(hit,pos,norm,dist) | |
1359 | break; | |
1360 | else | |
1361 | Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame) | |
1362 | end | |
1363 | swait() | |
1364 | end | |
1365 | Bullet:destroy() | |
1366 | end)() | |
1367 | ||
1368 | end | |
1369 | ||
1370 | function Puddle(hit,pos,norm,data) | |
1371 | local material = data.Material or Enum.Material.SmoothPlastic | |
1372 | local color = data.Color or BrickColor.new'Crimson' | |
1373 | local size = data.Size or 1 | |
1374 | ||
1375 | if(hit.Name ~= 'BloodPuddle')then | |
1376 | local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'}) | |
1377 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
1378 | BloodPuddles[Puddle] = 0 | |
1379 | else | |
1380 | local cyl = hit:FindFirstChild'CylinderMesh' | |
1381 | if(cyl)then | |
1382 | BloodPuddles[hit] = 0 | |
1383 | cyl.Scale = cyl.Scale + V3.N(size,0,size) | |
1384 | hit.Transparency = 0 | |
1385 | end | |
1386 | end | |
1387 | end | |
1388 | ||
1389 | function Droplet(data) | |
1390 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1391 | local Size = data.Size or 1 | |
1392 | local Color = data.Color or BrickColor.new'Crimson' | |
1393 | local StudsPerFrame = data.Speed or 1 | |
1394 | local Shape = data.Shape or 'Ball' | |
1395 | local Frames = (data.Frames or 160)+1 | |
1396 | local Pos = data.Origin or Root.CFrame | |
1397 | local Direction = data.Direction or Root.CFrame.lookVector*100000 | |
1398 | local Material = data.Material or Enum.Material.SmoothPlastic | |
1399 | local Drop = data.Drop or .05 | |
1400 | local Ignorelist = data.Ignorelist or nil | |
1401 | ||
1402 | local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false) | |
1403 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1404 | if(Shape == 'Ball')then | |
1405 | BMesh.MeshType = Enum.MeshType.Sphere | |
1406 | elseif(Shape == 'Head')then | |
1407 | BMesh.MeshType = Enum.MeshType.Head | |
1408 | elseif(Shape == 'Cylinder')then | |
1409 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1410 | end | |
1411 | ||
1412 | coroutine.wrap(function() | |
1413 | for i = 1, Frames do | |
1414 | Pos = Pos * CF.N(0,-(Drop*i),0) | |
1415 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame) | |
1416 | if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then | |
1417 | Puddle(hit,pos,norm,data) | |
1418 | break; | |
1419 | else | |
1420 | Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)) | |
1421 | end | |
1422 | swait() | |
1423 | end | |
1424 | Bullet:destroy() | |
1425 | end)() | |
1426 | end | |
1427 | ||
1428 | function Zap(data) | |
1429 | local sCF,eCF = data.StartCFrame,data.EndCFrame | |
1430 | assert(sCF,"You need a start CFrame!") | |
1431 | assert(eCF,"You need an end CFrame!") | |
1432 | local parts = data.PartCount or 15 | |
1433 | local zapRot = data.ZapRotation or {-5,5} | |
1434 | local startThick = data.StartSize or 3; | |
1435 | local endThick = data.EndSize or startThick/2; | |
1436 | local color = data.Color or BrickColor.new'Electric blue' | |
1437 | local delay = data.Delay or 35 | |
1438 | local delayInc = data.DelayInc or 0 | |
1439 | local lastLightning; | |
1440 | local MagZ = (sCF.p - eCF.p).magnitude | |
1441 | local thick = startThick | |
1442 | local inc = (startThick/parts)-(endThick/parts) | |
1443 | ||
1444 | for i = 1, parts do | |
1445 | local pos = sCF.p | |
1446 | if(lastLightning)then | |
1447 | pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p | |
1448 | end | |
1449 | delay = delay + delayInc | |
1450 | local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false) | |
1451 | local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot))) | |
1452 | if(parts == i)then | |
1453 | local MagZ = (pos-eCF.p).magnitude | |
1454 | zapPart.Size = V3.N(endThick,endThick,MagZ) | |
1455 | zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2) | |
1456 | Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}} | |
1457 | else | |
1458 | zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2) | |
1459 | end | |
1460 | ||
1461 | lastLightning = zapPart | |
1462 | Effect{Effect='Fade',Manual=zapPart,Frames=delay} | |
1463 | ||
1464 | thick=thick-inc | |
1465 | ||
1466 | end | |
1467 | end | |
1468 | ||
1469 | function Zap2(data) | |
1470 | local Color = data.Color or BrickColor.new'Electric blue' | |
1471 | local StartPos = data.Start or Torso.Position | |
1472 | local EndPos = data.End or Mouse.Hit.p | |
1473 | local SegLength = data.SegL or 2 | |
1474 | local Thicc = data.Thickness or 0.5 | |
1475 | local Fades = data.Fade or 45 | |
1476 | local Parent = data.Parent or Effects | |
1477 | local MaxD = data.MaxDist or 200 | |
1478 | local Branch = data.Branches or false | |
1479 | local Material = data.Material or Enum.Material.Neon | |
1480 | local Raycasts = data.Raycasts or false | |
1481 | local Offset = data.Offset or {0,360} | |
1482 | local AddMesh = (data.Mesh == nil and true or data.Mesh) | |
1483 | if((StartPos-EndPos).magnitude > MaxD)then | |
1484 | EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p | |
1485 | end | |
1486 | local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude | |
1487 | if(Raycasts)then | |
1488 | hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD) | |
1489 | end | |
1490 | local segments = dist/SegLength | |
1491 | local model = IN("Model",Parent) | |
1492 | model.Name = 'Lightning' | |
1493 | local Last; | |
1494 | for i = 1, segments do | |
1495 | local size = (segments-i)/25 | |
1496 | local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false) | |
1497 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1498 | if(Last and math.floor(segments) == i)then | |
1499 | local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude | |
1500 | prt.Size = V3.N(Thicc+size,MagZ,Thicc+size) | |
1501 | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0) | |
1502 | elseif(not Last)then | |
1503 | prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1504 | else | |
1505 | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1506 | end | |
1507 | Last = prt | |
1508 | if(Branch)then | |
1509 | local choice = M.RNG(1,7+((segments-i)*2)) | |
1510 | if(choice == 1)then | |
1511 | local LastB; | |
1512 | for i2 = 1,M.RNG(2,5) do | |
1513 | local size2 = ((segments-i)/35)/i2 | |
1514 | local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false) | |
1515 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1516 | if(not LastB)then | |
1517 | prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1518 | else | |
1519 | prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1520 | end | |
1521 | LastB = prt | |
1522 | end | |
1523 | end | |
1524 | end | |
1525 | end | |
1526 | if(Fades > 0)then | |
1527 | coroutine.wrap(function() | |
1528 | for i = 1, Fades do | |
1529 | for _,v in next, model:children() do | |
1530 | if(v:IsA'BasePart')then | |
1531 | v.Transparency = (i/Fades) | |
1532 | end | |
1533 | end | |
1534 | swait() | |
1535 | end | |
1536 | model:destroy() | |
1537 | end)() | |
1538 | else | |
1539 | S.Debris:AddItem(model,.01) | |
1540 | end | |
1541 | return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model} | |
1542 | end | |
1543 | ||
1544 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
1545 | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) | |
1546 | local tween = S.TweenService:Create(obj, info, props) | |
1547 | ||
1548 | tween:Play() | |
1549 | end | |
1550 | ||
1551 | function Effect(data) | |
1552 | local FX = data.Effect or 'ResizeAndFade' | |
1553 | local Parent = data.Parent or Effects | |
1554 | local Color = data.Color or C3.N(0,0,0) | |
1555 | local Size = data.Size or V3.N(1,1,1) | |
1556 | local MoveDir = data.MoveDirection or nil | |
1557 | local MeshData = data.Mesh or nil | |
1558 | local SndData = data.Sound or nil | |
1559 | local Frames = data.Frames or 45 | |
1560 | local Manual = data.Manual or nil | |
1561 | local Material = data.Material or nil | |
1562 | local CFra = data.CFrame or Torso.CFrame | |
1563 | local Settings = data.FXSettings or {} | |
1564 | local Shape = data.Shape or Enum.PartType.Block | |
1565 | local Snd,Prt,Msh; | |
1566 | local RotInc = data.RotInc or {0,0,0} | |
1567 | if(typeof(RotInc) == 'number')then | |
1568 | RotInc = {RotInc,RotInc,RotInc} | |
1569 | end | |
1570 | coroutine.wrap(function() | |
1571 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
1572 | Prt = Manual | |
1573 | else | |
1574 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
1575 | Prt.Shape = Shape | |
1576 | end | |
1577 | if(typeof(MeshData) == 'table')then | |
1578 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
1579 | elseif(typeof(MeshData) == 'Instance')then | |
1580 | Msh = MeshData:Clone() | |
1581 | Msh.Parent = Prt | |
1582 | elseif(Shape == Enum.PartType.Block)then | |
1583 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
1584 | end | |
1585 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
1586 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
1587 | end | |
1588 | if(Snd)then | |
1589 | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
1590 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
1591 | end | |
1592 | Size = (Msh and Msh.Scale or Size) | |
1593 | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) | |
1594 | ||
1595 | local MoveSpeed = nil; | |
1596 | if(MoveDir)then | |
1597 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
1598 | end | |
1599 | if(FX ~= 'Arc')then | |
1600 | for Frame = 1, Frames do | |
1601 | if(FX == "Fade")then | |
1602 | Prt.Transparency = (Frame/Frames) | |
1603 | elseif(FX == "Resize")then | |
1604 | if(not Settings.EndSize)then | |
1605 | Settings.EndSize = V3.N(0,0,0) | |
1606 | end | |
1607 | if(Settings.EndIsIncrement)then | |
1608 | - | local player = S.Players:GetPlayerFromCharacter(Who) |
1608 | + | |
1609 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1610 | else | |
1611 | Prt.Size = Prt.Size + Settings.EndSize | |
1612 | end | |
1613 | else | |
1614 | if(Msh)then | |
1615 | Msh.Scale = Msh.Scale - grow/Frames | |
1616 | else | |
1617 | - | c.Name = "creator" |
1617 | + | |
1618 | end | |
1619 | end | |
1620 | elseif(FX == "ResizeAndFade")then | |
1621 | if(not Settings.EndSize)then | |
1622 | Settings.EndSize = V3.N(0,0,0) | |
1623 | end | |
1624 | if(Settings.EndIsIncrement)then | |
1625 | if(Msh)then | |
1626 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1627 | else | |
1628 | Prt.Size = Prt.Size + Settings.EndSize | |
1629 | end | |
1630 | else | |
1631 | if(Msh)then | |
1632 | Msh.Scale = Msh.Scale - grow/Frames | |
1633 | else | |
1634 | Prt.Size = Prt.Size - grow/Frames | |
1635 | end | |
1636 | end | |
1637 | Prt.Transparency = (Frame/Frames) | |
1638 | end | |
1639 | if(Settings.RandomizeCFrame)then | |
1640 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
1641 | else | |
1642 | Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc)) | |
1643 | end | |
1644 | if(MoveDir and MoveSpeed)then | |
1645 | local Orientation = Prt.Orientation | |
1646 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
1647 | Prt.Orientation = Orientation | |
1648 | end | |
1649 | swait() | |
1650 | end | |
1651 | Prt:destroy() | |
1652 | else | |
1653 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1654 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1655 | if(start and endP)then | |
1656 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1657 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1658 | for Frame = 0, 1, (Settings.Speed or 0.01) do | |
1659 | if(Settings.Home)then | |
1660 | endP = Settings.Home.CFrame | |
1661 | end | |
1662 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) | |
1663 | end | |
1664 | if(Settings.RemoveOnGoal)then | |
1665 | Prt:destroy() | |
1666 | end | |
1667 | else | |
1668 | Prt:destroy() | |
1669 | assert(start,"You need a start position!") | |
1670 | assert(endP,"You need a start position!") | |
1671 | end | |
1672 | end | |
1673 | end)() | |
1674 | return Prt,Msh,Snd | |
1675 | end | |
1676 | ||
1677 | ||
1678 | function SoulSteal(whom) | |
1679 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
1680 | print(torso) | |
1681 | if(torso and torso:IsA'BasePart')then | |
1682 | local Model = Instance.new("Model",Effects) | |
1683 | Model.Name = whom.Name.."'s Soul" | |
1684 | whom:BreakJoints() | |
1685 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
1686 | Soul.Name = 'Head' | |
1687 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
1688 | Effect{ | |
1689 | Effect="Arc", | |
1690 | Manual = Soul, | |
1691 | FXSettings={ | |
1692 | Start=torso.CFrame, | |
1693 | Home = Torso, | |
1694 | RemoveOnGoal = true, | |
1695 | } | |
1696 | } | |
1697 | local lastPoint = Soul.CFrame.p | |
1698 | ||
1699 | for i = 0, 1, 0.01 do | |
1700 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
1701 | local mag = (lastPoint - Soul.Position).magnitude | |
1702 | Effect{ | |
1703 | Effect = "Fade", | |
1704 | CFrame = point * CF.N(0, mag/2, 0), | |
1705 | Size = V3.N(.5,mag+.5,.5), | |
1706 | Color = Soul.BrickColor | |
1707 | } | |
1708 | lastPoint = Soul.CFrame.p | |
1709 | swait() | |
1710 | end | |
1711 | for i = 1, 5 do | |
1712 | Effect{ | |
1713 | Effect="Fade", | |
1714 | Color = BrickColor.new'Really red', | |
1715 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1716 | } | |
1717 | end | |
1718 | end | |
1719 | end | |
1720 | ||
1721 | --// Other Functions \\ -- | |
1722 | ||
1723 | function CastRay(startPos,endPos,range,ignoreList) | |
1724 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1725 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1726 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1727 | end | |
1728 | ||
1729 | function getRegion(point,range,ignore) | |
1730 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1731 | end | |
1732 | ||
1733 | function clerp(startCF,endCF,alpha) | |
1734 | return startCF:lerp(endCF, alpha) | |
1735 | end | |
1736 | ||
1737 | function GetTorso(char) | |
1738 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
1739 | end | |
1740 | ||
1741 | ||
1742 | function ShowDamage(Pos, Text, Time, Color) | |
1743 | coroutine.wrap(function() | |
1744 | local Rate = (1 / Frame_Speed) | |
1745 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1746 | local Text = (Text or "") | |
1747 | local Time = (Time or 2) | |
1748 | local Color = (Color or Color3.new(1, 0, 1)) | |
1749 | local EffectPart = NewInstance("Part",Effects,{ | |
1750 | Material=Enum.Material.SmoothPlastic, | |
1751 | Reflectance = 0, | |
1752 | Transparency = 1, | |
1753 | BrickColor = BrickColor.new(Color), | |
1754 | Name = "Effect", | |
1755 | Size = Vector3.new(0,0,0), | |
1756 | Anchored = true, | |
1757 | CFrame = CF.N(Pos) | |
1758 | }) | |
1759 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1760 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1761 | Adornee = EffectPart, | |
1762 | }) | |
1763 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1764 | BackgroundTransparency = 1, | |
1765 | Size = UDim2.new(1, 0, 1, 0), | |
1766 | Text = Text, | |
1767 | Font = "Bodoni", | |
1768 | TextColor3 = Color, | |
1769 | TextStrokeColor3 = Color3.new(0,0,0), | |
1770 | TextStrokeTransparency=0, | |
1771 | TextScaled = true, | |
1772 | }) | |
1773 | S.Debris:AddItem(EffectPart, (Time)) | |
1774 | EffectPart.Parent = workspace | |
1775 | delay(0, function() | |
1776 | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out) | |
1777 | local Frames = (Time / Rate) | |
1778 | for Frame = 1, Frames do | |
1779 | swait() | |
1780 | local Percent = (Frame / Frames) | |
1781 | TextLabel.TextTransparency = Percent | |
1782 | TextLabel.TextStrokeTransparency = Percent | |
1783 | end | |
1784 | if EffectPart and EffectPart.Parent then | |
1785 | EffectPart:Destroy() | |
1786 | end | |
1787 | end) end)() | |
1788 | end | |
1789 | ||
1790 | ||
1791 | function DealDamage(data) | |
1792 | local Who = data.Who; | |
1793 | local MinDam = data.MinimumDamage or 15; | |
1794 | local MaxDam = data.MaximumDamage or 30; | |
1795 | local MaxHP = data.MaxHP or 1e5; | |
1796 | ||
1797 | local DB = data.Debounce or .2; | |
1798 | ||
1799 | local CritData = data.Crit or {} | |
1800 | local CritChance = CritData.Chance or 0; | |
1801 | local CritMultiplier = CritData.Multiplier or 1; | |
1802 | ||
1803 | local DamageEffects = data.DamageFX or {} | |
1804 | local DamageType = DamageEffects.Type or "Normal" | |
1805 | local DeathFunction = DamageEffects.DeathFunction | |
1806 | ||
1807 | assert(Who,"Specify someone to damage!") | |
1808 | ||
1809 | local Humanoid = Who:FindFirstChildOfClass'Humanoid' | |
1810 | local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1) | |
1811 | ||
1812 | local canHit = true | |
1813 | if(Humanoid)then | |
1814 | for _, p in pairs(Hit) do | |
1815 | if p[1] == Humanoid then | |
1816 | if(time() - p[2] <= DB) then | |
1817 | canHit = false | |
1818 | else | |
1819 | Hit[_] = nil | |
1820 | end | |
1821 | end | |
1822 | end | |
1823 | if(canHit)then | |
1824 | table.insert(Hit,{Humanoid,time()}) | |
1825 | local HitTorso = GetTorso(Who) | |
1826 | local player = owner | |
1827 | if(not player or not DontAttackPlayers and player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then | |
1828 | if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then | |
1829 | print'Got kill' | |
1830 | Humanoid.Health = 0; | |
1831 | Who:BreakJoints(); | |
1832 | if(DeathFunction)then DeathFunction(Who,Humanoid) end | |
1833 | else | |
1834 | local c = Instance.new("ObjectValue",Hum) | |
1835 | c.Name = "Creator" | |
1836 | c.Value = Plr | |
1837 | S.Debris:AddItem(c,0.35) | |
1838 | if(Humanoid.Health > 0)then | |
1839 | if(Mode == 9 and not Radioactive[Who])then | |
1840 | Radioactive[Who] = {0,M.RNG(time()+4,time()+14)} | |
1841 | end | |
1842 | if(Who:FindFirstChild'Head')then | |
1843 | ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), math.floor(DoneDamage), 1.5, Core2.Color) | |
1844 | end | |
1845 | if(Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end | |
1846 | Humanoid.Health = Humanoid.Health - DoneDamage | |
1847 | end | |
1848 | ||
1849 | if(DamageType == 'Knockback' and HitTorso)then | |
1850 | local up = DamageEffects.KnockUp or 25 | |
1851 | local back = DamageEffects.KnockBack or 25 | |
1852 | local origin = DamageEffects.Origin or Root | |
1853 | local decay = DamageEffects.Decay or .5; | |
1854 | ||
1855 | local bfos = Instance.new("BodyVelocity",HitTorso) | |
1856 | bfos.P = 20000 | |
1857 | bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1858 | bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back) | |
1859 | S.Debris:AddItem(bfos,decay) | |
1860 | end | |
1861 | end | |
1862 | end | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | ||
1867 | function AOEDamage(where,range,options) | |
1868 | local hit = {} | |
1869 | for _,v in next, getRegion(where,range,{Char}) do | |
1870 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then | |
1871 | local callTable = {Who=v.Parent} | |
1872 | hit[v.Parent] = true | |
1873 | for _,v in next, options do callTable[_] = v end | |
1874 | DealDamage(callTable) | |
1875 | end | |
1876 | end | |
1877 | return hit | |
1878 | end | |
1879 | ||
1880 | function AOEHeal(where,range,amount) | |
1881 | local healed = {} | |
1882 | for _,v in next, getRegion(where,range,{Char}) do | |
1883 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1884 | if(hum and not healed[hum])then | |
1885 | hum.Health = hum.Health + amount | |
1886 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1887 | ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color) | |
1888 | end | |
1889 | end | |
1890 | end | |
1891 | end | |
1892 | ||
1893 | --// Chat Function \\-- | |
1894 | ||
1895 | function Chat(text,color) | |
1896 | coroutine.wrap(function() | |
1897 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
1898 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
1899 | local offset = 0; | |
1900 | local xsize = 0; | |
1901 | for i = 1, #text do | |
1902 | offset = offset - 16 | |
1903 | xsize = xsize + 32 | |
1904 | delay(i/25, function() | |
1905 | local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,0,0,300),BackgroundTransparency=1,TextColor3=(typeof(color) == 'string' and color:lower() == 'rainbow' and C3.HSV(Hue/360,1,1)) or color or Core2.Color,BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
1906 | offset = offset + 32 | |
1907 | if(Txt.Parent)then Txt:TweenPosition(UDim2.new(0,offset,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic,1) end | |
1908 | end) | |
1909 | end | |
1910 | BBG.Size = UDim2.new(0,xsize,0,40) | |
1911 | delay((#text/25)+3, function() | |
1912 | for _,v in next, BBG:children() do | |
1913 | v:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Linear,1) | |
1914 | end | |
1915 | wait(1.15) | |
1916 | BBG:destroy() | |
1917 | end) | |
1918 | end)() | |
1919 | end | |
1920 | ||
1921 | ||
1922 | --// Everything else \\-- | |
1923 | ||
1924 | function ClickGlitch() | |
1925 | Attack = true | |
1926 | NeutralAnims = false | |
1927 | local oWS = WalkSpeed | |
1928 | WalkSpeed = 0 | |
1929 | Hum.JumpPower = 0 | |
1930 | Hum.AutoRotate = false | |
1931 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1932 | for i = 0, 2, 0.1 do | |
1933 | swait() | |
1934 | local Alpha = .3 | |
1935 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1936 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417825999, 0.00628786907, -0.00260206894, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha) | |
1937 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1938 | RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1939 | LS.C0 = clerp(LS.C0,CFrame.new(-1.30906916, 0.822547674, -0.226739705, -0.481323838, 0.719669759, -0.500402868, -0.832959116, -0.55330795, 0.00544379698, -0.272959113, 0.419435322, 0.865775645),Alpha) | |
1940 | RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha) | |
1941 | NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1942 | end | |
1943 | Sound(LArm,217767125,M.RNG(75,125)/100,10,false,true,true) | |
1944 | Effect{ | |
1945 | Effect='Fade', | |
1946 | Size=V3.N(1,1,1), | |
1947 | CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)), | |
1948 | Color=Core2.Color, | |
1949 | Material=Enum.Material.Neon, | |
1950 | FXSettings = { | |
1951 | RandomizeCFrame=true | |
1952 | } | |
1953 | } | |
1954 | coroutine.wrap(function() | |
1955 | local MousePos = Mouse.Hit | |
1956 | local effect = Part(Effects,Core2.Color,Enum.Material.Neon,V3.N(2.5,2.5,2.5),MousePos,true,false) | |
1957 | for i = 0, 6, .1 do | |
1958 | effect.Color = Core2.Color | |
1959 | MousePos = MousePos * CF.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100) | |
1960 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1961 | effect.Size = V3.N(2.5,2.5,2.5)+V3.N(M.RNG(-150,150)/100,M.RNG(-150,150)/100,M.RNG(-150,150)/100) | |
1962 | swait() | |
1963 | end | |
1964 | AOEDamage(MousePos.p,30,{MinimumDamage=30,MaximumDamage=75}) | |
1965 | for i = 0, 3, .1 do | |
1966 | effect.Color = Core2.Color | |
1967 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1968 | effect.Size = effect.Size + V3.N(1,1,1) | |
1969 | effect.Transparency = i/3 | |
1970 | swait() | |
1971 | end | |
1972 | effect:destroy() | |
1973 | ||
1974 | end)() | |
1975 | for i = 0, 1, 0.1 do | |
1976 | swait() | |
1977 | local Alpha = .3 | |
1978 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417744182, 0.00628787512, -0.00260255905, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha) | |
1979 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1980 | RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1981 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12360537, 0.516349316, -0.117619619, -0.715893924, 0.486921966, -0.500402868, -0.56499064, -0.825079441, 0.00544379698, -0.410221368, 0.28662011, 0.865775645),Alpha) | |
1982 | RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha) | |
1983 | NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1984 | end | |
1985 | for i = 0, 1, 0.1 do | |
1986 | swait() | |
1987 | local Alpha = .3 | |
1988 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417825999, 0.00628786907, -0.00260206894, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha) | |
1989 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1990 | RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1991 | LS.C0 = clerp(LS.C0,CFrame.new(-1.30906916, 0.822547674, -0.226739705, -0.481323838, 0.719669759, -0.500402868, -0.832959116, -0.55330795, 0.00544379698, -0.272959113, 0.419435322, 0.865775645),Alpha) | |
1992 | RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha) | |
1993 | NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha) | |
1994 | end | |
1995 | WalkSpeed = oWS | |
1996 | Hum.JumpPower = 50 | |
1997 | Hum.AutoRotate = true | |
1998 | Attack = false | |
1999 | NeutralAnims = true | |
2000 | end | |
2001 | ||
2002 | function PureBomb() | |
2003 | Attack = true | |
2004 | NeutralAnims = false | |
2005 | local orb = Part(Effects,BrickColor.new'Baby blue',Enum.Material.Neon,V3.N(1,1,1),RArm.CFrame*CF.N(0,-1,0),true,false) | |
2006 | local orbM = Mesh(orb,Enum.MeshType.Sphere,"","",V3.N(.1,.1,.1)) | |
2007 | local Scale = 0.1 | |
2008 | local Pos = 0 | |
2009 | Hum.AutoRotate = false | |
2010 | Sound(orb,136007472,1,5,false,true,true) | |
2011 | for i = 0, 10, 0.1 do | |
2012 | Scale = Scale + .05 | |
2013 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
2014 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
2015 | orbM.Scale = V3.N(Scale,Scale,Scale) | |
2016 | NoobySphere(4,-.1,'Multiply',orb.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),0,BrickColor.new'Baby blue',5) | |
2017 | swait() | |
2018 | local Alpha = .3 | |
2019 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2020 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990819931, 0.0216189958, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2021 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990974903, 0.0154631026, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2022 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42302692, 0.493415803, -0.00359773822, 0.940765917, 0.153064445, 0.30254063, -0.162465662, 0.986695945, 0.00599612948, -0.297597915, -0.0547934212, 0.953117669),Alpha) | |
2023 | RS.C0 = clerp(RS.C0,CFrame.new(1.49654758, 0.678199768, 0.0230993181, 0.85657078, -0.45250088, 0.248051316, -0.450519741, -0.89016372, -0.0681223199, 0.251631737, -0.0534004271, -0.966348767),Alpha) | |
2024 | NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2025 | end | |
2026 | for i = 0, 2, 0.1 do | |
2027 | swait() | |
2028 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
2029 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
2030 | local Alpha = .3 | |
2031 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00196742709, 0.00628469, -0.000496770546, 0.917528987, -0.00250149658, -0.39766106, 8.55154781e-07, 0.999980211, -0.00628842553, 0.397668958, 0.00576947257, 0.917510867),Alpha) | |
2032 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496482432, -0.990816116, 0.0216121897, 0.911208749, 0, 0.411944896, -0.00259129796, 0.999980211, 0.00573186669, -0.41193673, -0.006290399, 0.911190748),Alpha) | |
2033 | RH.C0 = clerp(RH.C0,CFrame.new(0.4985466, -0.990978718, 0.0154598281, 0.911208749, 0, 0.411944896, -0.00259129796, 0.999980211, 0.00573186669, -0.41193673, -0.006290399, 0.911190748),Alpha) | |
2034 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49955761, 0.50005585, 0.0206508823, 0.931618989, 0, 0.363436669, -0.00228616199, 0.999980211, 0.0058602551, -0.363429457, -0.006290399, 0.931600571),Alpha) | |
2035 | RS.C0 = clerp(RS.C0,CFrame.new(1.42403603, 0.783231854, 0.129635245, 0.955871105, -0.233268648, 0.178595126, -0.293628395, -0.738623917, 0.60680896, -0.00963485241, -0.63247174, -0.774523556),Alpha) | |
2036 | NK.C0 = clerp(NK.C0,CFrame.new(3.81190921e-06, 1.49893928, -0.0144081786, 1, -1.86264515e-09, 0, 0, 0.99796468, 0.0637704432, 2.98023224e-08, -0.0637704507, 0.997964561),Alpha) | |
2037 | end | |
2038 | Sound(Root,260433768,1,5.25,false,true,true) | |
2039 | ShootBullet{Size=V3.N(Scale,Scale,Scale),Shape='Ball',Frames=320,Origin=orb.CFrame,Speed=5,Color=BrickColor.new'Baby blue',HitFunction = function(hit,pos) | |
2040 | local snd, part = SoundPart(151304356,1,5.25,false,true,true,CF.N(pos)) | |
2041 | AOEDamage(pos,Scale*4,{MinimumDamage=25,MaximumDamage=60}) | |
2042 | Effect{ | |
2043 | Effect='ResizeAndFade', | |
2044 | Color=BrickColor.new'Baby blue', | |
2045 | Size=V3.N(Scale*2,Scale*2,Scale*2), | |
2046 | Material=Enum.Material.Neon, | |
2047 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
2048 | CFrame=CF.N(pos), | |
2049 | FXSettings={ | |
2050 | EndSize=V3.N(.1,.1,.1), | |
2051 | EndIsIncrement=true | |
2052 | } | |
2053 | } | |
2054 | Effect{ | |
2055 | Effect='ResizeAndFade', | |
2056 | Color=BrickColor.new'Pastel light blue', | |
2057 | Size=V3.N(Scale*1.5,Scale*1.5,Scale*1.5), | |
2058 | Material=Enum.Material.Neon, | |
2059 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
2060 | CFrame=CF.N(pos), | |
2061 | FXSettings={ | |
2062 | EndSize=V3.N(.1,.1,.1), | |
2063 | EndIsIncrement=true | |
2064 | } | |
2065 | } | |
2066 | for i = 0, 49 do | |
2067 | NoobyBlock(1,M.RNG(1,10)/2,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(4,4,4),0.08,BrickColor.new('Pastel light blue'),0,true) | |
2068 | end | |
2069 | for i = 0, 9 do | |
2070 | NoobySphere(1,2.5,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50),-0.05,BrickColor.new'Baby blue',0) | |
2071 | NoobySphere(2,5,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50),-0.05,BrickColor.new'Pastel light blue',0) | |
2072 | end | |
2073 | end} | |
2074 | orb:destroy() | |
2075 | for i = 0, 1, 0.1 do | |
2076 | swait() | |
2077 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
2078 | local Alpha = .3 | |
2079 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00500682555, 0.00628831051, 0.00120097224, 0.92018038, 0.00246177102, 0.391486853, -8.42089548e-07, 0.99998033, -0.0062861559, -0.391494602, 0.00578406826, 0.920162261),Alpha) | |
2080 | LH.C0 = clerp(LH.C0,CFrame.new(-0.498779386, -1.00248599, -0.124541134, 0.959937453, -0.00228470936, 0.280205488, -0.0405473076, 0.988310218, 0.146966696, -0.277265698, -0.152440399, 0.94862318),Alpha) | |
2081 | RH.C0 = clerp(RH.C0,CFrame.new(0.539460897, -1.00021362, -0.107664183, 0.949007154, 0.0409194157, -0.312587768, 0.00198236411, 0.990746439, 0.135712415, 0.31524843, -0.129411712, 0.940144241),Alpha) | |
2082 | LS.C0 = clerp(LS.C0,CFrame.new(-1.41884661, 0.577570677, -0.000329867005, 0.959363103, 0.138315558, 0.245949864, -0.144226983, 0.989526033, 0.00609558355, -0.242530614, -0.041320473, 0.969263554),Alpha) | |
2083 | RS.C0 = clerp(RS.C0,CFrame.new(1.3995322, 0.560555339, 0.0217598975, 0.860549986, -0.340243995, 0.379061729, 0.396351576, -0.0201387759, -0.917877972, 0.319936305, 0.940121651, 0.117525801),Alpha) | |
2084 | NK.C0 = clerp(NK.C0,CFrame.new(-1.91013669e-06, 1.4989413, -0.0144026726, 1, -1.86264515e-09, 0, 2.32830644e-10, 0.997965097, 0.0637654439, -2.98023224e-08, -0.0637654439, 0.997965038),Alpha) | |
2085 | end | |
2086 | ||
2087 | Hum.AutoRotate = true | |
2088 | ||
2089 | Attack = false | |
2090 | NeutralAnims = true | |
2091 | end | |
2092 | ||
2093 | function Aeroplane() | |
2094 | Attack = true | |
2095 | NeutralAnims = false | |
2096 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(2,2,2),.5,BrickColor.new'White') | |
2097 | local rad = 0 | |
2098 | for i = 0, 3, 0.1 do | |
2099 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
2100 | swait() | |
2101 | Root.Velocity = Root.CFrame.lookVector*(350-(i*66)) | |
2102 | local Alpha = .3 | |
2103 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00760343159, 1, -0.486851215, 0.99976027, -0.0157056805, -0.0152531685, 0.0156109696, 0.022916859, 0.99961555, -0.0153500848, -0.99961406, 0.0231565442),Alpha) | |
2104 | LH.C0 = clerp(LH.C0,CFrame.new(-0.494159192, -0.989393592, 0.0215745792, 0.998326361, 0.0556856021, 0.0156117883, -0.0557892919, 0.998422861, 0.00628646836, -0.0152371004, -0.00714691728, 0.999858439),Alpha) | |
2105 | RH.C0 = clerp(RH.C0,CFrame.new(0.467966676, -0.990411818, 0.015948534, 0.997011065, -0.0756644681, 0.0156140458, 0.0755743459, 0.99712044, 0.00628457591, -0.0160446018, -0.00508577004, 0.999858439),Alpha) | |
2106 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48234439, 0.488731831, 0.0204298086, 1.08988024e-06, 0.999878109, 0.0156131675, -0.999979973, -9.79125834e-05, 0.00634019636, 0.00634095073, -0.0156128611, 0.999858081),Alpha) | |
2107 | RS.C0 = clerp(RS.C0,CFrame.new(1.44239902, 0.478527635, -0.0251723044, 0.000173310371, -0.999878168, 0.0156102739, 0.999979973, 0.00027231226, 0.00634019636, -0.00634367391, 0.0156088611, 0.999858141),Alpha) | |
2108 | NK.C0 = clerp(NK.C0,CFrame.new(5.21446054e-06, 1.48825693, 0.499068856, 1, -4.4076296e-07, 3.08027957e-05, 2.98316445e-05, 0.26330927, -0.964711607, -7.68547761e-06, 0.964711607, 0.26330927),Alpha) | |
2109 | end | |
2110 | for i = 0, 18, 0.1 do | |
2111 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
2112 | swait() | |
2113 | rad = rad + .1 | |
2114 | local Alpha = .3 | |
2115 | Root.Velocity = Root.CFrame.lookVector*150 | |
2116 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00760343159, 1, -0.486851215, 0.99976027, -0.0157056805, -0.0152531685, 0.0156109696, 0.022916859, 0.99961555, -0.0153500848, -0.99961406, 0.0231565442)*CF.A(0,M.R((rad*360)),0),Alpha) | |
2117 | LH.C0 = clerp(LH.C0,CFrame.new(-0.494159192, -0.989393592, 0.0215745792, 0.998326361, 0.0556856021, 0.0156117883, -0.0557892919, 0.998422861, 0.00628646836, -0.0152371004, -0.00714691728, 0.999858439),Alpha) | |
2118 | RH.C0 = clerp(RH.C0,CFrame.new(0.467966676, -0.990411818, 0.015948534, 0.997011065, -0.0756644681, 0.0156140458, 0.0755743459, 0.99712044, 0.00628457591, -0.0160446018, -0.00508577004, 0.999858439),Alpha) | |
2119 | LS.C0 = clerp(LS.C0,CFrame.new(-1.48234439, 0.488731831, 0.0204298086, 1.08988024e-06, 0.999878109, 0.0156131675, -0.999979973, -9.79125834e-05, 0.00634019636, 0.00634095073, -0.0156128611, 0.999858081),Alpha) | |
2120 | RS.C0 = clerp(RS.C0,CFrame.new(1.44239902, 0.478527635, -0.0251723044, 0.000173310371, -0.999878168, 0.0156102739, 0.999979973, 0.00027231226, 0.00634019636, -0.00634367391, 0.0156088611, 0.999858141),Alpha) | |
2121 | NK.C0 = clerp(NK.C0,CFrame.new(5.21446054e-06, 1.48825693, 0.499068856, 1, -4.4076296e-07, 3.08027957e-05, 2.98316445e-05, 0.26330927, -0.964711607, -7.68547761e-06, 0.964711607, 0.26330927),Alpha) | |
2122 | end | |
2123 | Attack = false | |
2124 | NeutralAnims = true | |
2125 | end | |
2126 | ||
2127 | function Shrek() | |
2128 | Attack = true | |
2129 | NeutralAnims = false | |
2130 | local oWS = WalkSpeed | |
2131 | for i = 0, 2, 0.1 do | |
2132 | swait() | |
2133 | local Alpha = .3 | |
2134 | RJ.C0 = RJ.C0:lerp(CFrame.new(-0.0045717326, 0.0650117323, -0.292746365, 0.999985039, -0.0054067187, -0.000930163078, 0.00540099945, 0.940456271, 0.339872152, -0.000962814316, -0.339872032, 0.940471232),Alpha) | |
2135 | LH.C0 = LH.C0:lerp(CFrame.new(-0.497873425, -1.08922517, -0.0665005744, 0.991378665, 0.00540100131, 0.130918339, 0.0394607596, 0.940456986, -0.337614775, -0.124946497, 0.339870125, 0.932135701),Alpha) | |
2136 | RH.C0 = RH.C0:lerp(CFrame.new(0.497141123, -1.09262908, -0.0732582211, 0.991080165, 0.00540100131, -0.133158669, -0.0502922162, 0.940456986, -0.336171925, 0.123414315, 0.339870125, 0.932339728),Alpha) | |
2137 | LS.C0 = LS.C0:lerp(CFrame.new(-1.01297855, 0.687084556, -0.109048009, 0.909904242, -0.414624929, -0.0126772588, -0.341911346, -0.732326984, -0.588892102, 0.234885365, 0.540169775, -0.808112383),Alpha) | |
2138 | RS.C0 = RS.C0:lerp(CFrame.new(1.10972738, 0.686874747, -0.142190307, 0.902195573, 0.431141198, -0.012677161, 0.341730058, -0.732411623, -0.588892102, -0.263180494, 0.526963592, -0.808112264),Alpha) | |
2139 | NK.C0 = NK.C0:lerp(CFrame.new(1.14651302e-05, 1.49894774, -0.0143921971, 1.00000012, 1.31642446e-06, -5.17815351e-07, -1.28056854e-06, 0.997964919, 0.0637671649, 5.99771738e-07, -0.0637671053, 0.997964978),Alpha) | |
2140 | end | |
2141 | WalkSpeed = 0 | |
2142 | Sound(Head,368794903,1.2,10,false,true,true) | |
2143 | local wo = IN("Model",Effects) | |
2144 | ||
2145 | for i = 1, 3 do | |
2146 | local wat = 12.5+(i*2) | |
2147 | local screamPart = Part(wo,BrickColor.new'Pearl',Enum.Material.Neon,V3.N(1,1,1),Head.CFrame,false,false) | |
2148 | screamPart.Transparency = .6+(i/10) | |
2149 | Mesh(screamPart,Enum.MeshType.Sphere,"","",V3.N(wat,wat,wat)) | |
2150 | Weld(screamPart,Torso) | |
2151 | end | |
2152 | ||
2153 | for i = 0, 8, 0.1 do | |
2154 | swait() | |
2155 | AOEDamage(Torso.CFrame.p,20,{ | |
2156 | MinimumDamage=5, | |
2157 | MaximumDamage=10 | |
2158 | }) | |
2159 | local Alpha = .3 | |
2160 | RJ.C0 = RJ.C0:lerp(CFrame.new(0.00617184862, -0.15, 0.395316333, 0.999986708, 0.00508808438, -0.000884585083, -0.00509300316, 0.943203092, -0.332178056, -0.000855805352, 0.332178146, 0.943216264)*CF.A(M.R(20),0,0),Alpha) | |
2161 | LH.C0 = LH.C0:lerp(CFrame.new(-0.497282684, -1.06256902, -0.0290378034, 0.999878228, -0.00509300316, 0.0147562362, -9.85493534e-05, 0.943203092, 0.332217097, -0.0156101063, -0.332178056, 0.943087518)*CF.A(M.R(-20),0,0),Alpha) | |
2162 | RH.C0 = RH.C0:lerp(CFrame.new(0.497732252, -1.05967009, -0.03568241, 0.999878228, -0.00509300316, 0.0147562362, -9.85493534e-05, 0.943203092, 0.332217097, -0.0156101063, -0.332178056, 0.943087518)*CF.A(M.R(-20),0,0),Alpha) | |
2163 | LS.C0 = LS.C0:lerp(CFrame.new(-1.42849481, 0.494048148, -0.00801739097, 0.98822248, 0.134164602, 0.0735954121, -0.152104512, 0.808569551, 0.568401217, 0.0167523213, -0.572901011, 0.819453418),Alpha) | |
2164 | RS.C0 = RS.C0:lerp(CFrame.new(1.41312766, 0.523678839, 0.0325531065, 0.980119586, -0.184282064, 0.0735261068, 0.110644385, 0.815263927, 0.568421364, -0.164693028, -0.548985541, 0.81944561),Alpha) | |
2165 | NK.C0 = NK.C0:lerp(CFrame.new(9.04871195e-06, 1.49893618, -0.0143969432, 1.00000012, 9.62987542e-07, -2.71946192e-07, -9.43895429e-07, 0.997964919, 0.0637682378, 3.31550837e-07, -0.063768208, 0.997964799),Alpha) | |
2166 | end | |
2167 | wo:breakJoints() | |
2168 | wo:destroy() | |
2169 | WalkSpeed = oWS | |
2170 | Attack = false | |
2171 | NeutralAnims = true | |
2172 | end | |
2173 | ||
2174 | function NeckSnap(target) | |
2175 | if(target)then | |
2176 | local torso = GetTorso(target) | |
2177 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2178 | local hed = target:FindFirstChild'Head' | |
2179 | if(torso and hum and hum.Health > 0 and hed)then | |
2180 | local oWS = WalkSpeed | |
2181 | local oPar = target.Parent | |
2182 | local originalpos = Root.CFrame | |
2183 | WalkSpeed = 0 | |
2184 | Hum.JumpPower = 0 | |
2185 | Attack = true | |
2186 | NeutralAnims = false | |
2187 | Root.Anchored = true | |
2188 | torso.Anchored = true | |
2189 | target.Parent = Char | |
2190 | Hum.AutoRotate = false | |
2191 | Root.CFrame = torso.CFrame*CF.N(-0.54454422, 0, 0.987496376) | |
2192 | for _,v in next, torso:children() do | |
2193 | if(v:IsA'JointInstance' and (v.Part0 == hed or v.Part1 == hed))then | |
2194 | v:destroy() | |
2195 | end | |
2196 | end | |
2197 | hed:breakJoints() | |
2198 | local weld = NewInstance('Motor',torso,{Part0=hed,Part1=torso,C0=CF.N(0,-1.5,0)}) | |
2199 | for i = 0, 1, 0.1 do | |
2200 | swait() | |
2201 | local Alpha = .3 | |
2202 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2203 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990816116, 0.0216189735, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2204 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2205 | LS.C0 = clerp(LS.C0,CFrame.new(-0.763917506, 0.783056259, -0.756683111, 0.675138593, -0.737685442, 0.00284584239, 0.140656561, 0.124941669, -0.982143223, 0.724157274, 0.663483143, 0.188113257),Alpha) | |
2206 | RS.C0 = clerp(RS.C0,CFrame.new(1.23871374, 1.09544897, -0.196351975, 0.766011953, 0.365654767, -0.528698623, -0.105766296, -0.739559352, -0.664729595, -0.634065628, 0.565109432, -0.527837396),Alpha) | |
2207 | NK.C0 = clerp(NK.C0,CFrame.new(1.00737725e-05, 1.4989512, -0.0144016817, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2208 | end | |
2209 | Sound(hed,1093102664,1,5,false,true,true) | |
2210 | for i = 0, 1.3, 0.1 do | |
2211 | swait() | |
2212 | local Alpha = .3 | |
2213 | weld.C0 = weld.C0:lerp(CF.N(0,-1.5,0)*CF.A(0,M.R(-90),0),Alpha) | |
2214 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2215 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990818024, 0.0216189846, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2216 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990980625, 0.0154631399, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2217 | LS.C0 = clerp(LS.C0,CFrame.new(-1.38228214, 0.484847993, -0.0603635609, 0.424681932, 0.905338109, 0.00285495515, -0.169125155, 0.0824314952, -0.982141495, -0.889405489, 0.41661495, 0.18812263),Alpha) | |
2218 | RS.C0 = clerp(RS.C0,CFrame.new(1.40680802, 0.48904568, -0.02736184, 0.441890627, -0.897064447, 0.00284484075, 0.169923306, 0.0805888921, -0.982156575, 0.8808285, 0.43448925, 0.188043654),Alpha) | |
2219 | NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894726, -0.014402397, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2220 | end | |
2221 | target.Parent = oPar | |
2222 | target:breakJoints() | |
2223 | WalkSpeed = oWS | |
2224 | Hum.JumpPower = 50 | |
2225 | Hum.AutoRotate = true | |
2226 | Root.Anchored = false | |
2227 | torso.Anchored = false | |
2228 | Attack = false | |
2229 | NeutralAnims = true | |
2230 | end | |
2231 | end | |
2232 | end | |
2233 | ||
2234 | function AttackOne() | |
2235 | Attack = true | |
2236 | NeutralAnims = false | |
2237 | for i = 0, .7, 0.1 do | |
2238 | swait() | |
2239 | local Alpha = .3 | |
2240 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.054845117, 0.00628340431, 0.0621978641, 0.574560821, -0.00514742406, -0.818445683, 1.76018864e-06, 0.99998033, -0.00628790678, 0.818461895, 0.00361134461, 0.574549437),Alpha) | |
2241 | LH.C0 = clerp(LH.C0,CFrame.new(-0.525948346, -0.994591057, 0.0135081597, 0.989666939, 0.0856333151, 0.115006924, -0.0869238526, 0.996195495, 0.00624422729, -0.114034653, -0.0161765479, 0.993345082),Alpha) | |
2242 | RH.C0 = clerp(RH.C0,CFrame.new(0.487148911, -0.967346072, -0.0260838568, 0.964277864, -0.0686885938, 0.255832553, -0.00166595122, 0.964203477, 0.265158683, -0.264888048, -0.256112814, 0.92964536),Alpha) | |
2243 | LS.C0 = clerp(LS.C0,CFrame.new(-1.38879275, 0.498546124, -0.255748421, 0.692717075, 0.721134841, 0.0103802728, 0.00202227081, 0.0124506345, -0.999920607, -0.721206725, 0.692682922, 0.00716643687),Alpha) | |
2244 | RS.C0 = clerp(RS.C0,CFrame.new(1.27866459, 0.504911065, -0.181807131, 0.763874948, -0.645362377, -0.00163397193, -0.0634241104, -0.0725510716, -0.995346248, 0.642240286, 0.760423601, -0.0963514596),Alpha) | |
2245 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0864869878, 1.49901688, -0.00313834194, 0.57456094, -0.0470548049, 0.817108035, -0.00514778076, 0.998118699, 0.0610983856, -0.818445623, -0.0393110402, 0.573237658),Alpha) | |
2246 | end | |
2247 | Sound(RArm,200632136,1.1,5,false,true,true) | |
2248 | for i = 0, .9, 0.1 do | |
2249 | swait() | |
2250 | local Alpha = .3 | |
2251 | AOEDamage(RArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2252 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0895246193, 0.00628795894, -0.0240665041, 0.667355478, 0.00468144845, 0.744724631, -1.60177922e-06, 0.99998033, -0.00628458662, -0.744739354, 0.0041928608, 0.667342305),Alpha) | |
2253 | LH.C0 = clerp(LH.C0,CFrame.new(-0.525933743, -0.994594276, 0.0135074947, 0.995298743, 0.0856334865, -0.0452488065, -0.0847965032, 0.996195495, 0.0201073457, 0.0467984378, -0.0161758773, 0.998773336),Alpha) | |
2254 | RH.C0 = clerp(RH.C0,CFrame.new(0.490905643, -0.74434638, -0.358290195, 0.993401766, -0.0489627272, -0.103709608, 0.0897386894, 0.894942641, 0.437063992, 0.0714142919, -0.443486929, 0.893431306),Alpha) | |
2255 | LS.C0 = clerp(LS.C0,CFrame.new(-1.34781098, 0.451429009, 0.184345022, 0.920896769, 0.211902812, 0.327179492, -0.00245033321, 0.842468321, -0.538740575, -0.389798939, 0.495322734, 0.776345491),Alpha) | |
2256 | RS.C0 = clerp(RS.C0,CFrame.new(1.33741677, 0.579409122, -0.335710943, 0.71467489, -0.698394477, 0.0385371894, -0.0347292982, -0.0904589221, -0.995294571, 0.698594153, 0.709973574, -0.0889034569),Alpha) | |
2257 | NK.C0 = clerp(NK.C0,CFrame.new(0.0455316827, 1.49947691, 0.069996126, 0.667355359, 0.0428168029, -0.743507743, 0.00468109129, 0.99808526, 0.0616789386, 0.744724751, -0.0446421988, 0.665876985),Alpha) | |
2258 | end | |
2259 | Combo = 2 | |
2260 | Attack = false | |
2261 | NeutralAnims = true | |
2262 | end | |
2263 | ||
2264 | function AttackTwo() | |
2265 | Attack = true | |
2266 | NeutralAnims = false | |
2267 | for i = 0, 1, 0.1 do | |
2268 | swait() | |
2269 | local Alpha = .3 | |
2270 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00337019563, 0.00628272956, -0.00105122454, 0.788301051, 0.00386909139, 0.615277588, -1.32338778e-06, 0.99998033, -0.00628654705, -0.615289807, 0.00495487731, 0.788285434),Alpha) | |
2271 | LH.C0 = clerp(LH.C0,CFrame.new(-0.370244205, -1.06356883, -0.0345072895, 0.88316524, 0.227487147, 0.41020599, -0.259257317, 0.965541184, 0.0227174684, -0.390902787, -0.126412138, 0.911709964),Alpha) | |
2272 | RH.C0 = clerp(RH.C0,CFrame.new(0.39778316, -1.07560706, -0.0971514285, 0.900898933, -0.0766149312, -0.427213579, 0.151964575, 0.977673352, 0.145127282, 0.406556368, -0.195666283, 0.892427385),Alpha) | |
2273 | LS.C0 = clerp(LS.C0,CFrame.new(-1.47616029, 0.512279212, 0.0670655966, 0.904187679, -0.427135438, 0.00023345463, 0.00958644785, 0.0197467823, -0.999759197, 0.427027881, 0.903972089, 0.0219495054),Alpha) | |
2274 | RS.C0 = clerp(RS.C0,CFrame.new(1.33361411, 0.488021076, -0.300545812, 0.00661067665, -0.543416262, 0.839437485, 0.976997852, -0.175422177, -0.121254832, 0.213147745, 0.820930004, 0.529756606)*CF.A(0,M.R(-90),0),Alpha) | |
2275 | NK.C0 = clerp(NK.C0,CFrame.new(-0.000233855098, 1.49894583, -0.0145844966, 0.788300931, 0.0353745371, -0.614272296, 0.0038687347, 0.998041451, 0.062439695, 0.615277767, -0.0515977256, 0.786619961),Alpha) | |
2276 | end | |
2277 | Sound(LArm,200632136,.9,5,false,true,true) | |
2278 | for i = 0, 1, 0.1 do | |
2279 | swait() | |
2280 | local Alpha = .3 | |
2281 | AOEDamage(LArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2282 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0139055764, 0.00628619827, -0.0431878939, 0.736094832, -0.0042554969, -0.676865041, 1.4556681e-06, 0.99998033, -0.00628536195, 0.676878333, 0.00462563755, 0.736080408),Alpha) | |
2283 | LH.C0 = clerp(LH.C0,CFrame.new(-0.370245337, -1.06356549, -0.0345049649, 0.883166075, 0.227488101, 0.410203636, -0.25925675, 0.965541363, 0.0227144919, -0.390901268, -0.126408711, 0.911711276),Alpha) | |
2284 | RH.C0 = clerp(RH.C0,CFrame.new(0.397780299, -1.07560635, -0.0971318483, 0.900898337, -0.076615192, -0.427214652, 0.151964024, 0.977673769, 0.145124823, 0.406557709, -0.195663959, 0.892427325),Alpha) | |
2285 | LS.C0 = clerp(LS.C0,CFrame.new(-1.54785693, 0.502721965, -0.369121343, 0.640384734, 0.768054307, 9.36477445e-05, -0.0167029109, 0.0140483743, -0.999761999, -0.767872751, 0.640230715, 0.0218251087),Alpha) | |
2286 | RS.C0 = clerp(RS.C0,CFrame.new(1.41005266, 0.394677043, -0.101526827, 0.621816397, -0.730075538, 0.283432782, 0.783004642, 0.586830258, -0.206238553, -0.0157571733, 0.350171626, 0.93655318)*CF.A(0,M.R(-90),0),Alpha) | |
2287 | NK.C0 = clerp(NK.C0,CFrame.new(0.0361058414, 1.49909592, 0.00928576291, 0.736094952, -0.0389148258, 0.67575866, -0.00425585406, 0.998060346, 0.0621110015, -0.676864862, -0.0485955328, 0.7345016),Alpha) | |
2288 | end | |
2289 | Combo = 3 | |
2290 | Attack = false | |
2291 | NeutralAnims = true | |
2292 | end | |
2293 | ||
2294 | function AttackThree() | |
2295 | Attack = true | |
2296 | NeutralAnims = false | |
2297 | for i = 0, 1, 0.1 do | |
2298 | swait() | |
2299 | local Alpha = .3 | |
2300 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2301 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216190033, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2302 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2303 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12213016, 0.47289753, -0.302224725, 0.912795186, -0.408417523, -7.55176477e-10, 0.00256825075, 0.00573992962, -0.999980211, 0.408409536, 0.912777245, 0.00628829934),Alpha) | |
2304 | RS.C0 = clerp(RS.C0,CFrame.new(1.11283636, 0.472678095, -0.337120384, 0.899599433, 0.436715961, -7.55176477e-10, -0.00274620112, 0.00565694971, -0.999980211, -0.436707377, 0.89958173, 0.00628829934),Alpha) | |
2305 | NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2306 | end | |
2307 | --for a = 1, 3 do | |
2308 | local a = 2 | |
2309 | coroutine.wrap(function() | |
2310 | for i = 5,45,10 do | |
2311 | local hite = Instance.new("Part",Char) | |
2312 | hite.Anchored = true | |
2313 | hite.CanCollide = false | |
2314 | hite.Material = "Neon" | |
2315 | hite.Size = V3.N(1, 1, 1) | |
2316 | hite.Transparency = 1 | |
2317 | hite.CFrame = (Root.CFrame + Root.CFrame.lookVector)*CF.A(0,M.R(90+(a*45)),0)*CF.N(0,0,i) | |
2318 | CamShakeAOE(hite.CFrame.p,10,30,250) | |
2319 | NoobySphere2(3,'Multiply',hite.CFrame,V3.N(0,0,0),.15,Core2.Color) | |
2320 | NoobySphere2(6,'Multiply',hite.CFrame,V3.N(0,0,0),.3,Core2.Color) | |
2321 | for i = 1, 2 do | |
2322 | NoobySphere(2,.2,'Multiply',Root.CFrame*CF.N(0,-.5,-.5)*CF.A(M.RRNG(-20,20),M.RRNG(-20,20),M.RRNG(-20,20)),V3.N(.5,.5,5),-.005,Core2.Color,0) | |
2323 | end | |
2324 | for i = 1, 5 do | |
2325 | NoobySphere(2.25,.6,'Multiply',hite.CFrame*CF.N(0,0,0)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(2,2,2),0,Core2.Color,0) | |
2326 | end | |
2327 | AOEDamage(hite.CFrame.p,10,{MinimumDamage=25,MaximumDamage=45}) | |
2328 | Sound(hite,183763506,1,5,false,true,true) | |
2329 | S.Debris:AddItem(hite,2) | |
2330 | swait() | |
2331 | end | |
2332 | end)() | |
2333 | --end | |
2334 | for i = 0, 1, 0.1 do | |
2335 | swait() | |
2336 | local Alpha = .3 | |
2337 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.00691798097, -0.0495741703, 0.443018734, 0.999998093, -0.00196288247, -0.000110176392, 0.00196200004, 0.992848635, 0.119364031, -0.000124909915, -0.119364008, 0.992850542),Alpha) | |
2338 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497228384, -0.946920514, -0.0261252522, 0.999878228, 0.0041074818, 0.0150607219, -9.9174933e-05, 0.966415524, -0.256984442, -0.0156104742, 0.25695163, 0.966298223),Alpha) | |
2339 | RH.C0 = clerp(RH.C0,CFrame.new(0.497788221, -0.949530363, -0.0326310396, 0.999878228, 0.0041074818, 0.0150607219, -9.9174933e-05, 0.966415524, -0.256984442, -0.0156104742, 0.25695163, 0.966298223),Alpha) | |
2340 | LS.C0 = clerp(LS.C0,CFrame.new(-1.43487072, 0.476260573, 0.232709944, -0.586293817, 0.810098529, 9.3865674e-07, -0.00509618223, -0.00368710607, -0.999980271, -0.810082495, -0.586282253, 0.00629013777),Alpha) | |
2341 | RS.C0 = clerp(RS.C0,CFrame.new(1.44212484, 0.475975186, 0.187793851, -0.560718656, -0.828006506, -2.90002208e-06, 0.00520995259, -0.00352462381, -0.999980271, 0.827990055, -0.56070751, 0.00629019737),Alpha) | |
2342 | NK.C0 = clerp(NK.C0,CFrame.new(9.53681956e-06, 1.49895513, -0.0144005343, 1.00000012, 0, 9.31322575e-10, 1.16415322e-10, 0.99796474, 0.0637698025, -9.31322575e-10, -0.0637697875, 0.997964621),Alpha) | |
2343 | end | |
2344 | Combo = 1 | |
2345 | Attack = false | |
2346 | NeutralAnims = true | |
2347 | end | |
2348 | ||
2349 | ||
2350 | local WingSine = 0 | |
2351 | local WingChange = 1 | |
2352 | ||
2353 | function SolitudeMode() | |
2354 | Attack = true | |
2355 | NeutralAnims = false | |
2356 | local Sin = 0 | |
2357 | MusicID = 1564523997 | |
2358 | Pitch = 1 | |
2359 | WalkSpeed = 0 | |
2360 | Sound(Core2,136007472,1.25,2.5,false,true,true) | |
2361 | for i = 0, 4, 0.1 do | |
2362 | swait() | |
2363 | NoobySphere(2.5,-1.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(3.5,3.5,45),-.035,Core2.Color,100) | |
2364 | Sin = Sin + 5 | |
2365 | local Alpha = .1 | |
2366 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00700476859, 0.0667984039, -0.448462069, 0.999972343, -0.00723911775, -0.00172879919, 0.00722799823, 0.88917774, 0.457504779, -0.00177471992, -0.457504541, 0.889205575),Alpha) | |
2367 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497889668, -1.14359522, -0.0677340925, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha) | |
2368 | RH.C0 = clerp(RH.C0,CFrame.new(0.497117043, -1.14809179, -0.0749855936, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha) | |
2369 | LS.C0 = clerp(LS.C0,CFrame.new(-1.20745349, 0.562693655, 0.156515986, 0.841866791, -0.539501786, -0.014077506, -0.490290582, -0.753652692, -0.43774724, 0.225555882, 0.375426948, -0.898987949)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha) | |
2370 | RS.C0 = clerp(RS.C0,CFrame.new(1.17680144, 0.613272369, 0.0997506529, 0.834507108, 0.550817847, -0.0140647329, 0.49015516, -0.753777146, -0.437684804, -0.251686275, 0.358357221, -0.899018526)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha) | |
2371 | NK.C0 = clerp(NK.C0,CFrame.new(6.50798393e-06, 1.53005648, -0.348988175, 1.00000012, 2.40840018e-06, -1.19656324e-05, 5.68898395e-06, 0.775360823, 0.631518543, 1.07986853e-05, -0.631518602, 0.775360942)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha) | |
2372 | end | |
2373 | for _,v in next, LWing:children() do | |
2374 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Black' end | |
2375 | end | |
2376 | for _,v in next, RWing:children() do | |
2377 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2378 | end | |
2379 | for _,v in next, LWingEXT:children() do | |
2380 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2381 | end | |
2382 | for _,v in next, RWingEXT:children() do | |
2383 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2384 | end | |
2385 | for _,v in next, Halo:children() do | |
2386 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Black' end | |
2387 | end | |
2388 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,0,0) end) | |
2389 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,0,0) end) | |
2390 | WalkSpeed = 16 | |
2391 | Mode = 1 | |
2392 | Core2.BrickColor = BrickColor.new'Black' | |
2393 | Core2.Material = Enum.Material.Neon | |
2394 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2395 | Sound(Root,"847061203",1,5,false,true,true) | |
2396 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2397 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2398 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1)) | |
2399 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2400 | for i = 1, 24 do | |
2401 | NoobyBlock(1,M.RNG(20,100)/100,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2,2,2),.04,Core2.Color,0,true) | |
2402 | end | |
2403 | for i = 0, 15 do | |
2404 | NoobySphere(3,-.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,25),-.04,Core2.Color,0) | |
2405 | end | |
2406 | for i = 0, 1.4, 0.1 do | |
2407 | swait() | |
2408 | local Alpha = .3 | |
2409 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0104959598, -0.113952652, 0.672263861, 0.999963522, 0.00820299331, -0.0023882892, -0.00821700692, 0.846846819, -0.531773448, -0.00233961921, 0.531773746, 0.846883237),Alpha) | |
2410 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49749428, -1.06169748, -0.0426189601, 0.999878228, -0.00744201383, 0.013721575, -0.000100045589, 0.875963986, 0.482376754, -0.0156094572, -0.482319295, 0.875856459),Alpha) | |
2411 | RH.C0 = clerp(RH.C0,CFrame.new(0.498449236, -1.1497941, 0.0108022094, 0.999878228, -0.0120362351, 0.009939529, -0.000100045589, 0.631795883, 0.775134981, -0.0156094572, -0.775041461, 0.631717622),Alpha) | |
2412 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12307608, 0.484921068, 0.092245549, 0.865161359, 0.501252413, -0.0155520458, 0.497926384, -0.862286389, -0.092366755, -0.059709385, 0.07216838, -0.995603561),Alpha) | |
2413 | RS.C0 = clerp(RS.C0,CFrame.new(1.37669122, 0.484069884, 0.0531393886, 0.866546988, -0.498853445, -0.0155524863, -0.49802509, -0.862227678, -0.0923835635, 0.032676056, 0.0878001451, -0.995602131),Alpha) | |
2414 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440181e-05, 1.49895036, -0.0144141242, 1.00000012, 0, -9.31322575e-10, 0, 0.99796474, 0.0637694895, -9.31322575e-10, -0.0637694895, 0.99796468),Alpha) | |
2415 | end | |
2416 | Attack = false | |
2417 | NeutralAnims = true | |
2418 | end | |
2419 | ||
2420 | function PureMode() | |
2421 | for _,v in next, LWing:children() do | |
2422 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2423 | end | |
2424 | for _,v in next, RWing:children() do | |
2425 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2426 | end | |
2427 | for _,v in next, LWingEXT:children() do | |
2428 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2429 | end | |
2430 | for _,v in next, RWingEXT:children() do | |
2431 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2432 | end | |
2433 | for _,v in next, Halo:children() do | |
2434 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pastel Blue' end | |
2435 | end | |
2436 | WalkSpeed = 16 | |
2437 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(0,1,1) end) | |
2438 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(0,1,1) end) | |
2439 | RecolorTextAndRename("Clarity",C3.N(1,1,1),BrickColor.new'Pastel Blue'.Color) | |
2440 | MusicID = 1539245059 | |
2441 | Pitch = 1 | |
2442 | Mode = 2 | |
2443 | Core2.BrickColor = BrickColor.new'Pastel Blue' | |
2444 | Core2.Material = Enum.Material.Neon | |
2445 | end | |
2446 | ||
2447 | function GlitchMode() | |
2448 | for _,v in next, LWing:children() do | |
2449 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 0 v.BrickColor = BrickColor.new'White' end | |
2450 | end | |
2451 | for _,v in next, RWing:children() do | |
2452 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2453 | end | |
2454 | for _,v in next, LWingEXT:children() do | |
2455 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2456 | end | |
2457 | for _,v in next, RWingEXT:children() do | |
2458 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2459 | end | |
2460 | for _,v in next, Halo:children() do | |
2461 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'White' end | |
2462 | end | |
2463 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2464 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2465 | WalkSpeed = 16 | |
2466 | RecolorTextAndRename("Glitchy",C3.N(1,1,1),C3.N(1,1,1)) | |
2467 | MusicID = 1274310715 | |
2468 | Pitch = .93 | |
2469 | Mode = 3 | |
2470 | Core2.BrickColor = BrickColor.new'Dark stone grey' | |
2471 | Core2.Material = Enum.Material.DiamondPlate | |
2472 | end | |
2473 | ||
2474 | function StressMode() | |
2475 | for _,v in next, LWing:children() do | |
2476 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .25 v.BrickColor = BrickColor.new'Crimson' end | |
2477 | end | |
2478 | for _,v in next, RWing:children() do | |
2479 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.Color = C3.RGB(16,16,16) end | |
2480 | end | |
2481 | for _,v in next, LWingEXT:children() do | |
2482 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2483 | end | |
2484 | for _,v in next, RWingEXT:children() do | |
2485 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2486 | end | |
2487 | for _,v in next, Halo:children() do | |
2488 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Crimson' end | |
2489 | end | |
2490 | WalkSpeed = 14 | |
2491 | RecolorTextAndRename("Stress",C3.N(.6,0,0),C3.N(0,0,0)) | |
2492 | MusicID = 614032233 | |
2493 | Pitch = 1 | |
2494 | Mode = 4 | |
2495 | Core2.BrickColor = BrickColor.new'Really red' | |
2496 | Core2.Material = Enum.Material.Neon | |
2497 | end | |
2498 | ||
2499 | function JusticeMode() | |
2500 | for _,v in next, LWing:children() do | |
2501 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2502 | end | |
2503 | for _,v in next, RWing:children() do | |
2504 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2505 | end | |
2506 | for _,v in next, LWingEXT:children() do | |
2507 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2508 | end | |
2509 | for _,v in next, RWingEXT:children() do | |
2510 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2511 | end | |
2512 | for _,v in next, Halo:children() do | |
2513 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Institutional white' end | |
2514 | end | |
2515 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2516 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2517 | WalkSpeed = 50 | |
2518 | RecolorTextAndRename("Justice",C3.N(1,1,1),C3.N(0,0,0)) | |
2519 | MusicID = 1102271169 | |
2520 | Pitch = 1 | |
2521 | Mode = 5 | |
2522 | Core2.BrickColor = BrickColor.new'White' | |
2523 | Core2.Material = Enum.Material.Neon | |
2524 | end | |
2525 | ||
2526 | function RiddleMeThis() | |
2527 | Attack = true | |
2528 | NeutralAnims = false | |
2529 | WalkSpeed = 0 | |
2530 | MusicID = 1420353940 | |
2531 | Pitch = 1 | |
2532 | Muted = true | |
2533 | repeat swait() until Music.IsLoaded | |
2534 | Muted = false | |
2535 | Music.TimePosition = 0 | |
2536 | Chat('Riddle me this..') | |
2537 | for i = 0,14,.1 do | |
2538 | local Alpha = .1 | |
2539 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2540 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216199569, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2541 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154640805, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2542 | LS.C0 = clerp(LS.C0,CFrame.new(-1.15619826, 0.410764694, 0.308931053, 0.862226903, -0.506325424, 0.0141164251, 0.451236814, 0.780479908, 0.432708263, -0.230108798, -0.366722882, 0.901423633),Alpha) | |
2543 | RS.C0 = clerp(RS.C0,CFrame.new(1.48984146, 0.433965802, -0.137121022, 0.754978359, -0.655723989, -0.00581999123, -0.244246826, -0.272958666, -0.930503726, 0.608564973, 0.703931689, -0.366236359),Alpha) | |
2544 | NK.C0 = clerp(NK.C0,CFrame.new(8.11554492e-06, 1.49894369, -0.0144015253, 0.931422114, -1.17415329e-05, -0.363940746, 0.0232203864, 0.997964501, 0.0593950115, 0.363199264, -0.0637726635, 0.929526567),Alpha) | |
2545 | swait() | |
2546 | end | |
2547 | Chat('Riddle me that..') | |
2548 | for i = 0,12,.1 do | |
2549 | local Alpha = .1 | |
2550 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2551 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990818024, 0.0216189846, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2552 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990980625, 0.0154631399, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
2553 | LS.C0 = clerp(LS.C0,CFrame.new(-1.25402236, 0.431008309, 0.117451549, 0.884577334, 0.388638854, 0.257842481, 0.312682211, -0.0839776248, -0.946138322, -0.346053123, 0.917555273, -0.195805177),Alpha) | |
2554 | RS.C0 = clerp(RS.C0,CFrame.new(1.22954941, 0.384757012, 0.168471783, 0.915931404, 0.401068091, 0.0146304797, -0.379809946, 0.85445267, 0.354478538, 0.129668966, -0.330234885, 0.934949815),Alpha) | |
2555 | NK.C0 = clerp(NK.C0,CFrame.new(8.37445259e-06, 1.49894357, -0.0144015923, 0.920970619, 2.08709389e-06, 0.389632136, -0.0248486493, 0.99796474, 0.058729209, -0.388839096, -0.063769713, 0.919096231),Alpha) | |
2556 | swait() | |
2557 | end | |
2558 | Chat("Who's afraid of the big black..") | |
2559 | for i = 0,16,.1 do | |
2560 | local Alpha = .1 | |
2561 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00438984111, 0.0221795738, -0.281239897, 0.999988556, -0.00473595224, -0.000703255646, 0.00473099947, 0.954816878, 0.297157228, -0.000735841691, -0.297157168, 0.954828322),Alpha) | |
2562 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497070849, -1.04715037, -0.0156083405, 0.999878228, 0.00473099947, 0.0148762148, -9.61141777e-05, 0.954816878, -0.297194898, -0.0156100877, 0.297157228, 0.954700947),Alpha) | |
2563 | RH.C0 = clerp(RH.C0,CFrame.new(0.49794969, -1.05015182, -0.0222227573, 0.999878228, 0.00473099947, 0.0148762148, -9.61141777e-05, 0.954816878, -0.297194898, -0.0156100877, 0.297157228, 0.954700947),Alpha) | |
2564 | LS.C0 = clerp(LS.C0,CFrame.new(-1.32246351, 0.253595859, 0.199904889, 0.862232804, -0.506315708, 0.0141151678, 0.451225579, 0.780480325, 0.432719588, -0.230109304, -0.366735876, 0.90141809),Alpha) | |
2565 | RS.C0 = clerp(RS.C0,CFrame.new(1.33073413, 0.290129036, 0.183640629, 0.915928423, 0.401075214, 0.0146333817, -0.379820168, 0.854456067, 0.354459614, 0.129661351, -0.330217659, 0.934956849),Alpha) | |
2566 | NK.C0 = clerp(NK.C0,CFrame.new(1.58162902e-06, 1.5248462, -0.171738505, 1.00000012, -7.59866089e-06, 1.38636678e-05, -3.15252692e-07, 0.867144346, 0.498057216, -1.58054754e-05, -0.498057246, 0.867144227),Alpha) | |
2567 | swait() | |
2568 | end | |
2569 | for i = 0, .7, 0.1 do | |
2570 | swait() | |
2571 | local Alpha = .3 | |
2572 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00700476859, 0.0667984039, -0.448462069, 0.999972343, -0.00723911775, -0.00172879919, 0.00722799823, 0.88917774, 0.457504779, -0.00177471992, -0.457504541, 0.889205575),Alpha) | |
2573 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497889668, -1.14359522, -0.0677340925, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha) | |
2574 | RH.C0 = clerp(RH.C0,CFrame.new(0.497117043, -1.14809179, -0.0749855936, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha) | |
2575 | LS.C0 = clerp(LS.C0,CFrame.new(-1.20745349, 0.562693655, 0.156515986, 0.841866791, -0.539501786, -0.014077506, -0.490290582, -0.753652692, -0.43774724, 0.225555882, 0.375426948, -0.898987949),Alpha) | |
2576 | RS.C0 = clerp(RS.C0,CFrame.new(1.17680144, 0.613272369, 0.0997506529, 0.834507108, 0.550817847, -0.0140647329, 0.49015516, -0.753777146, -0.437684804, -0.251686275, 0.358357221, -0.899018526),Alpha) | |
2577 | NK.C0 = clerp(NK.C0,CFrame.new(6.50798393e-06, 1.53005648, -0.348988175, 1.00000012, 2.40840018e-06, -1.19656324e-05, 5.68898395e-06, 0.775360823, 0.631518543, 1.07986853e-05, -0.631518602, 0.775360942),Alpha) | |
2578 | end | |
2579 | ||
2580 | for _,v in next, LWing:children() do | |
2581 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2582 | end | |
2583 | for _,v in next, RWing:children() do | |
2584 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2585 | end | |
2586 | for _,v in next, LWingEXT:children() do | |
2587 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end | |
2588 | end | |
2589 | for _,v in next, RWingEXT:children() do | |
2590 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end | |
2591 | end | |
2592 | for _,v in next, Halo:children() do | |
2593 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Really black' end | |
2594 | end | |
2595 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Black'.Color end) | |
2596 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Black'.Color end) | |
2597 | WalkSpeed = 50 | |
2598 | RecolorTextAndRename("The Big Black",BrickColor.new'Really black'.Color,C3.N(1,1,1)) | |
2599 | Core2.BrickColor = BrickColor.new'Really black' | |
2600 | Core2.Material = Enum.Material.Neon | |
2601 | Mode = 666666666666 | |
2602 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2603 | Sound(Root,"847061203",1,5,false,true,true) | |
2604 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2605 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2606 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2607 | for i = 1, 24 do | |
2608 | NoobyBlock(1,M.RNG(20,100)/100,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2,2,2),.04,Core2.Color,0,true) | |
2609 | end | |
2610 | for i = 0, 15 do | |
2611 | NoobySphere(3,-.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,25),-.04,Core2.Color,0) | |
2612 | end | |
2613 | for i = 0, .7, 0.1 do | |
2614 | swait() | |
2615 | local Alpha = .3 | |
2616 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0104959598, -0.113952652, 0.672263861, 0.999963522, 0.00820299331, -0.0023882892, -0.00821700692, 0.846846819, -0.531773448, -0.00233961921, 0.531773746, 0.846883237),Alpha) | |
2617 | LH.C0 = clerp(LH.C0,CFrame.new(-0.49749428, -1.06169748, -0.0426189601, 0.999878228, -0.00744201383, 0.013721575, -0.000100045589, 0.875963986, 0.482376754, -0.0156094572, -0.482319295, 0.875856459),Alpha) | |
2618 | RH.C0 = clerp(RH.C0,CFrame.new(0.498449236, -1.1497941, 0.0108022094, 0.999878228, -0.0120362351, 0.009939529, -0.000100045589, 0.631795883, 0.775134981, -0.0156094572, -0.775041461, 0.631717622),Alpha) | |
2619 | LS.C0 = clerp(LS.C0,CFrame.new(-1.12307608, 0.484921068, 0.092245549, 0.865161359, 0.501252413, -0.0155520458, 0.497926384, -0.862286389, -0.092366755, -0.059709385, 0.07216838, -0.995603561),Alpha) | |
2620 | RS.C0 = clerp(RS.C0,CFrame.new(1.37669122, 0.484069884, 0.0531393886, 0.866546988, -0.498853445, -0.0155524863, -0.49802509, -0.862227678, -0.0923835635, 0.032676056, 0.0878001451, -0.995602131),Alpha) | |
2621 | NK.C0 = clerp(NK.C0,CFrame.new(1.14440181e-05, 1.49895036, -0.0144141242, 1.00000012, 0, -9.31322575e-10, 0, 0.99796474, 0.0637694895, -9.31322575e-10, -0.0637694895, 0.99796468),Alpha) | |
2622 | end | |
2623 | Attack = false | |
2624 | NeutralAnims = true | |
2625 | end | |
2626 | ||
2627 | --// Wrap it all up \\-- | |
2628 | ||
2629 | function KeyPress(code) | |
2630 | if(code == Enum.KeyCode.One and Mode ~= 1)then | |
2631 | SolitudeMode() | |
2632 | elseif(code == Enum.KeyCode.Two and Mode ~= 2)then | |
2633 | PureMode() | |
2634 | elseif(code == Enum.KeyCode.Three and Mode ~= 3)then | |
2635 | GlitchMode() | |
2636 | elseif(code == Enum.KeyCode.Four and Mode ~= 4)then | |
2637 | StressMode() | |
2638 | elseif(code == Enum.KeyCode.Five and Mode ~= 5)then | |
2639 | JusticeMode() | |
2640 | -- Transformations | |
2641 | elseif(code == Enum.KeyCode.T)then | |
2642 | if(Mode == 1)then | |
2643 | RiddleMeThis() | |
2644 | end | |
2645 | -- Toggle player attacking | |
2646 | elseif(code == Enum.KeyCode.Semicolon)then | |
2647 | DontAttackPlayers = not DontAttackPlayers | |
2648 | Chat(DontAttackPlayers and "You can no longer attack players" or "You can now attack players") | |
2649 | -- Attacks | |
2650 | elseif(code == Enum.KeyCode.Z)then | |
2651 | if(Mode == 1 or Mode == 666666666666)then | |
2652 | if(not UIS.TouchEnabled)then NeckSnap((Mouse.Target and Mouse.Target.Parent)) else warn("Tap someone, to snap their neck") MobileNeckSnap() end | |
2653 | elseif(Mode == 2)then | |
2654 | PureBomb() | |
2655 | elseif(Mode == 3)then | |
2656 | ClickGlitch() | |
2657 | elseif(Mode == 4)then | |
2658 | Shrek() | |
2659 | elseif(Mode == 5)then | |
2660 | Aeroplane() | |
2661 | end | |
2662 | end | |
2663 | end | |
2664 | ||
2665 | function AttackCombo() | |
2666 | if(Combo == 1)then AttackOne() elseif(Combo == 2)then AttackTwo() elseif(Combo == 3)then AttackThree() end | |
2667 | end | |
2668 | ||
2669 | UIS.InputBegan:connect(function(io,gpe) | |
2670 | if(Attack)then return end | |
2671 | if(not gpe)then | |
2672 | local code = io.KeyCode; | |
2673 | if(io.UserInputType == Enum.UserInputType.Keyboard)then | |
2674 | KeyPress(code) | |
2675 | elseif(io.UserInputType == Enum.UserInputType.MouseButton1)then | |
2676 | AttackCombo() | |
2677 | end | |
2678 | end | |
2679 | end) | |
2680 | ||
2681 | ||
2682 | coroutine.wrap(function() | |
2683 | -- AURAS | |
2684 | while true do | |
2685 | if(Mode == 5)then | |
2686 | NoobySphere(5,0.15,"Multiply",Root.CFrame*CF.N(M.RNG(-5,5),-6,M.RNG(-5,5))*CF.A(M.R(90),0,0),V3.N(1.5,1.5,10),-0.015,BrickColor.new'White',0) | |
2687 | elseif(Mode == 666666666666)then | |
2688 | NoobySphere(5,math.random(25,75)/100,"Multiply",Root.CFrame*CF.N(M.RNG(-15,15),-10,M.RNG(-15,15))*CF.A(M.R(90),0,0)*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),V3.N(.75,.75,15),.005,Core2.BrickColor,0) | |
2689 | end | |
2690 | if(Mode == 666666666666)then | |
2691 | NoobySphere(5,math.random(75,150)/100,"Multiply",Root.CFrame*CF.N(M.RNG(-35,35),-10,M.RNG(-35,35))*CF.A(M.R(90),0,0)*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),V3.N(.75,.75,25),.005,Core2.BrickColor,0) | |
2692 | end | |
2693 | ||
2694 | swait() | |
2695 | end | |
2696 | end)() | |
2697 | ||
2698 | while true do | |
2699 | swait() | |
2700 | Sine = Sine + Change | |
2701 | WingSine = WingSine + WingChange | |
2702 | if(Hue > 360)then Hue = 0 end | |
2703 | Hue = Hue + 1 | |
2704 | ||
2705 | if(not Music or not Music.Parent)then | |
2706 | local tPos = 0; | |
2707 | if(Music)then tPos = Music.TimePosition; Music:Stop(); Music:Destroy(); end | |
2708 | Music = Sound(Char,MusicID,1,3,true,false,true) | |
2709 | Music.Name = 'Music' | |
2710 | Music.TimePosition = tPos; | |
2711 | end | |
2712 | Music.SoundId = "rbxassetid://"..MusicID | |
2713 | Music.Parent = Char | |
2714 | Music.Pitch = Pitch | |
2715 | Music.Volume = 2 | |
2716 | if(not Muted)then | |
2717 | Music:Resume() | |
2718 | else | |
2719 | Music:Pause() | |
2720 | end | |
2721 | ||
2722 | if(God)then | |
2723 | Hum.MaxHealth = 1e100 | |
2724 | Hum.Health = 1e100 | |
2725 | if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end | |
2726 | Hum.Name = M.RNG()*100 | |
2727 | end | |
2728 | ||
2729 | local hitfloor,posfloor,norm = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char) | |
2730 | ||
2731 | if(Mode == 3)then | |
2732 | for _,v in next, LWing:children() do | |
2733 | local what = M.RNG() | |
2734 | if(v:IsA'BasePart')then | |
2735 | v.Color = C3.N(what,what,what) | |
2736 | end | |
2737 | end | |
2738 | for _,v in next, RWing:children() do | |
2739 | local what = M.RNG() | |
2740 | if(v:IsA'BasePart')then | |
2741 | v.Color = C3.N(what,what,what) | |
2742 | end | |
2743 | end | |
2744 | for _,v in next, LWingEXT:children() do | |
2745 | local what = M.RNG() | |
2746 | if(v:IsA'BasePart')then | |
2747 | v.Color = C3.N(what,what,what) | |
2748 | end | |
2749 | end | |
2750 | for _,v in next, RWingEXT:children() do | |
2751 | local what = M.RNG() | |
2752 | if(v:IsA'BasePart')then | |
2753 | v.Color = C3.N(what,what,what) | |
2754 | end | |
2755 | end | |
2756 | ||
2757 | local what1 = M.RNG() | |
2758 | local what2 = M.RNG() | |
2759 | local what3 = M.RNG() | |
2760 | local what4 = M.RNG() | |
2761 | Core2.Color = C3.N(what1,what1,what1) | |
2762 | ||
2763 | for _,v in next, Halo:children() do | |
2764 | if(v:IsA'BasePart')then | |
2765 | v.Color = C3.N(what1,what1,what1) | |
2766 | end | |
2767 | end | |
2768 | ||
2769 | text.TextStrokeColor3 = C3.N(what2,what2,what2) | |
2770 | text.TextColor3 = C3.N(what3,what3,what3) | |
2771 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,what4,what4) end) | |
2772 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,what4,what4) end) | |
2773 | elseif(Mode == 4)then | |
2774 | for _,v in next, LWing:children() do | |
2775 | local what = M.RNG()*.5 | |
2776 | if(v:IsA'BasePart')then | |
2777 | v.Color = C3.N(what,0,0) | |
2778 | end | |
2779 | end | |
2780 | for _,v in next, LWingEXT:children() do | |
2781 | local what = M.RNG()*.5 | |
2782 | if(v:IsA'BasePart')then | |
2783 | v.Color = C3.N(what,0,0) | |
2784 | end | |
2785 | end | |
2786 | ||
2787 | local what1 = M.RNG()*.5 | |
2788 | local what2 = M.RNG()*.5 | |
2789 | local what3 = M.RNG()*.5 | |
2790 | local what4 = M.RNG()*.5 | |
2791 | Core2.Color = C3.N(what1,0,0) | |
2792 | ||
2793 | for _,v in next, Halo:children() do | |
2794 | if(v:IsA'BasePart')then | |
2795 | v.Color = C3.N(what1,0,0) | |
2796 | end | |
2797 | end | |
2798 | ||
2799 | text.TextStrokeColor3 = C3.N(what2,0,0) | |
2800 | text.TextColor3 = C3.N(what3,0,0) | |
2801 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,0,0) end) | |
2802 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,0,0) end) | |
2803 | end | |
2804 | ||
2805 | LWingWelds[1].C0 = LWingWelds[1].C0:lerp(CF.N(0,0,2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(12.5+5*M.C(WingSine/32))),.1) | |
2806 | LWingWelds[2].C0 = LWingWelds[2].C0:lerp(CF.N(0,1,3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(25+7.5*M.C(WingSine/32))),.1) | |
2807 | LWingWelds[3].C0 = LWingWelds[3].C0:lerp(CF.N(0,2,4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(37.5+10*M.C(WingSine/32))),.1) | |
2808 | LWingWelds[4].C0 = LWingWelds[4].C0:lerp(CF.N(0,3,5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,M.R(50+12.5*M.C(WingSine/32))),.1) | |
2809 | LWingWelds[5].C0 = LWingWelds[5].C0:lerp(CF.N(0,4,6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,M.R(62.5+15*M.C(WingSine/32))),.1) | |
2810 | LWingWelds[6].C0 = LWingWelds[6].C0:lerp(CF.N(0,5,7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,M.R(75+17.5*M.C(WingSine/32))),.1) | |
2811 | ||
2812 | RWingWelds[1].C0 = RWingWelds[1].C0:lerp(CF.N(0,0,-2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,-M.R(12.5+5*M.C(WingSine/32))),.1) | |
2813 | RWingWelds[2].C0 = RWingWelds[2].C0:lerp(CF.N(0,1,-3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,-M.R(25+7.5*M.C(WingSine/32))),.1) | |
2814 | RWingWelds[3].C0 = RWingWelds[3].C0:lerp(CF.N(0,2,-4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,-M.R(37.5+10*M.C(WingSine/32))),.1) | |
2815 | RWingWelds[4].C0 = RWingWelds[4].C0:lerp(CF.N(0,3,-5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,-M.R(50+12.5*M.C(WingSine/32))),.1) | |
2816 | RWingWelds[5].C0 = RWingWelds[5].C0:lerp(CF.N(0,4,-6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,-M.R(62.5+15*M.C(WingSine/32))),.1) | |
2817 | RWingWelds[6].C0 = RWingWelds[6].C0:lerp(CF.N(0,5,-7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,-M.R(75+17.5*M.C(WingSine/32))),.1) | |
2818 | ||
2819 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2820 | local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle") | |
2821 | if(not Effects or not Effects.Parent)then | |
2822 | Effects = IN("Model",Char) | |
2823 | Effects.Name = "Effects" | |
2824 | end | |
2825 | if(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2826 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2827 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2828 | Change = 1 | |
2829 | ||
2830 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2831 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2832 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2833 | Change = 1 | |
2834 | if(Mode == 7)then | |
2835 | RH.C1 = RH.C1:lerp(CF.N(0,1-.05*M.C(Sine/wsVal),0+.1*M.C(Sine/wsVal))*CF.A(M.R(8-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/3,0,0),Alpha) | |
2836 | LH.C1 = LH.C1:lerp(CF.N(0,1+.05*M.C(Sine/wsVal),0-.1*M.C(Sine/wsVal))*CF.A(M.R(8+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/3,0,0),Alpha) | |
2837 | else | |
2838 | RH.C1 = RH.C1:lerp(CF.N(0,1-.1*M.C(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(16-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/1.75,0,0),Alpha) | |
2839 | LH.C1 = LH.C1:lerp(CF.N(0,1+.1*M.C(Sine/wsVal),0-.2*M.C(Sine/wsVal))*CF.A(M.R(16+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/1.75,0,0),Alpha) | |
2840 | end | |
2841 | else | |
2842 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2) | |
2843 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2) | |
2844 | end | |
2845 | ||
2846 | Hum.WalkSpeed = WalkSpeed | |
2847 | if(NeutralAnims)then | |
2848 | if(State == 'Idle')then | |
2849 | local Alpha = .1 | |
2850 | if(Mode == 1)then | |
2851 | Change = 1 | |
2852 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00779043138, -0.0846293643+.1*M.C(Sine/32), -0.204210758, 0.912902117, -0.00691865245, -0.408120036, 0.117574908, 0.961935759, 0.246689886, 0.390878439, -0.273188382, 0.87896657),Alpha) | |
2853 | LH.C0 = clerp(LH.C0,CFrame.new(-0.587742627, -1.00122428-.1*M.C(Sine/32), -0.165018916, 0.860076427, 0.294745922, 0.416405559, -0.252913684, 0.955196917, -0.15373303, -0.443061411, 0.0269074962, 0.896087468),Alpha) | |
2854 | RH.C0 = clerp(RH.C0,CFrame.new(0.343915284, -1.07833397-.1*M.C(Sine/32), -0.0402937233, 0.964631855, -0.173768938, -0.198217094, 0.117325157, 0.956397653, -0.26746732, 0.236051857, 0.234751642, 0.942958832),Alpha) | |
2855 | LS.C0 = clerp(LS.C0,CFrame.new(-1.39700282, 0.545769572, -0.00181379914, 0.907886505, 0.355485201, -0.222199559, -0.405204862, 0.880023003, -0.247727305, 0.107477367, 0.314944565, 0.943005204)*CF.A(0,M.R(16-8*M.C(Sine/32)),M.R(0+12*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.476125))),Alpha) | |
2856 | RS.C0 = clerp(RS.C0,CFrame.new(0.903979659, 0.624733686, -0.396169931, 0.827836394, 0.560810268, -0.013374418, 0.472599089, -0.7100721, -0.521965444, -0.302220345, 0.42578119, -0.852861941)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2857 | NK.C0 = clerp(NK.C0,CFrame.new(-0.0470906645, 1.53467083, -0.115898043, 0.906688511, -0.16142872, 0.389688164, -0.00265284558, 0.921666741, 0.387973785, -0.421792656, -0.352805078, 0.835236311)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2858 | elseif(Mode == 2)then | |
2859 | Change = 1 | |
2860 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868+.1*M.C(Sine/32), -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2861 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496485978, -0.990816116-.1*M.C(Sine/32), 0.0216165781, 0.970629156, 7.27576055e-11, 0.240580648, -0.00151285366, 0.999980211, 0.00610364834, -0.240575925, -0.00628834311, 0.970610023),Alpha) | |
2862 | RH.C0 = clerp(RH.C0,CFrame.new(0.491330802, -1.06821454-.1*M.C(Sine/32), 0.0589520633, 0.986244023, 0.0538565964, -0.156276181, 0.00103943795, 0.943392873, 0.331676066, 0.165292785, -0.327276021, 0.930359602),Alpha) | |
2863 | LS.C0 = clerp(LS.C0,CFrame.new(-0.787155986, 0.248306945, -0.683226228, 0.0398273654, -0.999169707, 0.00859495346, 0.554963291, 0.0149663882, -0.831740201, 0.830920994, 0.0378959104, 0.555098593)*CF.A(M.R(0+5*M.C(Sine/32)),0,0),Alpha) | |
2864 | RS.C0 = clerp(RS.C0,CFrame.new(0.787632346, 0.574486911, -0.794373989, 0.0789790228, 0.995851278, 0.0451963581, 0.631366551, -0.0148838377, -0.775341749, -0.771452367, 0.0897712111, -0.629922688)*CF.A(M.R(0+5*M.C(Sine/32)),0,0),Alpha) | |
2865 | NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894726, -0.014402397, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2866 | elseif(Mode == 3)then | |
2867 | Change = 1 | |
2868 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.022457514, 0.0062841149, -0.00324006379, 0.982301593, 0.00117789698, 0.187302738, -4.02951969e-07, 0.999980211, -0.00628649723, -0.187306449, 0.00617515948, 0.982282162),Alpha) | |
2869 | LH.C0 = clerp(LH.C0,CFrame.new(-0.539962769, -1.00525093, -0.13583532, 0.998935044, -0.0434875898, 0.0154168755, 0.040365234, 0.985544145, 0.164539278, -0.0223494321, -0.163741738, 0.986250162),Alpha) | |
2870 | RH.C0 = clerp(RH.C0,CFrame.new(0.498531163, -0.990978718, 0.01546143, 0.985106111, 0, -0.171948016, 0.00108131359, 0.999980211, 0.00619494682, 0.171944603, -0.00628860993, 0.98508662),Alpha) | |
2871 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42806315, 0.51039964, -0.00658199936, 0.990103781, 0.139778674, -0.0125195384, -0.139578417, 0.97154665, -0.191350713, -0.0145834237, 0.191204533, 0.981441915)*CF.A(0,0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2872 | RS.C0 = clerp(RS.C0,CFrame.new(1.42666709, 0.532186806, -0.134510398, 0.990944147, -0.126525059, 0.0449620783, 0.133282125, 0.967499852, -0.214895189, -0.0163111985, 0.218941733, 0.975601614)*CF.A(0,0,M.R(0-6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.012802)),M.R(0-15*M.S(Sine/0.716246))),Alpha) | |
2873 | NK.C0 = clerp(NK.C0,CFrame.new(2.28285789e-05, 1.49894154, -0.0143941939, 0.984171331, -0.0497024879, -0.170107797, 0.0760453045, 0.985445082, 0.152036116, 0.160075322, -0.162565485, 0.973626494)*CF.A(M.R(0+3*M.C(Sine/32)),0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+16*M.C(Sine/0.98172)),M.R(0+15*M.S(Sine/0.65142))),Alpha) | |
2874 | elseif(Mode == 4)then | |
2875 | Change = 1 | |
2876 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858+.1*M.C(Sine/16), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha) | |
2877 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912-.1*M.C(Sine/16), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha) | |
2878 | RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476-.1*M.C(Sine/16), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha) | |
2879 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42592692, 0.493003547, -0.129623473, 0.987043619, 0.159894824, 0.0133710029, -0.130732149, 0.849730968, -0.51075089, -0.0930281729, 0.502385318, 0.859624803)*CF.A(0,0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.817272)),M.R(0+15*M.S(Sine/0.9872346))),Alpha) | |
2880 | RS.C0 = clerp(RS.C0,CFrame.new(1.1449033, 0.691183329, -0.239056498, 0.899715602, 0.434673697, 0.0396348648, 0.435808241, -0.899650335, -0.0264700353, 0.024151668, 0.0410887003, -0.998863578)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2881 | NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2882 | elseif(Mode == 5)then | |
2883 | Change = 1 | |
2884 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.2571125+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2885 | LH.C0 = clerp(LH.C0,CFrame.new(-0.436587602, -0.992619872, 0.0206923336, 0.99808234, 0.0599006973, 0.0156119233, -0.0600048117, 0.998178363, 0.00628757617, -0.0152068557, -0.0072123101, 0.999858439),Alpha) | |
2886 | RH.C0 = clerp(RH.C0,CFrame.new(0.481217712, -0.504008591, -0.8678087, 0.997120202, -0.0733773932, -0.0191624481, 0.0741236135, 0.889526427, 0.450830936, -0.0160352942, -0.450953096, 0.892403722),Alpha) | |
2887 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.1*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(0,0,M.R(0+5*M.C(Sine/32))),Alpha) | |
2888 | RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.1*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(0,0,M.R(0-5*M.C(Sine/32))),Alpha) | |
2889 | NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha) | |
2890 | elseif(Mode == 666666666666)then | |
2891 | Change = 1 | |
2892 | NoobySphere(4,.025,"Multiply",RArm.CFrame*CF.N(0,-1.25,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,.5),0,BrickColor.new'Black',0) | |
2893 | RJ.C0 = clerp(RJ.C0,CFrame.new(7.0558559e-11, 1.61628103+.5*M.C(Sine/32), -3.05566937e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
2894 | LH.C0 = clerp(LH.C0,CFrame.new(-0.473465502, -1.00430846, 0.0547358543, 0.996436775, 0.0789096355, 0.0297838245, -0.0829922184, 0.980262518, 0.179437637, -0.0150366053, -0.181270093, 0.983318448),Alpha) | |
2895 | RH.C0 = clerp(RH.C0,CFrame.new(0.500664473, -0.996896267, 0.0722374618, 0.994860828, -0.10125193, 0.00038037356, 0.0999543592, 0.982697129, 0.155934408, -0.0161624532, -0.155095011, 0.987767398),Alpha) | |
2896 | LS.C0 = clerp(LS.C0,CFrame.new(-1.29428089, 0.420441031, 0.493041277, 0.816086888, -0.538787425, 0.209070042, 0.381859779, 0.774240494, 0.504712522, -0.43380329, -0.33205387, 0.837588906)*CF.A(0,0,M.R(0-5*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha) | |
2897 | RS.C0 = clerp(RS.C0,CFrame.new(1.36178303, 0.535555065, 0.0481818169, 0.959323943, -0.276642442, -0.0562722012, -0.281998605, -0.948367953, -0.145173192, -0.0132056763, 0.155136824, -0.98780489)*CF.A(0,0,M.R(0+5*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha) | |
2898 | NK.C0 = clerp(NK.C0,CFrame.new(0.0176411867, 1.49121404, -0.0637010336, 0.942441404, 0.0288463272, -0.333124816, 0.0213407781, 0.989051461, 0.146020114, 0.333689809, -0.144724563, 0.931507409)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+7.5*M.S(Sine/0.01278125))),Alpha) | |
2899 | else | |
2900 | Change = .75 | |
2901 | RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),M.R(-10),0),Alpha) | |
2902 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha) | |
2903 | LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-7-5*M.C(Sine/12))),Alpha) | |
2904 | RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(7+5*M.C(Sine/12))),Alpha) | |
2905 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha) | |
2906 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha) | |
2907 | end | |
2908 | -- idle | |
2909 | elseif(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2910 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2911 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2912 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha) | |
2913 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2914 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha) | |
2915 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha) | |
2916 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2917 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2918 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 7 and Mode ~= 10 and Mode ~= 666666666666)then | |
2919 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2920 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2921 | if(Mode == 4)then | |
2922 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858-.1*M.C(Sine/(wsVal)), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha) | |
2923 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912+.1*M.C(Sine/(wsVal)), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha) | |
2924 | RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476+.1*M.C(Sine/(wsVal)), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha) | |
2925 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42592692, 0.493003547, -0.129623473, 0.987043619, 0.159894824, 0.0133710029, -0.130732149, 0.849730968, -0.51075089, -0.0930281729, 0.502385318, 0.859624803)*CF.A(M.R(0+15*M.C(Sine/wsVal)),0,0)*CF.A(0,M.R(0+4*M.C(Sine/0.817272)),M.R(0+15*M.S(Sine/0.9872346))),Alpha) | |
2926 | RS.C0 = clerp(RS.C0,CFrame.new(1.1449033, 0.691183329, -0.239056498, 0.899715602, 0.434673697, 0.0396348648, 0.435808241, -0.899650335, -0.0264700353, 0.024151668, 0.0410887003, -0.998863578)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2927 | NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2928 | elseif(Mode == 696969)then | |
2929 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858-.1*M.C(Sine/(wsVal)), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha) | |
2930 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912+.1*M.C(Sine/(wsVal)), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha) | |
2931 | RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476+.1*M.C(Sine/(wsVal)), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha) | |
2932 | LS.C0 = clerp(LS.C0,CFrame.new(-1.3136189, 0.462844551+.1*M.C(Sine/wsVal), 0.00274867564, 0.929629087, -0.368184805, -0.015158236, -0.360420376, -0.899919868, -0.245441884, 0.0767267719, 0.23363328, -0.969292879)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha) | |
2933 | RS.C0 = clerp(RS.C0,CFrame.new(1.25962329, 0.543387234+.1*M.C(Sine/wsVal), 0.0906403661, 0.898135066, 0.439483941, -0.0144048491, 0.399390757, -0.829028964, -0.391405523, -0.183958456, 0.345781803, -0.920105577)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha) | |
2934 | NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2935 | ||
2936 | elseif(Mode == 1)then | |
2937 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha) | |
2938 | NK.C0 = NK.C0:lerp(NKC0*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2939 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(0+37*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/(wsVal/2))) ),Alpha) | |
2940 | RS.C0 = clerp(RS.C0,CFrame.new(1.2, 0.7, -0.396169931, 0.827836394, 0.560810268, -0.013374418, 0.472599089, -0.7100721, -0.521965444, -0.302220345, 0.42578119, -0.852861941)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha) | |
2941 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2942 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2943 | else | |
2944 | if(hitfloor and Mode == 9)then Effect{Material=Enum.Material.Neon,Effect='Fade',Mesh={MeshType=Enum.MeshType.Cylinder},Size=V3.N(.1,5,5),Frames=120,Color=BrickColor.new'Forest green',CFrame=CF.N(posfloor,posfloor+norm)*CF.A(0,M.R(90),0)} end | |
2945 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha) | |
2946 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2947 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/(wsVal/2))) ),Alpha) | |
2948 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5-10*M.C(Sine/(wsVal/2))) ),Alpha) | |
2949 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2950 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2951 | end | |
2952 | elseif(State == 'Walk' and Mode == 7)then | |
2953 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2954 | local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1) | |
2955 | RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-2.5-1.25*M.C(Sine/(wsVal/2))),M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2956 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2957 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.11*M.C(Sine/wsVal))*CF.A(M.R(18.5*M.C(Sine/wsVal)),0,M.R(-2.5+5*M.C(Sine/(wsVal/2))) ),Alpha) | |
2958 | RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.11*M.C(Sine/wsVal))*CF.A(M.R(-18.5*M.C(Sine/wsVal)),0,M.R(2.5-5*M.C(Sine/(wsVal/2))) ),Alpha) | |
2959 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2960 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha) | |
2961 | elseif((State == 'Walk' or State == 'Run') and Mode == 10)then | |
2962 | Change = 1 | |
2963 | local Alpha = .1 | |
2964 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 0.881578624+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-45),0,0),Alpha) | |
2965 | LH.C0 = clerp(LH.C0,CFrame.new(-0.507622898, -0.617543876, -0.694063663, 0.999877989, -0.00717858272, 0.0138636231, -9.81731864e-05, 0.885106385, 0.465388477, -0.0156116197, -0.465333343, 0.884998262),Alpha) | |
2966 | RH.C0 = clerp(RH.C0,CFrame.new(0.499199599, -0.96504283, 0.0578122139, 0.999877989, -0.00369151891, 0.0151692061, -9.81731864e-05, 0.970136404, 0.242559701, -0.0156116197, -0.242531747, 0.970018268),Alpha) | |
2967 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-45),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha) | |
2968 | RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-45),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha) | |
2969 | NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(45),0,0),Alpha) | |
2970 | elseif((State == 'Walk' or State == 'Run') and Mode == 666666666666)then | |
2971 | Change = 1 | |
2972 | local Alpha = .1 | |
2973 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.61628103+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-65),0,0),Alpha) | |
2974 | LH.C0 = clerp(LH.C0,CFrame.new(-0.507622898, -0.617543876, -0.694063663, 0.999877989, -0.00717858272, 0.0138636231, -9.81731864e-05, 0.885106385, 0.465388477, -0.0156116197, -0.465333343, 0.884998262),Alpha) | |
2975 | RH.C0 = clerp(RH.C0,CFrame.new(0.499199599, -0.96504283, 0.0578122139, 0.999877989, -0.00369151891, 0.0151692061, -9.81731864e-05, 0.970136404, 0.242559701, -0.0156116197, -0.242531747, 0.970018268),Alpha) | |
2976 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-55),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha) | |
2977 | RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-55),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha) | |
2978 | NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(65),0,0),Alpha) | |
2979 | ||
2980 | elseif((State == 'Walk' or State == 'Run'))then | |
2981 | Change = 1 | |
2982 | local Alpha = .1 | |
2983 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.2571125+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-75),0,0),Alpha) | |
2984 | LH.C0 = clerp(LH.C0,CFrame.new(-0.436587602, -0.992619872, 0.0206923336, 0.99808234, 0.0599006973, 0.0156119233, -0.0600048117, 0.998178363, 0.00628757617, -0.0152068557, -0.0072123101, 0.999858439),Alpha) | |
2985 | RH.C0 = clerp(RH.C0,CFrame.new(0.481217712, -0.504008591, -0.8678087, 0.997120202, -0.0733773932, -0.0191624481, 0.0741236135, 0.889526427, 0.450830936, -0.0160352942, -0.450953096, 0.892403722),Alpha) | |
2986 | LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-15),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha) | |
2987 | RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-15),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha) | |
2988 | NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(75),0,0),Alpha) | |
2989 | ||
2990 | elseif(State == 'Jump')then | |
2991 | local Alpha = .1 | |
2992 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
2993 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha) | |
2994 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha) | |
2995 | RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
2996 | NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
2997 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
2998 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
2999 | elseif(State == 'Fall')then | |
3000 | local Alpha = .1 | |
3001 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
3002 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha) | |
3003 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha) | |
3004 | RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
3005 | NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha) | |
3006 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
3007 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
3008 | elseif(State == 'Paralyzed')then | |
3009 | -- paralyzed | |
3010 | elseif(State == 'Sit')then | |
3011 | -- sit | |
3012 | end | |
3013 | end | |
3014 | ||
3015 | ||
3016 | ||
3017 | for i,v in next, BloodPuddles do | |
3018 | local mesh = i:FindFirstChild'CylinderMesh' | |
3019 | BloodPuddles[i] = v + 1 | |
3020 | if(not mesh or i.Transparency >= 1)then | |
3021 | i:destroy() | |
3022 | BloodPuddles[i] = nil | |
3023 | elseif(v >= Frame_Speed*4)then | |
3024 | local trans = (v-Frame_Speed*4)/(Frame_Speed*2) | |
3025 | i.Transparency = trans | |
3026 | if(mesh.Scale.Z > 0)then | |
3027 | mesh.Scale = mesh.Scale-V3.N(.05,0,.05) | |
3028 | end | |
3029 | else | |
3030 | i.Transparency = 0 | |
3031 | end | |
3032 | end | |
3033 | end |