SHOW:
|
|
- or go back to the newest paste.
1 | -- Created by Nebula_Zorua -- | |
2 | -- NebulaGlitcher Demo -- | |
3 | -- The official second Glitcher's Demo -- | |
4 | -- Discord: Nebula the Zorua#6969 | |
5 | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA | |
6 | ||
7 | wait(0.2) | |
8 | ||
9 | --Values (EDITED) | |
10 | ||
11 | local plrs = game:GetService("Players") | |
12 | local plr = plrs.LocalPlayer | |
13 | local char = plr.Character | |
14 | local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso") | |
15 | ||
16 | local ANIM = "Idle" | |
17 | local ATTACK = false | |
18 | local EQUIPPED = false | |
19 | local HOLD = false | |
20 | local COMBO = 1 | |
21 | local Rooted = false | |
22 | local SINE = 0 | |
23 | local KEYHOLD = false | |
24 | local WALKINGANIM = false | |
25 | local WALK = 0 | |
26 | local VALUE1 = false | |
27 | local VALUE2 = false | |
28 | ||
29 | local ATTACK = false | |
30 | ||
31 | function MouseDown(Mouse) | |
32 | if ATTACK == false then | |
33 | end | |
34 | end | |
35 | ||
36 | function MouseUp(Mouse) | |
37 | HOLD = false | |
38 | end | |
39 | ||
40 | local function weldBetween(a, b) | |
41 | local weldd = Instance.new("ManualWeld") | |
42 | weldd.Part0 = a | |
43 | weldd.Part1 = b | |
44 | weldd.C0 = CFrame.new() | |
45 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
46 | weldd.Parent = a | |
47 | return weldd | |
48 | end | |
49 | ||
50 | function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
51 | local acs = Instance.new("Part") | |
52 | acs.CanCollide = false | |
53 | acs.Anchored = false | |
54 | acs.Size = Vector3.new(0,0,0) | |
55 | acs.CFrame = attachmentpart.CFrame | |
56 | acs.Parent = Character | |
57 | acs.BrickColor = color | |
58 | local meshs = Instance.new("SpecialMesh") | |
59 | meshs.MeshId = mesh | |
60 | meshs.TextureId = texture | |
61 | meshs.Parent = acs | |
62 | meshs.Scale = scale | |
63 | meshs.Offset = offset | |
64 | weldBetween(attachmentpart,acs) | |
65 | end | |
66 | ||
67 | function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
68 | if TYPE == "Gem" then | |
69 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
70 | acs.Anchored = false | |
71 | acs.CanCollide = false | |
72 | acs.CFrame = PART.CFrame | |
73 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
74 | weldBetween(PART,acs) | |
75 | elseif TYPE == "Skull" then | |
76 | local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
77 | acs.Anchored = false | |
78 | acs.CanCollide = false | |
79 | acs.CFrame = PART.CFrame | |
80 | local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
81 | weldBetween(PART,acs) | |
82 | elseif TYPE == "Eye" then | |
83 | local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
84 | acs.Anchored = false | |
85 | acs.CanCollide = false | |
86 | acs.CFrame = PART.CFrame | |
87 | local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
88 | weldBetween(PART,acs) | |
89 | end | |
90 | end | |
91 | ||
92 | ||
93 | function MakeForm(PART,TYPE) | |
94 | if TYPE == "Cyl" then | |
95 | local MSH = IT("CylinderMesh",PART) | |
96 | elseif TYPE == "Ball" then | |
97 | local MSH = IT("SpecialMesh",PART) | |
98 | MSH.MeshType = "Sphere" | |
99 | elseif TYPE == "Wedge" then | |
100 | local MSH = IT("SpecialMesh",PART) | |
101 | MSH.MeshType = "Wedge" | |
102 | elseif TYPE == "Head" then | |
103 | local MSH = IT("SpecialMesh",PART) | |
104 | MSH.Scale = VT(1.25,1.25,1.25) | |
105 | end | |
106 | end | |
107 | ||
108 | ||
109 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
110 | local NEWWELD = IT(TYPE) | |
111 | NEWWELD.Part0 = PART0 | |
112 | NEWWELD.Part1 = PART1 | |
113 | NEWWELD.C0 = C0 | |
114 | NEWWELD.C1 = C1 | |
115 | NEWWELD.Parent = PARENT | |
116 | return NEWWELD | |
117 | end | |
118 | ||
119 | Player = game:GetService("Players").LocalPlayer | |
120 | PlayerGui = Player.PlayerGui | |
121 | Cam = workspace.CurrentCamera | |
122 | Backpack = Player.Backpack | |
123 | Character = Player.Character | |
124 | Humanoid = Character.Humanoid | |
125 | Mouse = Player:GetMouse() | |
126 | RootPart = Character["HumanoidRootPart"] | |
127 | Torso = Character["Torso"] | |
128 | Head = Character["Head"] | |
129 | RightArm = Character["Right Arm"] | |
130 | LeftArm = Character["Left Arm"] | |
131 | RightLeg = Character["Right Leg"] | |
132 | LeftLeg = Character["Left Leg"] | |
133 | RootJoint = RootPart["RootJoint"] | |
134 | Neck = Torso["Neck"] | |
135 | RightShoulder = Torso["Right Shoulder"] | |
136 | LeftShoulder = Torso["Left Shoulder"] | |
137 | RightHip = Torso["Right Hip"] | |
138 | LeftHip = Torso["Left Hip"] | |
139 | ||
140 | ||
141 | Class_Name = "Void Face" | |
142 | ||
143 | Player_Size = 1 --Size of the player. | |
144 | Animation_Speed = 3 | |
145 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
146 | ||
147 | local Speed = 16 | |
148 | local Effects2 = {} | |
149 | ||
150 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
151 | local NEWPART = IT("Part") | |
152 | NEWPART.formFactor = FORMFACTOR | |
153 | NEWPART.Reflectance = REFLECTANCE | |
154 | NEWPART.Transparency = TRANSPARENCY | |
155 | NEWPART.CanCollide = false | |
156 | NEWPART.Locked = true | |
157 | NEWPART.Anchored = true | |
158 | if ANCHOR == false then | |
159 | NEWPART.Anchored = false | |
160 | end | |
161 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
162 | NEWPART.Name = NAME | |
163 | NEWPART.Size = SIZE | |
164 | NEWPART.Position = Torso.Position | |
165 | NEWPART.Material = MATERIAL | |
166 | NEWPART:BreakJoints() | |
167 | NEWPART.Parent = PARENT | |
168 | return NEWPART | |
169 | end | |
170 | ||
171 | --End of Values | |
172 | ||
173 | --// Shortcut Variables \\-- | |
174 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
175 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
176 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
177 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
178 | 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} | |
179 | local R3 = {N=Region3.new} | |
180 | local De = S.Debris | |
181 | local WS = workspace | |
182 | local Lght = S.Lighting | |
183 | local RepS = S.ReplicatedStorage | |
184 | local IN = Instance.new | |
185 | local Plrs = S.Players | |
186 | local UIS = S.UserInputService | |
187 | local CAS = S.ContextActionService | |
188 | --// Initializing \\-- | |
189 | local Plr = Plrs.LocalPlayer | |
190 | local Char = Plr.Character | |
191 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
192 | local RArm = Char["Right Arm"] | |
193 | local LArm = Char["Left Arm"] | |
194 | local RLeg = Char["Right Leg"] | |
195 | local LLeg = Char["Left Leg"] | |
196 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
197 | local Torso = Char.Torso | |
198 | local Head = Char.Head | |
199 | local NeutralAnims = true | |
200 | local Attack = false | |
201 | local Debounces = {Debounces={}} | |
202 | local Mouse = Plr:GetMouse() | |
203 | local Hit = {} | |
204 | local Sine = 0 | |
205 | local Change = 1 | |
206 | local PlrGui = Plr:FindFirstChildOfClass'PlayerGui' | |
207 | local Hue = 0; | |
208 | local Combo = 1 | |
209 | local BloodPuddles = {} | |
210 | ||
211 | local DontAttackPlayers = false | |
212 | ||
213 | local BurnInterval = .7 | |
214 | ||
215 | local Radioactive = {} | |
216 | ||
217 | local Hits = 0; | |
218 | local HitTime = time() | |
219 | ||
220 | local MaxHits = 60; | |
221 | ||
222 | local Effects = IN("Folder",Char) | |
223 | Effects.Name = "Effects" | |
224 | ||
225 | --Invencible Script by 1x1x1x1IAMbck or Shackluster!: | |
226 | ||
227 | function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain) | |
228 | ||
229 | local dmg = math.random(min,max) | |
230 | for i,v in ipairs(workspace:GetChildren()) do | |
231 | if v:FindFirstChild("HitBy"..Player.Name) == nil then | |
232 | local body = v:GetChildren() | |
233 | for part = 1, #body do | |
234 | if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
235 | if(body[part].Position - position).Magnitude < radius then | |
236 | if v.ClassName == "Model" then | |
237 | if v:FindFirstChildOfClass("Humanoid") then | |
238 | local HUMAN = v:FindFirstChildOfClass("Humanoid") | |
239 | if HUMAN.Health ~= 0 then | |
240 | if HasChain == true then | |
241 | local defence = Instance.new("BoolValue",v) | |
242 | defence.Name = ("HitBy"..Player.Name) | |
243 | game:GetService("Debris"):AddItem(defence, 1) | |
244 | coroutine.resume(coroutine.create(function() | |
245 | local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
246 | if TORSO then | |
247 | local PART = IT("Part",Effects) | |
248 | PART.Anchored = true | |
249 | PART.CanCollide = false | |
250 | PART.Transparency = 1 | |
251 | PART.CFrame = CF(position) | |
252 | Debris:AddItem(PART,15) | |
253 | local A = IT("Attachment",PART) | |
254 | --TORSO.Anchored = true | |
255 | local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false) | |
256 | Front.CFrame = CF(position) | |
257 | Front.CanCollide = true | |
258 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1) | |
259 | local B = IT("Attachment",Front) | |
260 | local ChainLink = IT("Beam",Effects) | |
261 | ChainLink.Texture = "rbxassetid://1262544869" | |
262 | ChainLink.TextureSpeed = 0 | |
263 | ChainLink.FaceCamera = true | |
264 | ChainLink.Width0 = 3 | |
265 | ChainLink.Attachment0 = A | |
266 | ChainLink.Attachment1 = B | |
267 | ChainLink.TextureMode = "Static" | |
268 | local bv = Instance.new("BodyVelocity") | |
269 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
270 | bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500 | |
271 | bv.Parent = Front | |
272 | bv.Name = "MOVE" | |
273 | coroutine.resume(coroutine.create(function() | |
274 | Swait(30) | |
275 | bv:remove() | |
276 | local POS = Front.Position | |
277 | Front.CanCollide = false | |
278 | local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0) | |
279 | local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0) | |
280 | for i = 0, 1, 0.07 do | |
281 | Swait() | |
282 | Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i)) | |
283 | end | |
284 | Front:remove() | |
285 | ChainLink:remove() | |
286 | end)) | |
287 | local harm = Front.Touched:Connect(function(hit) | |
288 | impale(Front,hit) | |
289 | end) | |
290 | end | |
291 | end)) | |
292 | elseif DoesWarp == true then | |
293 | local defence = Instance.new("BoolValue",v) | |
294 | defence.Name = ("HitBy"..Player.Name) | |
295 | game:GetService("Debris"):AddItem(defence, 0.001) | |
296 | local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") | |
297 | Warp(TORSO,Instakill) | |
298 | else | |
299 | if CanBeDodgedByJumping == true then | |
300 | if body[part].Position.Y < position.Y+5 then | |
301 | if math.random(1,100) < critrate+1 then | |
302 | HUMAN.Health = HUMAN.Health - dmg*critmultiplier | |
303 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
304 | else | |
305 | HUMAN.Health = HUMAN.Health - dmg | |
306 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
307 | end | |
308 | local defence = Instance.new("BoolValue",v) | |
309 | defence.Name = ("HitBy"..Player.Name) | |
310 | game:GetService("Debris"):AddItem(defence, 0.01) | |
311 | end | |
312 | else | |
313 | if beserk == true then | |
314 | HUMAN.Health = 0 | |
315 | end | |
316 | if math.random(1,100) < critrate+1 then | |
317 | HUMAN.Health = HUMAN.Health - dmg*critmultiplier | |
318 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
319 | else | |
320 | HUMAN.Health = HUMAN.Health - dmg | |
321 | StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
322 | end | |
323 | local defence = Instance.new("BoolValue",v) | |
324 | defence.Name = ("HitBy"..Player.Name) | |
325 | game:GetService("Debris"):AddItem(defence, 0.01) | |
326 | Humanoid.Died:connect(function() | |
327 | ATTACK = true | |
328 | end) | |
329 | ||
330 | end | |
331 | end | |
332 | end | |
333 | end | |
334 | end | |
335 | --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
336 | end | |
337 | end | |
338 | end | |
339 | if v.ClassName == "Part" then | |
340 | if v.Anchored == false and (v.Position - position).Magnitude < radius then | |
341 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
342 | end | |
343 | end | |
344 | end | |
345 | end | |
346 | end | |
347 | ||
348 | function Warp(Victim,WarpToVoid) | |
349 | Victim.Anchored = true | |
350 | coroutine.resume(coroutine.create(function() | |
351 | local GUI,GUI2 = CreateGUICircle(Victim) | |
352 | CreateSound("1208650519", Victim, 10, 1) | |
353 | for i = 1, 100 do | |
354 | Swait() | |
355 | GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0) | |
356 | GUI2.Rotation = GUI2.Rotation + 4 | |
357 | end | |
358 | CastWarpOutlines(Victim.Parent) | |
359 | if WarpToVoid == false then | |
360 | Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65)) | |
361 | CreateSound("1177785010", Victim, 10, 1) | |
362 | local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid") | |
363 | if HUMANOID ~= nil then | |
364 | local dmg = MRANDOM(75,95) | |
365 | HUMANOID.Health = HUMANOID.Health - dmg | |
366 | StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3)) | |
367 | end | |
368 | for i = 1, 50 do | |
369 | Swait() | |
370 | GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) | |
371 | GUI2.Rotation = GUI2.Rotation - 8 | |
372 | end | |
373 | Victim.Anchored = false | |
374 | GUI:remove() | |
375 | elseif WarpToVoid == true then | |
376 | CastWarpOutlines(Victim.Parent) | |
377 | q = Victim.Parent:GetChildren() | |
378 | for i = 1, #q do | |
379 | if q[i] ~= Victim then | |
380 | q[i]:remove() | |
381 | end | |
382 | end | |
383 | CreateSound("1177785010", Victim, 10, 1) | |
384 | Victim.Transparency = 1 | |
385 | for i = 1, 50 do | |
386 | Swait() | |
387 | GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) | |
388 | GUI2.Rotation = GUI2.Rotation - 8 | |
389 | end | |
390 | Victim.Parent:remove() | |
391 | end | |
392 | end)) | |
393 | end | |
394 | ||
395 | function killnearest(position,range,maxstrength) | |
396 | for i,v in ipairs(workspace:GetChildren()) do | |
397 | local body = v:GetChildren() | |
398 | for part = 1, #body do | |
399 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
400 | if(body[part].Position - position).Magnitude < range then | |
401 | if v.ClassName == "Model" then | |
402 | v:BreakJoints() | |
403 | end | |
404 | --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
405 | body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
406 | end | |
407 | end | |
408 | end | |
409 | if v.ClassName == "Part" then | |
410 | if v.Anchored == false and (v.Position - position).Magnitude < range then | |
411 | --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
412 | v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
413 | end | |
414 | end | |
415 | end | |
416 | end | |
417 | --End of Ivencible script.. | |
418 | ||
419 | ||
420 | --// Output Stuff \\-- | |
421 | ||
422 | function Output(type,...) | |
423 | print(table.concat{...,"\t"}) | |
424 | end | |
425 | ||
426 | warn("NEBULAGLITCHER DEMO (EDITED BY FENIX7667 (Imortal edit)") | |
427 | warn("CONTROLS:") | |
428 | warn("SOLITUDE - Z, T") | |
429 | warn("THE BIG BLACK - Z (NOT FINISHED)") | |
430 | warn("CLARITY - Z") | |
431 | warn("GLITCHY - Z") | |
432 | warn("STRESS - Z") | |
433 | warn("JUSTICE - Z") | |
434 | ||
435 | warn("The real NebulaGlitcher has more modes, and a combo system. This is just a demo.") | |
436 | ||
437 | --// Debounce System \\-- | |
438 | ||
439 | function Debounces:New(name,cooldown) | |
440 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
441 | setmetatable(aaaaa,{__index = Debounces}) | |
442 | Debounces.Debounces[name] = aaaaa | |
443 | return aaaaa | |
444 | end | |
445 | ||
446 | function Debounces:Use(overrideUsable) | |
447 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
448 | if(self.Usable or overrideUsable)then | |
449 | self.Usable = false | |
450 | self.CoolingDown = true | |
451 | local LastUse = time() | |
452 | self.LastUse = LastUse | |
453 | delay(self.Cooldown or 2,function() | |
454 | if(self.LastUse == LastUse)then | |
455 | self.CoolingDown = false | |
456 | self.Usable = true | |
457 | end | |
458 | end) | |
459 | end | |
460 | end | |
461 | ||
462 | function Debounces:Get(name) | |
463 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
464 | for i,v in next, Debounces.Debounces do | |
465 | if(i == name)then | |
466 | return v; | |
467 | end | |
468 | end | |
469 | end | |
470 | ||
471 | function Debounces:GetProgressPercentage() | |
472 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
473 | if(self.CoolingDown and not self.Usable)then | |
474 | return math.max( | |
475 | math.floor( | |
476 | ( | |
477 | (time()-self.LastUse)/self.Cooldown or 2 | |
478 | )*100 | |
479 | ) | |
480 | ) | |
481 | else | |
482 | return 100 | |
483 | end | |
484 | end | |
485 | ||
486 | --// Instance Creation Functions \\-- | |
487 | ||
488 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
489 | local Sound = IN("Sound") | |
490 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
491 | Sound.Pitch = pitch or 1 | |
492 | Sound.Volume = volume or 1 | |
493 | Sound.Looped = looped or false | |
494 | if(autoPlay)then | |
495 | coroutine.wrap(function() | |
496 | repeat wait() until Sound.IsLoaded | |
497 | Sound.Playing = autoPlay or false | |
498 | end)() | |
499 | end | |
500 | if(not looped and effect)then | |
501 | Sound.Stopped:connect(function() | |
502 | Sound.Volume = 0 | |
503 | Sound:destroy() | |
504 | end) | |
505 | elseif(effect)then | |
506 | warn("Sound can't be looped and a sound effect!") | |
507 | end | |
508 | Sound.Parent =parent or Torso | |
509 | return Sound | |
510 | end | |
511 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
512 | local part = IN("Part") | |
513 | part.Parent = parent or Char | |
514 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
515 | part.Material = material or Enum.Material.SmoothPlastic | |
516 | part.TopSurface,part.BottomSurface=10,10 | |
517 | part.Size = size or V3.N(1,1,1) | |
518 | part.CFrame = cframe or CF.N(0,0,0) | |
519 | part.CanCollide = cancollide or false | |
520 | part.Anchored = anchored or false | |
521 | return part | |
522 | end | |
523 | ||
524 | function Weld(part0,part1,c0,c1) | |
525 | local weld = IN("Weld") | |
526 | weld.Parent = part0 | |
527 | weld.Part0 = part0 | |
528 | weld.Part1 = part1 | |
529 | weld.C0 = c0 or CF.N() | |
530 | weld.C1 = c1 or CF.N() | |
531 | return weld | |
532 | end | |
533 | ||
534 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
535 | local part = IN("SpecialMesh") | |
536 | part.MeshId = meshid or "" | |
537 | part.TextureId = textid or "" | |
538 | part.Scale = scale or V3.N(1,1,1) | |
539 | part.Offset = offset or V3.N(0,0,0) | |
540 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
541 | part.Parent = parent | |
542 | return part | |
543 | end | |
544 | ||
545 | NewInstance = function(instance,parent,properties) | |
546 | local inst = Instance.new(instance) | |
547 | inst.Parent = parent | |
548 | if(properties)then | |
549 | for i,v in next, properties do | |
550 | pcall(function() inst[i] = v end) | |
551 | end | |
552 | end | |
553 | return inst; | |
554 | end | |
555 | ||
556 | function Clone(instance,parent,properties) | |
557 | local inst = instance:Clone() | |
558 | inst.Parent = parent | |
559 | if(properties)then | |
560 | for i,v in next, properties do | |
561 | pcall(function() inst[i] = v end) | |
562 | end | |
563 | end | |
564 | return inst; | |
565 | end | |
566 | ||
567 | function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf) | |
568 | local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()}) | |
569 | local Sound = IN("Sound") | |
570 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
571 | Sound.Pitch = pitch or 1 | |
572 | Sound.Volume = volume or 1 | |
573 | Sound.Looped = looped or false | |
574 | if(autoPlay)then | |
575 | coroutine.wrap(function() | |
576 | repeat wait() until Sound.IsLoaded | |
577 | Sound.Playing = autoPlay or false | |
578 | end)() | |
579 | end | |
580 | if(not looped and effect)then | |
581 | Sound.Stopped:connect(function() | |
582 | Sound.Volume = 0 | |
583 | soundPart:destroy() | |
584 | end) | |
585 | elseif(effect)then | |
586 | warn("Sound can't be looped and a sound effect!") | |
587 | end | |
588 | Sound.Parent = soundPart | |
589 | return Sound,soundPart | |
590 | end | |
591 | ||
592 | ||
593 | --// Extended ROBLOX tables \\-- | |
594 | 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}) | |
595 | --// Require stuff \\-- | |
596 | function CamShake(who,times,intense,origin) | |
597 | coroutine.wrap(function() | |
598 | if(script:FindFirstChild'CamShake')then | |
599 | local cam = script.CamShake:Clone() | |
600 | cam:WaitForChild'intensity'.Value = intense | |
601 | cam:WaitForChild'times'.Value = times | |
602 | ||
603 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end | |
604 | cam.Parent = who | |
605 | wait() | |
606 | cam.Disabled = false | |
607 | elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then | |
608 | local intensity = intense | |
609 | local cam = workspace.CurrentCamera | |
610 | for i = 1, times do | |
611 | local camDistFromOrigin | |
612 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
613 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25 | |
614 | elseif(typeof(origin) == 'Vector3')then | |
615 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25 | |
616 | end | |
617 | if(camDistFromOrigin)then | |
618 | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) | |
619 | end | |
620 | 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) | |
621 | swait() | |
622 | end | |
623 | end | |
624 | end)() | |
625 | end | |
626 | ||
627 | ||
628 | function CamShakeAll(times,intense,origin) | |
629 | for _,v in next, Plrs:players() do | |
630 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
631 | end | |
632 | end | |
633 | ||
634 | function CamShakeAOE(origin,range,times,intense,blacklist) | |
635 | local hit = {} | |
636 | for _,v in next, getRegion(origin,range,blacklist or {}) do | |
637 | if(S.Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then | |
638 | CamShake(v.Parent,times,intense,origin) | |
639 | hit[v.Parent] = true | |
640 | end | |
641 | end | |
642 | end | |
643 | ||
644 | function ServerScript(code) | |
645 | if(script:FindFirstChild'Loadstring')then | |
646 | local load = script.Loadstring:Clone() | |
647 | load:WaitForChild'Sauce'.Value = code | |
648 | load.Disabled = false | |
649 | load.Parent = workspace | |
650 | elseif(NS and typeof(NS) == 'function')then | |
651 | NS(code,workspace) | |
652 | else | |
653 | warn("no serverscripts lol") | |
654 | end | |
655 | end | |
656 | ||
657 | function LocalOnPlayer(who,code) | |
658 | ServerScript([[ | |
659 | wait() | |
660 | script.Parent=nil | |
661 | if(not _G.Http)then _G.Http = game:service'HttpService' end | |
662 | ||
663 | local Http = _G.Http or game:service'HttpService' | |
664 | ||
665 | local source = ]].."[["..code.."]]"..[[ | |
666 | local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php" | |
667 | local asd = Http:PostAsync(link,source) | |
668 | repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID | |
669 | local ID = Http:JSONDecode(asd).Result.Require_ID | |
670 | local vs = require(ID).VORTH_SCRIPT | |
671 | vs.Parent = game:service'Players'.]]..who.Name..[[.Character | |
672 | ]]) | |
673 | end | |
674 | ||
675 | --// Customization \\-- | |
676 | ||
677 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
678 | local Remove_Hats = false | |
679 | local Remove_Clothing = false | |
680 | local PlayerSize = 1 | |
681 | local DamageColor = BrickColor.new'Really black' | |
682 | local MusicID = 1564523997 | |
683 | local Pitch = 1 | |
684 | local VisSong = 511924043; | |
685 | ||
686 | local God = false | |
687 | local Muted = false | |
688 | ||
689 | local PrimaryParts = {} | |
690 | local SecondaryParts = {} | |
691 | ||
692 | local WalkSpeed = 16 | |
693 | ||
694 | local Mode = 1; | |
695 | ||
696 | --// Weapon and GUI creation, and Character Customization \\-- | |
697 | ||
698 | pcall(function()Char.LeftWing:destroy()end) | |
699 | pcall(function()Char.Halo:destroy()end) | |
700 | local toggleTag = true | |
701 | local txt = Instance.new("BillboardGui", PlrGui) | |
702 | txt.Adornee = Head | |
703 | txt.Name = "NameDetect" | |
704 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
705 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
706 | local text = Instance.new("TextLabel", txt) | |
707 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
708 | text.FontSize = "Size8" | |
709 | text.TextScaled = true | |
710 | text.TextTransparency = 0 | |
711 | text.BackgroundTransparency = 1 | |
712 | text.TextTransparency = 0 | |
713 | text.TextStrokeTransparency = 0 | |
714 | text.Font = "Fantasy" | |
715 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
716 | text.TextColor3 = Color3.new(0,0,0) | |
717 | text.Text = "Solitude" | |
718 | ||
719 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
720 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
721 | ||
722 | function RecolorTextAndRename(name,col1,col2) | |
723 | text.TextStrokeColor3 = col2 | |
724 | text.TextColor3 = col1 | |
725 | text.Text = name | |
726 | end | |
727 | ||
728 | New = function(Object, Parent, Name, Data) | |
729 | local Object = Instance.new(Object) | |
730 | for Index, Value in pairs(Data or {}) do | |
731 | Object[Index] = Value | |
732 | end | |
733 | Object.Parent = Parent | |
734 | Object.Name = Name | |
735 | return Object | |
736 | end | |
737 | ||
738 | local Feather = New("Model",nil,"Feather",{}) | |
739 | 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,}) | |
740 | local Meshie = New("SpecialMesh",Main,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
741 | 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),}) | |
742 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
743 | 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),}) | |
744 | 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),}) | |
745 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
746 | 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),}) | |
747 | 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),}) | |
748 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
749 | 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),}) | |
750 | 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),}) | |
751 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
752 | 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),}) | |
753 | 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),}) | |
754 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
755 | 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),}) | |
756 | 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),}) | |
757 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
758 | 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),}) | |
759 | ||
760 | 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 | |
761 | ||
762 | local Core = New("Model",Char,"Core",{}) | |
763 | ||
764 | 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),}) | |
765 | 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),}) | |
766 | ||
767 | 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),}) | |
768 | 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),}) | |
769 | ||
770 | local CoreH = NewInstance("Humanoid",Core,{MaxHealth=500,Health=500}) | |
771 | ||
772 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
773 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
774 | ||
775 | local Music = Sound(Char,MusicID,1,3,true,false,true) | |
776 | Music.Name = 'Music' | |
777 | ||
778 | if(PlayerSize ~= 1)then | |
779 | for _,v in next, Char:GetDescendants() do | |
780 | if(v:IsA'BasePart')then | |
781 | v.Size = v.Size * PlayerSize | |
782 | end | |
783 | end | |
784 | end | |
785 | ||
786 | local Halo = NewInstance("Model",Char,{Name='Halo'}) | |
787 | ||
788 | local LWing = NewInstance("Model",Char,{Name='LeftWing'}) | |
789 | local RWing = NewInstance("Model",Char,{Name='RightWing'}) | |
790 | ||
791 | local LWingEXT = NewInstance("Model",Char,{Name='LeftWingEXT'}) | |
792 | local RWingEXT = NewInstance("Model",Char,{Name='RightWingEXT'}) | |
793 | ||
794 | local LWingWelds = {} | |
795 | local RWingWelds = {} | |
796 | ||
797 | local LWingEWelds = {} | |
798 | local RWingEWelds = {} | |
799 | ||
800 | local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
801 | local LWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
802 | local RWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
803 | ||
804 | for i = 1, 360,5 do | |
805 | 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}) | |
806 | local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-1)}) | |
807 | table.insert(PrimaryParts,part) | |
808 | end | |
809 | ||
810 | for i = 1, 6 do | |
811 | local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
812 | cr.Transparency = 1 | |
813 | local fuck = Feather:Clone(); | |
814 | local men = fuck.Main | |
815 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
816 | local weld1 = Weld(cr,men) | |
817 | local weld = Weld(men,LWingHandle) | |
818 | if(i > 3)then | |
819 | for _,v in next, fuck:children() do v.Parent = LWingEXT v.Transparency = 1 end | |
820 | else | |
821 | for _,v in next, fuck:children() do v.Parent = LWing end | |
822 | end | |
823 | ||
824 | table.insert(LWingWelds,weld) | |
825 | table.insert(PrimaryParts,cr) | |
826 | end | |
827 | ||
828 | for i = 1, 6 do | |
829 | local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
830 | cr.Transparency = 1 | |
831 | local fuck = Feather:Clone(); | |
832 | local men = fuck.Main | |
833 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
834 | local weld1 = Weld(cr,men) | |
835 | local weld = Weld(men,RWingHandle) | |
836 | ||
837 | if(i > 3)then | |
838 | for _,v in next, fuck:children() do v.Parent = RWingEXT if(v:IsA'BasePart')then v.Transparency = 1 end end | |
839 | else | |
840 | for _,v in next, fuck:children() do v.Parent = RWing if(v:IsA'BasePart')then v.Transparency = 1 end end | |
841 | end | |
842 | table.insert(RWingWelds,weld) | |
843 | table.insert(PrimaryParts,cr) | |
844 | end | |
845 | ||
846 | for _,v in next, PrimaryParts do | |
847 | if(v:IsA'BasePart')then | |
848 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
849 | end | |
850 | end | |
851 | ||
852 | Core1.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
853 | Core2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
854 | ||
855 | ||
856 | --// Stop animations \\-- | |
857 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
858 | v:Stop(); | |
859 | end | |
860 | ||
861 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
862 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
863 | ||
864 | --// Joints \\-- | |
865 | ||
866 | 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)}) | |
867 | 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)}) | |
868 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
869 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
870 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
871 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
872 | local HW = NewInstance('Motor',Char,{Part0=Torso,Part1=HaloHandle,C0=CF.N(0,1.5,1.5)*CF.A(M.R(90),0,0)}) | |
873 | local LWW = NewInstance('Motor',Char,{Part0=Torso,Part1=LWingHandle,C0=CF.N(0,0,1.5)}) | |
874 | local RWW = NewInstance('Motor',Char,{Part0=Torso,Part1=RWingHandle,C0=CF.N(0,0,1.5)}) | |
875 | ||
876 | local LSC0 = LS.C0 | |
877 | local RSC0 = RS.C0 | |
878 | local NKC0 = NK.C0 | |
879 | local LHC0 = LH.C0 | |
880 | local RHC0 = RH.C0 | |
881 | local RJC0 = RJ.C0 | |
882 | ||
883 | --// Artificial HB \\-- | |
884 | ||
885 | local ArtificialHB = IN("BindableEvent", script) | |
886 | ArtificialHB.Name = "Heartbeat" | |
887 | ||
888 | script:WaitForChild("Heartbeat") | |
889 | ||
890 | local tf = 0 | |
891 | local allowframeloss = false | |
892 | local tossremainder = false | |
893 | local lastframe = tick() | |
894 | local frame = 1/Frame_Speed | |
895 | ArtificialHB:Fire() | |
896 | ||
897 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
898 | tf = tf + s | |
899 | if tf >= frame then | |
900 | if allowframeloss then | |
901 | script.Heartbeat:Fire() | |
902 | lastframe = tick() | |
903 | else | |
904 | for i = 1, math.floor(tf / frame) do | |
905 | ArtificialHB:Fire() | |
906 | end | |
907 | lastframe = tick() | |
908 | end | |
909 | if tossremainder then | |
910 | tf = 0 | |
911 | else | |
912 | tf = tf - frame * math.floor(tf / frame) | |
913 | end | |
914 | end | |
915 | end) | |
916 | ||
917 | function swait(num) | |
918 | if num == 0 or num == nil then | |
919 | ArtificialHB.Event:wait() | |
920 | else | |
921 | for i = 0, num do | |
922 | ArtificialHB.Event:wait() | |
923 | end | |
924 | end | |
925 | end | |
926 | ||
927 | ||
928 | --// Effect Function(s) \\-- | |
929 | ||
930 | function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId) | |
931 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) | |
932 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
933 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
934 | fxP.Color = Core2.Color | |
935 | end | |
936 | local Scale = 1 | |
937 | local speeder = Speed | |
938 | if(Type == "Multiply")then | |
939 | Scale = 1*Inc | |
940 | elseif(Type == "Divide")then | |
941 | Scale = 1/Inc | |
942 | end | |
943 | coroutine.wrap(function() | |
944 | for i = 0,10/Lifetime,.1 do | |
945 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
946 | fxP.Color = Core2.Color | |
947 | end | |
948 | ||
949 | if(Type == "Multiply")then | |
950 | Scale = Scale - 0.01*Inc/Lifetime | |
951 | elseif(Type == "Divide")then | |
952 | Scale = Scale - 0.01/Inc*Lifetime | |
953 | end | |
954 | speeder = speeder - 0.01*Speed*Lifetime | |
955 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
956 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
957 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0) | |
958 | if(fxP.Transparency >= 1)then break end | |
959 | swait() | |
960 | end | |
961 | fxP:destroy() | |
962 | end)() | |
963 | end | |
964 | ||
965 | function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId,NotAffect) | |
966 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false) | |
967 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
968 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
969 | fxP.Color = Core2.Color | |
970 | end | |
971 | local Scale = 1 | |
972 | if(Type == "Multiply")then | |
973 | Scale = 1*Inc | |
974 | elseif(Type == "Divide")then | |
975 | Scale = 1/Inc | |
976 | end | |
977 | coroutine.wrap(function() | |
978 | for i = 0,10/Lifetime,.1 do | |
979 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
980 | fxP.Color = Core2.Color | |
981 | end | |
982 | ||
983 | if(Type == "Multiply")then | |
984 | Scale = Scale - 0.01*Inc/Lifetime | |
985 | elseif(Type == "Divide")then | |
986 | Scale = Scale - 0.01/Inc*Lifetime | |
987 | end | |
988 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
989 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
990 | swait() | |
991 | end | |
992 | fxP:destroy() | |
993 | end)() | |
994 | return fxP | |
995 | end | |
996 | ||
997 | function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId) | |
998 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) | |
999 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
1000 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1001 | fxP.Color = Core2.Color | |
1002 | end | |
1003 | local Scale = 1 | |
1004 | local speeder = Speed | |
1005 | if(Type == "Multiply")then | |
1006 | Scale = 1*Inc | |
1007 | elseif(Type == "Divide")then | |
1008 | Scale = 1/Inc | |
1009 | end | |
1010 | coroutine.wrap(function() | |
1011 | for i = 0,10/Lifetime,.1 do | |
1012 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
1013 | fxP.Color = Core2.Color | |
1014 | end | |
1015 | if(Type == "Multiply")then | |
1016 | Scale = Scale - 0.01*Inc/Lifetime | |
1017 | elseif(Type == "Divide")then | |
1018 | Scale = Scale - 0.01/Inc*Lifetime | |
1019 | end | |
1020 | if(Fade)then | |
1021 | fxP.Transparency = i/(10/Lifetime) | |
1022 | end | |
1023 | speeder = speeder - 0.01*Speed*Lifetime/10 | |
1024 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
1025 | fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
1026 | swait() | |
1027 | end | |
1028 | fxP:destroy() | |
1029 | end)() | |
1030 | end | |
1031 | ||
1032 | function Bezier(startpos, pos2, pos3, endpos, t) | |
1033 | local A = startpos:lerp(pos2, t) | |
1034 | local B = pos2:lerp(pos3, t) | |
1035 | local C = pos3:lerp(endpos, t) | |
1036 | local lerp1 = A:lerp(B, t) | |
1037 | local lerp2 = B:lerp(C, t) | |
1038 | local cubic = lerp1:lerp(lerp2, t) | |
1039 | return cubic | |
1040 | end | |
1041 | ||
1042 | function SphereFX(duration,color,scale,pos,endScale,increment) | |
1043 | return Effect{ | |
1044 | Effect='ResizeAndFade', | |
1045 | Color=color, | |
1046 | Size=scale, | |
1047 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1048 | CFrame=pos, | |
1049 | FXSettings={ | |
1050 | EndSize=endScale, | |
1051 | EndIsIncrement=increment | |
1052 | } | |
1053 | } | |
1054 | end | |
1055 | ||
1056 | function BlastFX(duration,color,scale,pos,endScale,increment) | |
1057 | return Effect{ | |
1058 | Effect='ResizeAndFade', | |
1059 | Color=color, | |
1060 | Size=scale, | |
1061 | Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'}, | |
1062 | CFrame=pos, | |
1063 | FXSettings={ | |
1064 | EndSize=endScale, | |
1065 | EndIsIncrement=increment | |
1066 | } | |
1067 | } | |
1068 | end | |
1069 | ||
1070 | function BlockFX(duration,color,scale,pos,endScale,increment) | |
1071 | return Effect{ | |
1072 | Effect='ResizeAndFade', | |
1073 | Color=color, | |
1074 | Size=scale, | |
1075 | CFrame=pos, | |
1076 | FXSettings={ | |
1077 | EndSize=endScale, | |
1078 | EndIsIncrement=increment | |
1079 | } | |
1080 | } | |
1081 | end | |
1082 | ||
1083 | function ShootBullet(data) | |
1084 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1085 | local Size = data.Size or V3.N(2,2,2) | |
1086 | local Color = data.Color or BrickColor.new'Crimson' | |
1087 | local StudsPerFrame = data.Speed or 10 | |
1088 | local Shape = data.Shape or 'Ball' | |
1089 | local Frames = data.Frames or 160 | |
1090 | local Pos = data.Origin or Torso.CFrame | |
1091 | local Direction = data.Direction or Mouse.Hit | |
1092 | local Material = data.Material or Enum.Material.Neon | |
1093 | local OnUpdate = data.Update or nil | |
1094 | local OnHit = data.HitFunction or function(hit,pos) | |
1095 | AOEDamage(pos,10,{MinimumDamage=25,MaximumDamage=60}) | |
1096 | Effect{ | |
1097 | Effect='ResizeAndFade', | |
1098 | Color=Color, | |
1099 | Size=V3.N(10,10,10), | |
1100 | Material=Enum.Material.Neon, | |
1101 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1102 | CFrame=CF.N(pos), | |
1103 | FXSettings={ | |
1104 | EndSize=V3.N(.05,.05,.05), | |
1105 | EndIsIncrement=true | |
1106 | } | |
1107 | } | |
1108 | for i = 1, 5 do | |
1109 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1110 | Effect{ | |
1111 | Effect='Fade', | |
1112 | Frames=65, | |
1113 | Size=V3.N(5,5,10), | |
1114 | CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos), | |
1115 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1116 | Material=Enum.Material.Neon, | |
1117 | Color=Color, | |
1118 | MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p, | |
1119 | } | |
1120 | end | |
1121 | end | |
1122 | ||
1123 | local Bullet = Part(Effects,Color,Material,Size,Pos,true,false) | |
1124 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1125 | if(Shape == 'Ball')then | |
1126 | BMesh.MeshType = Enum.MeshType.Sphere | |
1127 | elseif(Shape == 'Head')then | |
1128 | BMesh.MeshType = Enum.MeshType.Head | |
1129 | elseif(Shape == 'Cylinder')then | |
1130 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1131 | end | |
1132 | ||
1133 | coroutine.wrap(function() | |
1134 | for i = 1, Frames+1 do | |
1135 | if(OnUpdate and typeof(OnUpdate) == 'function')then | |
1136 | OnUpdate(Bullet,BMesh,i) | |
1137 | end | |
1138 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame) | |
1139 | if(hit)then | |
1140 | OnHit(hit,pos,norm,dist) | |
1141 | break; | |
1142 | else | |
1143 | Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame) | |
1144 | end | |
1145 | swait() | |
1146 | end | |
1147 | Bullet:destroy() | |
1148 | end)() | |
1149 | ||
1150 | end | |
1151 | ||
1152 | function Puddle(hit,pos,norm,data) | |
1153 | local material = data.Material or Enum.Material.SmoothPlastic | |
1154 | local color = data.Color or BrickColor.new'Crimson' | |
1155 | local size = data.Size or 1 | |
1156 | ||
1157 | if(hit.Name ~= 'BloodPuddle')then | |
1158 | 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'}) | |
1159 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
1160 | BloodPuddles[Puddle] = 0 | |
1161 | else | |
1162 | local cyl = hit:FindFirstChild'CylinderMesh' | |
1163 | if(cyl)then | |
1164 | BloodPuddles[hit] = 0 | |
1165 | cyl.Scale = cyl.Scale + V3.N(size,0,size) | |
1166 | hit.Transparency = 0 | |
1167 | end | |
1168 | end | |
1169 | end | |
1170 | ||
1171 | function Droplet(data) | |
1172 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1173 | local Size = data.Size or 1 | |
1174 | local Color = data.Color or BrickColor.new'Crimson' | |
1175 | local StudsPerFrame = data.Speed or 1 | |
1176 | local Shape = data.Shape or 'Ball' | |
1177 | local Frames = (data.Frames or 160)+1 | |
1178 | local Pos = data.Origin or Root.CFrame | |
1179 | local Direction = data.Direction or Root.CFrame.lookVector*100000 | |
1180 | local Material = data.Material or Enum.Material.SmoothPlastic | |
1181 | local Drop = data.Drop or .05 | |
1182 | local Ignorelist = data.Ignorelist or nil | |
1183 | ||
1184 | local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false) | |
1185 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1186 | if(Shape == 'Ball')then | |
1187 | BMesh.MeshType = Enum.MeshType.Sphere | |
1188 | elseif(Shape == 'Head')then | |
1189 | BMesh.MeshType = Enum.MeshType.Head | |
1190 | elseif(Shape == 'Cylinder')then | |
1191 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1192 | end | |
1193 | ||
1194 | coroutine.wrap(function() | |
1195 | for i = 1, Frames do | |
1196 | Pos = Pos * CF.N(0,-(Drop*i),0) | |
1197 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame) | |
1198 | if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then | |
1199 | Puddle(hit,pos,norm,data) | |
1200 | break; | |
1201 | else | |
1202 | Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)) | |
1203 | end | |
1204 | swait() | |
1205 | end | |
1206 | Bullet:destroy() | |
1207 | end)() | |
1208 | end | |
1209 | ||
1210 | function Zap(data) | |
1211 | local sCF,eCF = data.StartCFrame,data.EndCFrame | |
1212 | assert(sCF,"You need a start CFrame!") | |
1213 | assert(eCF,"You need an end CFrame!") | |
1214 | local parts = data.PartCount or 15 | |
1215 | local zapRot = data.ZapRotation or {-5,5} | |
1216 | local startThick = data.StartSize or 3; | |
1217 | local endThick = data.EndSize or startThick/2; | |
1218 | local color = data.Color or BrickColor.new'Electric blue' | |
1219 | local delay = data.Delay or 35 | |
1220 | local delayInc = data.DelayInc or 0 | |
1221 | local lastLightning; | |
1222 | local MagZ = (sCF.p - eCF.p).magnitude | |
1223 | local thick = startThick | |
1224 | local inc = (startThick/parts)-(endThick/parts) | |
1225 | ||
1226 | for i = 1, parts do | |
1227 | local pos = sCF.p | |
1228 | if(lastLightning)then | |
1229 | pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p | |
1230 | end | |
1231 | delay = delay + delayInc | |
1232 | local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false) | |
1233 | 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))) | |
1234 | if(parts == i)then | |
1235 | local MagZ = (pos-eCF.p).magnitude | |
1236 | zapPart.Size = V3.N(endThick,endThick,MagZ) | |
1237 | zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2) | |
1238 | 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)}} | |
1239 | else | |
1240 | zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2) | |
1241 | end | |
1242 | ||
1243 | lastLightning = zapPart | |
1244 | Effect{Effect='Fade',Manual=zapPart,Frames=delay} | |
1245 | ||
1246 | thick=thick-inc | |
1247 | ||
1248 | end | |
1249 | end | |
1250 | ||
1251 | function Zap2(data) | |
1252 | local Color = data.Color or BrickColor.new'Electric blue' | |
1253 | local StartPos = data.Start or Torso.Position | |
1254 | local EndPos = data.End or Mouse.Hit.p | |
1255 | local SegLength = data.SegL or 2 | |
1256 | local Thicc = data.Thickness or 0.5 | |
1257 | local Fades = data.Fade or 45 | |
1258 | local Parent = data.Parent or Effects | |
1259 | local MaxD = data.MaxDist or 200 | |
1260 | local Branch = data.Branches or false | |
1261 | local Material = data.Material or Enum.Material.Neon | |
1262 | local Raycasts = data.Raycasts or false | |
1263 | local Offset = data.Offset or {0,360} | |
1264 | local AddMesh = (data.Mesh == nil and true or data.Mesh) | |
1265 | if((StartPos-EndPos).magnitude > MaxD)then | |
1266 | EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p | |
1267 | end | |
1268 | local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude | |
1269 | if(Raycasts)then | |
1270 | hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD) | |
1271 | end | |
1272 | local segments = dist/SegLength | |
1273 | local model = IN("Model",Parent) | |
1274 | model.Name = 'Lightning' | |
1275 | local Last; | |
1276 | for i = 1, segments do | |
1277 | local size = (segments-i)/25 | |
1278 | local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false) | |
1279 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1280 | if(Last and math.floor(segments) == i)then | |
1281 | local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude | |
1282 | prt.Size = V3.N(Thicc+size,MagZ,Thicc+size) | |
1283 | 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) | |
1284 | elseif(not Last)then | |
1285 | prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1286 | else | |
1287 | 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) | |
1288 | end | |
1289 | Last = prt | |
1290 | if(Branch)then | |
1291 | local choice = M.RNG(1,7+((segments-i)*2)) | |
1292 | if(choice == 1)then | |
1293 | local LastB; | |
1294 | for i2 = 1,M.RNG(2,5) do | |
1295 | local size2 = ((segments-i)/35)/i2 | |
1296 | local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false) | |
1297 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1298 | if(not LastB)then | |
1299 | 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) | |
1300 | else | |
1301 | 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) | |
1302 | end | |
1303 | LastB = prt | |
1304 | end | |
1305 | end | |
1306 | end | |
1307 | end | |
1308 | if(Fades > 0)then | |
1309 | coroutine.wrap(function() | |
1310 | for i = 1, Fades do | |
1311 | for _,v in next, model:children() do | |
1312 | if(v:IsA'BasePart')then | |
1313 | v.Transparency = (i/Fades) | |
1314 | end | |
1315 | end | |
1316 | swait() | |
1317 | end | |
1318 | model:destroy() | |
1319 | end)() | |
1320 | else | |
1321 | S.Debris:AddItem(model,.01) | |
1322 | end | |
1323 | return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model} | |
1324 | end | |
1325 | ||
1326 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
1327 | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) | |
1328 | local tween = S.TweenService:Create(obj, info, props) | |
1329 | ||
1330 | tween:Play() | |
1331 | end | |
1332 | ||
1333 | function Effect(data) | |
1334 | local FX = data.Effect or 'ResizeAndFade' | |
1335 | local Parent = data.Parent or Effects | |
1336 | local Color = data.Color or C3.N(0,0,0) | |
1337 | local Size = data.Size or V3.N(1,1,1) | |
1338 | local MoveDir = data.MoveDirection or nil | |
1339 | local MeshData = data.Mesh or nil | |
1340 | local SndData = data.Sound or nil | |
1341 | local Frames = data.Frames or 45 | |
1342 | local Manual = data.Manual or nil | |
1343 | local Material = data.Material or nil | |
1344 | local CFra = data.CFrame or Torso.CFrame | |
1345 | local Settings = data.FXSettings or {} | |
1346 | local Shape = data.Shape or Enum.PartType.Block | |
1347 | local Snd,Prt,Msh; | |
1348 | local RotInc = data.RotInc or {0,0,0} | |
1349 | if(typeof(RotInc) == 'number')then | |
1350 | RotInc = {RotInc,RotInc,RotInc} | |
1351 | end | |
1352 | coroutine.wrap(function() | |
1353 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
1354 | Prt = Manual | |
1355 | else | |
1356 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
1357 | Prt.Shape = Shape | |
1358 | end | |
1359 | if(typeof(MeshData) == 'table')then | |
1360 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
1361 | elseif(typeof(MeshData) == 'Instance')then | |
1362 | Msh = MeshData:Clone() | |
1363 | Msh.Parent = Prt | |
1364 | elseif(Shape == Enum.PartType.Block)then | |
1365 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
1366 | end | |
1367 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
1368 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
1369 | end | |
1370 | if(Snd)then | |
1371 | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
1372 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
1373 | end | |
1374 | Size = (Msh and Msh.Scale or Size) | |
1375 | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) | |
1376 | ||
1377 | local MoveSpeed = nil; | |
1378 | if(MoveDir)then | |
1379 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
1380 | end | |
1381 | if(FX ~= 'Arc')then | |
1382 | for Frame = 1, Frames do | |
1383 | if(FX == "Fade")then | |
1384 | Prt.Transparency = (Frame/Frames) | |
1385 | elseif(FX == "Resize")then | |
1386 | if(not Settings.EndSize)then | |
1387 | Settings.EndSize = V3.N(0,0,0) | |
1388 | end | |
1389 | if(Settings.EndIsIncrement)then | |
1390 | if(Msh)then | |
1391 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1392 | else | |
1393 | Prt.Size = Prt.Size + Settings.EndSize | |
1394 | end | |
1395 | else | |
1396 | if(Msh)then | |
1397 | Msh.Scale = Msh.Scale - grow/Frames | |
1398 | else | |
1399 | Prt.Size = Prt.Size - grow/Frames | |
1400 | end | |
1401 | end | |
1402 | elseif(FX == "ResizeAndFade")then | |
1403 | if(not Settings.EndSize)then | |
1404 | Settings.EndSize = V3.N(0,0,0) | |
1405 | end | |
1406 | if(Settings.EndIsIncrement)then | |
1407 | if(Msh)then | |
1408 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1409 | else | |
1410 | Prt.Size = Prt.Size + Settings.EndSize | |
1411 | end | |
1412 | else | |
1413 | if(Msh)then | |
1414 | Msh.Scale = Msh.Scale - grow/Frames | |
1415 | else | |
1416 | Prt.Size = Prt.Size - grow/Frames | |
1417 | end | |
1418 | end | |
1419 | Prt.Transparency = (Frame/Frames) | |
1420 | end | |
1421 | if(Settings.RandomizeCFrame)then | |
1422 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
1423 | else | |
1424 | Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc)) | |
1425 | end | |
1426 | if(MoveDir and MoveSpeed)then | |
1427 | local Orientation = Prt.Orientation | |
1428 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
1429 | Prt.Orientation = Orientation | |
1430 | end | |
1431 | swait() | |
1432 | end | |
1433 | Prt:destroy() | |
1434 | else | |
1435 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1436 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1437 | if(start and endP)then | |
1438 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1439 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1440 | for Frame = 0, 1, (Settings.Speed or 0.01) do | |
1441 | if(Settings.Home)then | |
1442 | endP = Settings.Home.CFrame | |
1443 | end | |
1444 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) | |
1445 | end | |
1446 | if(Settings.RemoveOnGoal)then | |
1447 | Prt:destroy() | |
1448 | end | |
1449 | else | |
1450 | Prt:destroy() | |
1451 | assert(start,"You need a start position!") | |
1452 | assert(endP,"You need a start position!") | |
1453 | end | |
1454 | end | |
1455 | end)() | |
1456 | return Prt,Msh,Snd | |
1457 | end | |
1458 | ||
1459 | ||
1460 | function SoulSteal(whom) | |
1461 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
1462 | print(torso) | |
1463 | if(torso and torso:IsA'BasePart')then | |
1464 | local Model = Instance.new("Model",Effects) | |
1465 | Model.Name = whom.Name.."'s Soul" | |
1466 | whom:BreakJoints() | |
1467 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
1468 | Soul.Name = 'Head' | |
1469 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
1470 | Effect{ | |
1471 | Effect="Arc", | |
1472 | Manual = Soul, | |
1473 | FXSettings={ | |
1474 | Start=torso.CFrame, | |
1475 | Home = Torso, | |
1476 | RemoveOnGoal = true, | |
1477 | } | |
1478 | } | |
1479 | local lastPoint = Soul.CFrame.p | |
1480 | ||
1481 | for i = 0, 1, 0.01 do | |
1482 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
1483 | local mag = (lastPoint - Soul.Position).magnitude | |
1484 | Effect{ | |
1485 | Effect = "Fade", | |
1486 | CFrame = point * CF.N(0, mag/2, 0), | |
1487 | Size = V3.N(.5,mag+.5,.5), | |
1488 | Color = Soul.BrickColor | |
1489 | } | |
1490 | lastPoint = Soul.CFrame.p | |
1491 | swait() | |
1492 | end | |
1493 | for i = 1, 5 do | |
1494 | Effect{ | |
1495 | Effect="Fade", | |
1496 | Color = BrickColor.new'Really red', | |
1497 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1498 | } | |
1499 | end | |
1500 | end | |
1501 | end | |
1502 | ||
1503 | --// Other Functions \\ -- | |
1504 | ||
1505 | function CastRay(startPos,endPos,range,ignoreList) | |
1506 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1507 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1508 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1509 | end | |
1510 | ||
1511 | function getRegion(point,range,ignore) | |
1512 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1513 | end | |
1514 | ||
1515 | function clerp(startCF,endCF,alpha) | |
1516 | return startCF:lerp(endCF, alpha) | |
1517 | end | |
1518 | ||
1519 | function GetTorso(char) | |
1520 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
1521 | end | |
1522 | ||
1523 | ||
1524 | function ShowDamage(Pos, Text, Time, Color) | |
1525 | coroutine.wrap(function() | |
1526 | local Rate = (1 / Frame_Speed) | |
1527 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1528 | local Text = (Text or "") | |
1529 | local Time = (Time or 2) | |
1530 | local Color = (Color or Color3.new(1, 0, 1)) | |
1531 | local EffectPart = NewInstance("Part",Effects,{ | |
1532 | Material=Enum.Material.SmoothPlastic, | |
1533 | Reflectance = 0, | |
1534 | Transparency = 1, | |
1535 | BrickColor = BrickColor.new(Color), | |
1536 | Name = "Effect", | |
1537 | Size = Vector3.new(0,0,0), | |
1538 | Anchored = true, | |
1539 | CFrame = CF.N(Pos) | |
1540 | }) | |
1541 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1542 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1543 | Adornee = EffectPart, | |
1544 | }) | |
1545 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1546 | BackgroundTransparency = 1, | |
1547 | Size = UDim2.new(1, 0, 1, 0), | |
1548 | Text = Text, | |
1549 | Font = "Bodoni", | |
1550 | TextColor3 = Color, | |
1551 | TextStrokeColor3 = Color3.new(0,0,0), | |
1552 | TextStrokeTransparency=0, | |
1553 | TextScaled = true, | |
1554 | }) | |
1555 | S.Debris:AddItem(EffectPart, (Time)) | |
1556 | EffectPart.Parent = workspace | |
1557 | delay(0, function() | |
1558 | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out) | |
1559 | local Frames = (Time / Rate) | |
1560 | for Frame = 1, Frames do | |
1561 | swait() | |
1562 | local Percent = (Frame / Frames) | |
1563 | TextLabel.TextTransparency = Percent | |
1564 | TextLabel.TextStrokeTransparency = Percent | |
1565 | end | |
1566 | if EffectPart and EffectPart.Parent then | |
1567 | EffectPart:Destroy() | |
1568 | end | |
1569 | end) end)() | |
1570 | end | |
1571 | ||
1572 | ||
1573 | function DealDamage(data) | |
1574 | local Who = data.Who; | |
1575 | local MinDam = data.MinimumDamage or 15; | |
1576 | local MaxDam = data.MaximumDamage or 30; | |
1577 | local MaxHP = data.MaxHP or 1e5; | |
1578 | ||
1579 | local DB = data.Debounce or .2; | |
1580 | ||
1581 | local CritData = data.Crit or {} | |
1582 | local CritChance = CritData.Chance or 0; | |
1583 | local CritMultiplier = CritData.Multiplier or 1; | |
1584 | ||
1585 | local DamageEffects = data.DamageFX or {} | |
1586 | local DamageType = DamageEffects.Type or "Normal" | |
1587 | local DeathFunction = DamageEffects.DeathFunction | |
1588 | ||
1589 | assert(Who,"Specify someone to damage!") | |
1590 | ||
1591 | local Humanoid = Who:FindFirstChildOfClass'Humanoid' | |
1592 | local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1) | |
1593 | ||
1594 | local canHit = true | |
1595 | if(Humanoid)then | |
1596 | for _, p in pairs(Hit) do | |
1597 | if p[1] == Humanoid then | |
1598 | if(time() - p[2] <= DB) then | |
1599 | canHit = false | |
1600 | else | |
1601 | Hit[_] = nil | |
1602 | end | |
1603 | end | |
1604 | end | |
1605 | if(canHit)then | |
1606 | table.insert(Hit,{Humanoid,time()}) | |
1607 | local HitTorso = GetTorso(Who) | |
1608 | local player = S.Players:GetPlayerFromCharacter(Who) | |
1609 | if(not player or not DontAttackPlayers and player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then | |
1610 | if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then | |
1611 | print'Got kill' | |
1612 | Humanoid.Health = 0; | |
1613 | Who:BreakJoints(); | |
1614 | if(DeathFunction)then DeathFunction(Who,Humanoid) end | |
1615 | else | |
1616 | local c = Instance.new("ObjectValue",Hum) | |
1617 | c.Name = "creator" | |
1618 | c.Value = Plr | |
1619 | S.Debris:AddItem(c,0.35) | |
1620 | if(Humanoid.Health > 0)then | |
1621 | if(Mode == 9 and not Radioactive[Who])then | |
1622 | Radioactive[Who] = {0,M.RNG(time()+4,time()+14)} | |
1623 | end | |
1624 | if(Who:FindFirstChild'Head')then | |
1625 | 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) | |
1626 | end | |
1627 | if(Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end | |
1628 | Humanoid.Health = Humanoid.Health - DoneDamage | |
1629 | end | |
1630 | ||
1631 | if(DamageType == 'Knockback' and HitTorso)then | |
1632 | local up = DamageEffects.KnockUp or 25 | |
1633 | local back = DamageEffects.KnockBack or 25 | |
1634 | local origin = DamageEffects.Origin or Root | |
1635 | local decay = DamageEffects.Decay or .5; | |
1636 | ||
1637 | local bfos = Instance.new("BodyVelocity",HitTorso) | |
1638 | bfos.P = 20000 | |
1639 | bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1640 | bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back) | |
1641 | S.Debris:AddItem(bfos,decay) | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | end | |
1648 | ||
1649 | function AOEDamage(where,range,options) | |
1650 | local hit = {} | |
1651 | for _,v in next, getRegion(where,range,{Char}) do | |
1652 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then | |
1653 | local callTable = {Who=v.Parent} | |
1654 | hit[v.Parent] = true | |
1655 | for _,v in next, options do callTable[_] = v end | |
1656 | DealDamage(callTable) | |
1657 | end | |
1658 | end | |
1659 | return hit | |
1660 | end | |
1661 | ||
1662 | function AOEHeal(where,range,amount) | |
1663 | local healed = {} | |
1664 | for _,v in next, getRegion(where,range,{Char}) do | |
1665 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1666 | if(hum and not healed[hum])then | |
1667 | hum.Health = hum.Health + amount | |
1668 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1669 | 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) | |
1670 | end | |
1671 | end | |
1672 | end | |
1673 | end | |
1674 | ||
1675 | --// Chat Function \\-- | |
1676 | ||
1677 | function Chat(text,color) | |
1678 | coroutine.wrap(function() | |
1679 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
1680 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head}) | |
1681 | local offset = 0; | |
1682 | local xsize = 0; | |
1683 | for i = 1, #text do | |
1684 | offset = offset - 16 | |
1685 | xsize = xsize + 32 | |
1686 | delay(i/25, function() | |
1687 | 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)}) | |
1688 | offset = offset + 32 | |
1689 | if(Txt.Parent)then Txt:TweenPosition(UDim2.new(0,offset,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic,1) end | |
1690 | end) | |
1691 | end | |
1692 | BBG.Size = UDim2.new(0,xsize,0,40) | |
1693 | delay((#text/25)+3, function() | |
1694 | for _,v in next, BBG:children() do | |
1695 | v:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Linear,1) | |
1696 | end | |
1697 | wait(1.15) | |
1698 | BBG:destroy() | |
1699 | end) | |
1700 | end)() | |
1701 | end | |
1702 | ||
1703 | ||
1704 | --// Everything else \\-- | |
1705 | ||
1706 | function ClickGlitch() | |
1707 | Attack = true | |
1708 | NeutralAnims = false | |
1709 | local oWS = WalkSpeed | |
1710 | WalkSpeed = 0 | |
1711 | Hum.JumpPower = 0 | |
1712 | Hum.AutoRotate = false | |
1713 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1714 | for i = 0, 2, 0.1 do | |
1715 | swait() | |
1716 | local Alpha = .3 | |
1717 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1718 | 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) | |
1719 | 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) | |
1720 | 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) | |
1721 | 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) | |
1722 | 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) | |
1723 | 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) | |
1724 | end | |
1725 | Sound(LArm,217767125,M.RNG(75,125)/100,10,false,true,true) | |
1726 | Effect{ | |
1727 | Effect='Fade', | |
1728 | Size=V3.N(1,1,1), | |
1729 | CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)), | |
1730 | Color=Core2.Color, | |
1731 | Material=Enum.Material.Neon, | |
1732 | FXSettings = { | |
1733 | RandomizeCFrame=true | |
1734 | } | |
1735 | } | |
1736 | coroutine.wrap(function() | |
1737 | local MousePos = Mouse.Hit | |
1738 | local effect = Part(Effects,Core2.Color,Enum.Material.Neon,V3.N(2.5,2.5,2.5),MousePos,true,false) | |
1739 | for i = 0, 6, .1 do | |
1740 | effect.Color = Core2.Color | |
1741 | MousePos = MousePos * CF.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100) | |
1742 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1743 | 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) | |
1744 | swait() | |
1745 | end | |
1746 | AOEDamage(MousePos.p,30,{MinimumDamage=30,MaximumDamage=75}) | |
1747 | for i = 0, 3, .1 do | |
1748 | effect.Color = Core2.Color | |
1749 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1750 | effect.Size = effect.Size + V3.N(1,1,1) | |
1751 | effect.Transparency = i/3 | |
1752 | swait() | |
1753 | end | |
1754 | effect:destroy() | |
1755 | ||
1756 | end)() | |
1757 | for i = 0, 1, 0.1 do | |
1758 | swait() | |
1759 | local Alpha = .3 | |
1760 | 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) | |
1761 | 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) | |
1762 | 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) | |
1763 | 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) | |
1764 | 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) | |
1765 | 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) | |
1766 | end | |
1767 | for i = 0, 1, 0.1 do | |
1768 | swait() | |
1769 | local Alpha = .3 | |
1770 | 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) | |
1771 | 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) | |
1772 | 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) | |
1773 | 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) | |
1774 | 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) | |
1775 | 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) | |
1776 | end | |
1777 | WalkSpeed = oWS | |
1778 | Hum.JumpPower = 50 | |
1779 | Hum.AutoRotate = true | |
1780 | Attack = false | |
1781 | NeutralAnims = true | |
1782 | end | |
1783 | ||
1784 | function PureBomb() | |
1785 | Attack = true | |
1786 | NeutralAnims = false | |
1787 | 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) | |
1788 | local orbM = Mesh(orb,Enum.MeshType.Sphere,"","",V3.N(.1,.1,.1)) | |
1789 | local Scale = 0.1 | |
1790 | local Pos = 0 | |
1791 | Hum.AutoRotate = false | |
1792 | Sound(orb,136007472,1,5,false,true,true) | |
1793 | for i = 0, 10, 0.1 do | |
1794 | Scale = Scale + .05 | |
1795 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
1796 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1797 | orbM.Scale = V3.N(Scale,Scale,Scale) | |
1798 | 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) | |
1799 | swait() | |
1800 | local Alpha = .3 | |
1801 | 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) | |
1802 | 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) | |
1803 | 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) | |
1804 | 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) | |
1805 | 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) | |
1806 | 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) | |
1807 | end | |
1808 | for i = 0, 2, 0.1 do | |
1809 | swait() | |
1810 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
1811 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1812 | local Alpha = .3 | |
1813 | 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) | |
1814 | 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) | |
1815 | 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) | |
1816 | 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) | |
1817 | 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) | |
1818 | 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) | |
1819 | end | |
1820 | Sound(Root,260433768,1,5.25,false,true,true) | |
1821 | 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) | |
1822 | local snd, part = SoundPart(151304356,1,5.25,false,true,true,CF.N(pos)) | |
1823 | AOEDamage(pos,Scale*4,{MinimumDamage=25,MaximumDamage=60}) | |
1824 | Effect{ | |
1825 | Effect='ResizeAndFade', | |
1826 | Color=BrickColor.new'Baby blue', | |
1827 | Size=V3.N(Scale*2,Scale*2,Scale*2), | |
1828 | Material=Enum.Material.Neon, | |
1829 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1830 | CFrame=CF.N(pos), | |
1831 | FXSettings={ | |
1832 | EndSize=V3.N(.1,.1,.1), | |
1833 | EndIsIncrement=true | |
1834 | } | |
1835 | } | |
1836 | Effect{ | |
1837 | Effect='ResizeAndFade', | |
1838 | Color=BrickColor.new'Pastel light blue', | |
1839 | Size=V3.N(Scale*1.5,Scale*1.5,Scale*1.5), | |
1840 | Material=Enum.Material.Neon, | |
1841 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1842 | CFrame=CF.N(pos), | |
1843 | FXSettings={ | |
1844 | EndSize=V3.N(.1,.1,.1), | |
1845 | EndIsIncrement=true | |
1846 | } | |
1847 | } | |
1848 | for i = 0, 49 do | |
1849 | 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) | |
1850 | end | |
1851 | for i = 0, 9 do | |
1852 | 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) | |
1853 | 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) | |
1854 | end | |
1855 | end} | |
1856 | orb:destroy() | |
1857 | for i = 0, 1, 0.1 do | |
1858 | swait() | |
1859 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1860 | local Alpha = .3 | |
1861 | 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) | |
1862 | 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) | |
1863 | 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) | |
1864 | 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) | |
1865 | 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) | |
1866 | 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) | |
1867 | end | |
1868 | ||
1869 | Hum.AutoRotate = true | |
1870 | ||
1871 | Attack = false | |
1872 | NeutralAnims = true | |
1873 | end | |
1874 | ||
1875 | function Aeroplane() | |
1876 | Attack = true | |
1877 | NeutralAnims = false | |
1878 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(2,2,2),.5,BrickColor.new'White') | |
1879 | local rad = 0 | |
1880 | for i = 0, 3, 0.1 do | |
1881 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
1882 | swait() | |
1883 | Root.Velocity = Root.CFrame.lookVector*(350-(i*66)) | |
1884 | local Alpha = .3 | |
1885 | 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) | |
1886 | 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) | |
1887 | 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) | |
1888 | 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) | |
1889 | 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) | |
1890 | 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) | |
1891 | end | |
1892 | for i = 0, 18, 0.1 do | |
1893 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
1894 | swait() | |
1895 | rad = rad + .1 | |
1896 | local Alpha = .3 | |
1897 | Root.Velocity = Root.CFrame.lookVector*150 | |
1898 | 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) | |
1899 | 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) | |
1900 | 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) | |
1901 | 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) | |
1902 | 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) | |
1903 | 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) | |
1904 | end | |
1905 | Attack = false | |
1906 | NeutralAnims = true | |
1907 | end | |
1908 | ||
1909 | function Shrek() | |
1910 | Attack = true | |
1911 | NeutralAnims = false | |
1912 | local oWS = WalkSpeed | |
1913 | for i = 0, 2, 0.1 do | |
1914 | swait() | |
1915 | local Alpha = .3 | |
1916 | 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) | |
1917 | 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) | |
1918 | 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) | |
1919 | 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) | |
1920 | 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) | |
1921 | 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) | |
1922 | end | |
1923 | WalkSpeed = 0 | |
1924 | Sound(Head,368794903,1.2,10,false,true,true) | |
1925 | local wo = IN("Model",Effects) | |
1926 | ||
1927 | for i = 1, 3 do | |
1928 | local wat = 12.5+(i*2) | |
1929 | local screamPart = Part(wo,BrickColor.new'Pearl',Enum.Material.Neon,V3.N(1,1,1),Head.CFrame,false,false) | |
1930 | screamPart.Transparency = .6+(i/10) | |
1931 | Mesh(screamPart,Enum.MeshType.Sphere,"","",V3.N(wat,wat,wat)) | |
1932 | Weld(screamPart,Torso) | |
1933 | end | |
1934 | ||
1935 | for i = 0, 8, 0.1 do | |
1936 | swait() | |
1937 | AOEDamage(Torso.CFrame.p,20,{ | |
1938 | MinimumDamage=5, | |
1939 | MaximumDamage=10 | |
1940 | }) | |
1941 | local Alpha = .3 | |
1942 | 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) | |
1943 | 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) | |
1944 | 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) | |
1945 | 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) | |
1946 | 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) | |
1947 | 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) | |
1948 | end | |
1949 | wo:breakJoints() | |
1950 | wo:destroy() | |
1951 | WalkSpeed = oWS | |
1952 | Attack = false | |
1953 | NeutralAnims = true | |
1954 | end | |
1955 | ||
1956 | function NeckSnap(target) | |
1957 | if(target)then | |
1958 | local torso = GetTorso(target) | |
1959 | local hum = target:FindFirstChildOfClass'Humanoid' | |
1960 | local hed = target:FindFirstChild'Head' | |
1961 | if(torso and hum and hum.Health > 0 and hed)then | |
1962 | local oWS = WalkSpeed | |
1963 | local oPar = target.Parent | |
1964 | local originalpos = Root.CFrame | |
1965 | WalkSpeed = 0 | |
1966 | Hum.JumpPower = 0 | |
1967 | Attack = true | |
1968 | NeutralAnims = false | |
1969 | Root.Anchored = true | |
1970 | torso.Anchored = true | |
1971 | target.Parent = Char | |
1972 | Hum.AutoRotate = false | |
1973 | Root.CFrame = torso.CFrame*CF.N(-0.54454422, 0, 0.987496376) | |
1974 | for _,v in next, torso:children() do | |
1975 | if(v:IsA'JointInstance' and (v.Part0 == hed or v.Part1 == hed))then | |
1976 | v:destroy() | |
1977 | end | |
1978 | end | |
1979 | hed:breakJoints() | |
1980 | local weld = NewInstance('Motor',torso,{Part0=hed,Part1=torso,C0=CF.N(0,-1.5,0)}) | |
1981 | for i = 0, 1, 0.1 do | |
1982 | swait() | |
1983 | local Alpha = .3 | |
1984 | 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) | |
1985 | 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) | |
1986 | 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) | |
1987 | 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) | |
1988 | 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) | |
1989 | 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) | |
1990 | end | |
1991 | Sound(hed,1093102664,1,5,false,true,true) | |
1992 | for i = 0, 1.3, 0.1 do | |
1993 | swait() | |
1994 | local Alpha = .3 | |
1995 | weld.C0 = weld.C0:lerp(CF.N(0,-1.5,0)*CF.A(0,M.R(-90),0),Alpha) | |
1996 | 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) | |
1997 | 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) | |
1998 | 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) | |
1999 | 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) | |
2000 | 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) | |
2001 | 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) | |
2002 | end | |
2003 | target.Parent = oPar | |
2004 | target:breakJoints() | |
2005 | WalkSpeed = oWS | |
2006 | Hum.JumpPower = 50 | |
2007 | Hum.AutoRotate = true | |
2008 | Root.Anchored = false | |
2009 | torso.Anchored = false | |
2010 | Attack = false | |
2011 | NeutralAnims = true | |
2012 | end | |
2013 | end | |
2014 | end | |
2015 | ||
2016 | function AttackOne() | |
2017 | Attack = true | |
2018 | NeutralAnims = false | |
2019 | for i = 0, .7, 0.1 do | |
2020 | swait() | |
2021 | local Alpha = .3 | |
2022 | 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) | |
2023 | 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) | |
2024 | 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) | |
2025 | 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) | |
2026 | 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) | |
2027 | 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) | |
2028 | end | |
2029 | Sound(RArm,200632136,1.1,5,false,true,true) | |
2030 | for i = 0, .9, 0.1 do | |
2031 | swait() | |
2032 | local Alpha = .3 | |
2033 | AOEDamage(RArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2034 | 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) | |
2035 | 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) | |
2036 | 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) | |
2037 | 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) | |
2038 | 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) | |
2039 | 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) | |
2040 | end | |
2041 | Combo = 2 | |
2042 | Attack = false | |
2043 | NeutralAnims = true | |
2044 | end | |
2045 | ||
2046 | function AttackTwo() | |
2047 | Attack = true | |
2048 | NeutralAnims = false | |
2049 | for i = 0, 1, 0.1 do | |
2050 | swait() | |
2051 | local Alpha = .3 | |
2052 | 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) | |
2053 | 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) | |
2054 | 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) | |
2055 | 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) | |
2056 | 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) | |
2057 | 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) | |
2058 | end | |
2059 | Sound(LArm,200632136,.9,5,false,true,true) | |
2060 | for i = 0, 1, 0.1 do | |
2061 | swait() | |
2062 | local Alpha = .3 | |
2063 | AOEDamage(LArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2064 | 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) | |
2065 | 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) | |
2066 | 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) | |
2067 | 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) | |
2068 | 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) | |
2069 | 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) | |
2070 | end | |
2071 | Combo = 3 | |
2072 | Attack = false | |
2073 | NeutralAnims = true | |
2074 | end | |
2075 | ||
2076 | function AttackThree() | |
2077 | Attack = true | |
2078 | NeutralAnims = false | |
2079 | for i = 0, 1, 0.1 do | |
2080 | swait() | |
2081 | local Alpha = .3 | |
2082 | 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) | |
2083 | 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) | |
2084 | 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) | |
2085 | 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) | |
2086 | 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) | |
2087 | 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) | |
2088 | end | |
2089 | --for a = 1, 3 do | |
2090 | local a = 2 | |
2091 | coroutine.wrap(function() | |
2092 | for i = 5,45,10 do | |
2093 | local hite = Instance.new("Part",Char) | |
2094 | hite.Anchored = true | |
2095 | hite.CanCollide = false | |
2096 | hite.Material = "Neon" | |
2097 | hite.Size = V3.N(1, 1, 1) | |
2098 | hite.Transparency = 1 | |
2099 | hite.CFrame = (Root.CFrame + Root.CFrame.lookVector)*CF.A(0,M.R(90+(a*45)),0)*CF.N(0,0,i) | |
2100 | CamShakeAOE(hite.CFrame.p,10,30,250) | |
2101 | NoobySphere2(3,'Multiply',hite.CFrame,V3.N(0,0,0),.15,Core2.Color) | |
2102 | NoobySphere2(6,'Multiply',hite.CFrame,V3.N(0,0,0),.3,Core2.Color) | |
2103 | for i = 1, 2 do | |
2104 | 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) | |
2105 | end | |
2106 | for i = 1, 5 do | |
2107 | 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) | |
2108 | end | |
2109 | AOEDamage(hite.CFrame.p,10,{MinimumDamage=25,MaximumDamage=45}) | |
2110 | Sound(hite,183763506,1,5,false,true,true) | |
2111 | S.Debris:AddItem(hite,2) | |
2112 | swait() | |
2113 | end | |
2114 | end)() | |
2115 | --end | |
2116 | for i = 0, 1, 0.1 do | |
2117 | swait() | |
2118 | local Alpha = .3 | |
2119 | 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) | |
2120 | 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) | |
2121 | 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) | |
2122 | 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) | |
2123 | 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) | |
2124 | 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) | |
2125 | end | |
2126 | Combo = 1 | |
2127 | Attack = false | |
2128 | NeutralAnims = true | |
2129 | end | |
2130 | ||
2131 | ||
2132 | local WingSine = 0 | |
2133 | local WingChange = 1 | |
2134 | ||
2135 | function SolitudeMode() | |
2136 | Attack = true | |
2137 | NeutralAnims = false | |
2138 | local Sin = 0 | |
2139 | MusicID = 1564523997 | |
2140 | Pitch = 1 | |
2141 | WalkSpeed = 0 | |
2142 | Sound(Core2,136007472,1.25,2.5,false,true,true) | |
2143 | for i = 0, 4, 0.1 do | |
2144 | swait() | |
2145 | 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) | |
2146 | Sin = Sin + 5 | |
2147 | local Alpha = .1 | |
2148 | 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) | |
2149 | 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) | |
2150 | 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) | |
2151 | 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) | |
2152 | 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) | |
2153 | 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) | |
2154 | end | |
2155 | for _,v in next, LWing:children() do | |
2156 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Black' end | |
2157 | end | |
2158 | for _,v in next, RWing:children() do | |
2159 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2160 | end | |
2161 | for _,v in next, LWingEXT:children() do | |
2162 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2163 | end | |
2164 | for _,v in next, RWingEXT:children() do | |
2165 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end | |
2166 | end | |
2167 | for _,v in next, Halo:children() do | |
2168 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Black' end | |
2169 | end | |
2170 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,0,0) end) | |
2171 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,0,0) end) | |
2172 | WalkSpeed = 16 | |
2173 | Mode = 1 | |
2174 | Core2.BrickColor = BrickColor.new'Black' | |
2175 | Core2.Material = Enum.Material.Neon | |
2176 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2177 | Sound(Root,"847061203",1,5,false,true,true) | |
2178 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2179 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2180 | RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1)) | |
2181 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2182 | for i = 1, 24 do | |
2183 | 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) | |
2184 | end | |
2185 | for i = 0, 15 do | |
2186 | 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) | |
2187 | end | |
2188 | for i = 0, 1.4, 0.1 do | |
2189 | swait() | |
2190 | local Alpha = .3 | |
2191 | 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) | |
2192 | 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) | |
2193 | 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) | |
2194 | 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) | |
2195 | 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) | |
2196 | 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) | |
2197 | end | |
2198 | Attack = false | |
2199 | NeutralAnims = true | |
2200 | end | |
2201 | ||
2202 | function PureMode() | |
2203 | for _,v in next, LWing:children() do | |
2204 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2205 | end | |
2206 | for _,v in next, RWing:children() do | |
2207 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2208 | end | |
2209 | for _,v in next, LWingEXT:children() do | |
2210 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2211 | end | |
2212 | for _,v in next, RWingEXT:children() do | |
2213 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2214 | end | |
2215 | for _,v in next, Halo:children() do | |
2216 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pastel Blue' end | |
2217 | end | |
2218 | WalkSpeed = 16 | |
2219 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(0,1,1) end) | |
2220 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(0,1,1) end) | |
2221 | RecolorTextAndRename("Clarity",C3.N(1,1,1),BrickColor.new'Pastel Blue'.Color) | |
2222 | MusicID = 1539245059 | |
2223 | Pitch = 1 | |
2224 | Mode = 2 | |
2225 | Core2.BrickColor = BrickColor.new'Pastel Blue' | |
2226 | Core2.Material = Enum.Material.Neon | |
2227 | end | |
2228 | ||
2229 | function GlitchMode() | |
2230 | for _,v in next, LWing:children() do | |
2231 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 0 v.BrickColor = BrickColor.new'White' end | |
2232 | end | |
2233 | for _,v in next, RWing:children() do | |
2234 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2235 | end | |
2236 | for _,v in next, LWingEXT:children() do | |
2237 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2238 | end | |
2239 | for _,v in next, RWingEXT:children() do | |
2240 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2241 | end | |
2242 | for _,v in next, Halo:children() do | |
2243 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'White' end | |
2244 | end | |
2245 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2246 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2247 | WalkSpeed = 16 | |
2248 | RecolorTextAndRename("Glitchy",C3.N(1,1,1),C3.N(1,1,1)) | |
2249 | MusicID = 1274310715 | |
2250 | Pitch = .93 | |
2251 | Mode = 3 | |
2252 | Core2.BrickColor = BrickColor.new'Dark stone grey' | |
2253 | Core2.Material = Enum.Material.DiamondPlate | |
2254 | end | |
2255 | ||
2256 | function StressMode() | |
2257 | for _,v in next, LWing:children() do | |
2258 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .25 v.BrickColor = BrickColor.new'Crimson' end | |
2259 | end | |
2260 | for _,v in next, RWing:children() do | |
2261 | 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 | |
2262 | end | |
2263 | for _,v in next, LWingEXT:children() do | |
2264 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2265 | end | |
2266 | for _,v in next, RWingEXT:children() do | |
2267 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2268 | end | |
2269 | for _,v in next, Halo:children() do | |
2270 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Crimson' end | |
2271 | end | |
2272 | WalkSpeed = 14 | |
2273 | RecolorTextAndRename("Stress",C3.N(.6,0,0),C3.N(0,0,0)) | |
2274 | MusicID = 614032233 | |
2275 | Pitch = 1 | |
2276 | Mode = 4 | |
2277 | Core2.BrickColor = BrickColor.new'Really red' | |
2278 | Core2.Material = Enum.Material.Neon | |
2279 | end | |
2280 | ||
2281 | function JusticeMode() | |
2282 | for _,v in next, LWing:children() do | |
2283 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2284 | end | |
2285 | for _,v in next, RWing:children() do | |
2286 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2287 | end | |
2288 | for _,v in next, LWingEXT:children() do | |
2289 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2290 | end | |
2291 | for _,v in next, RWingEXT:children() do | |
2292 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2293 | end | |
2294 | for _,v in next, Halo:children() do | |
2295 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Institutional white' end | |
2296 | end | |
2297 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2298 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2299 | WalkSpeed = 50 | |
2300 | RecolorTextAndRename("Justice",C3.N(1,1,1),C3.N(0,0,0)) | |
2301 | MusicID = 1102271169 | |
2302 | Pitch = 1 | |
2303 | Mode = 5 | |
2304 | Core2.BrickColor = BrickColor.new'White' | |
2305 | Core2.Material = Enum.Material.Neon | |
2306 | end | |
2307 | ||
2308 | function RiddleMeThis() | |
2309 | Attack = true | |
2310 | NeutralAnims = false | |
2311 | WalkSpeed = 0 | |
2312 | MusicID = 1420353940 | |
2313 | Pitch = 1 | |
2314 | Muted = true | |
2315 | repeat swait() until Music.IsLoaded | |
2316 | Muted = false | |
2317 | Music.TimePosition = 0 | |
2318 | Chat('Riddle me this..') | |
2319 | for i = 0,14,.1 do | |
2320 | local Alpha = .1 | |
2321 | 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) | |
2322 | 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) | |
2323 | 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) | |
2324 | 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) | |
2325 | 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) | |
2326 | 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) | |
2327 | swait() | |
2328 | end | |
2329 | Chat('Riddle me that..') | |
2330 | for i = 0,12,.1 do | |
2331 | local Alpha = .1 | |
2332 | 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) | |
2333 | 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) | |
2334 | 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) | |
2335 | 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) | |
2336 | 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) | |
2337 | 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) | |
2338 | swait() | |
2339 | end | |
2340 | Chat("Who's afraid of the big black..") | |
2341 | for i = 0,16,.1 do | |
2342 | local Alpha = .1 | |
2343 | 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) | |
2344 | 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) | |
2345 | 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) | |
2346 | 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) | |
2347 | 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) | |
2348 | 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) | |
2349 | swait() | |
2350 | end | |
2351 | for i = 0, .7, 0.1 do | |
2352 | swait() | |
2353 | local Alpha = .3 | |
2354 | 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) | |
2355 | 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) | |
2356 | 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) | |
2357 | 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) | |
2358 | 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) | |
2359 | 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) | |
2360 | end | |
2361 | ||
2362 | for _,v in next, LWing:children() do | |
2363 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2364 | end | |
2365 | for _,v in next, RWing:children() do | |
2366 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2367 | end | |
2368 | for _,v in next, LWingEXT:children() do | |
2369 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end | |
2370 | end | |
2371 | for _,v in next, RWingEXT:children() do | |
2372 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end | |
2373 | end | |
2374 | for _,v in next, Halo:children() do | |
2375 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Really black' end | |
2376 | end | |
2377 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Black'.Color end) | |
2378 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Black'.Color end) | |
2379 | WalkSpeed = 50 | |
2380 | RecolorTextAndRename("The Big Black",BrickColor.new'Really black'.Color,C3.N(1,1,1)) | |
2381 | Core2.BrickColor = BrickColor.new'Really black' | |
2382 | Core2.Material = Enum.Material.Neon | |
2383 | Mode = 666666666666 | |
2384 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2385 | Sound(Root,"847061203",1,5,false,true,true) | |
2386 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2387 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2388 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2389 | for i = 1, 24 do | |
2390 | 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) | |
2391 | end | |
2392 | for i = 0, 15 do | |
2393 | 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) | |
2394 | end | |
2395 | for i = 0, .7, 0.1 do | |
2396 | swait() | |
2397 | local Alpha = .3 | |
2398 | 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) | |
2399 | 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) | |
2400 | 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) | |
2401 | 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) | |
2402 | 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) | |
2403 | 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) | |
2404 | end | |
2405 | Attack = false | |
2406 | NeutralAnims = true | |
2407 | end | |
2408 | ||
2409 | --// Wrap it all up \\-- | |
2410 | ||
2411 | function KeyPress(code) | |
2412 | if(code == Enum.KeyCode.One and Mode ~= 1)then | |
2413 | SolitudeMode() | |
2414 | elseif(code == Enum.KeyCode.Two and Mode ~= 2)then | |
2415 | PureMode() | |
2416 | elseif(code == Enum.KeyCode.Three and Mode ~= 3)then | |
2417 | GlitchMode() | |
2418 | elseif(code == Enum.KeyCode.Four and Mode ~= 4)then | |
2419 | StressMode() | |
2420 | elseif(code == Enum.KeyCode.Five and Mode ~= 5)then | |
2421 | JusticeMode() | |
2422 | -- Transformations | |
2423 | elseif(code == Enum.KeyCode.T)then | |
2424 | if(Mode == 1)then | |
2425 | RiddleMeThis() | |
2426 | end | |
2427 | -- Toggle player attacking | |
2428 | elseif(code == Enum.KeyCode.Semicolon)then | |
2429 | DontAttackPlayers = not DontAttackPlayers | |
2430 | Chat(DontAttackPlayers and "You can no longer attack players" or "You can now attack players") | |
2431 | -- Attacks | |
2432 | elseif(code == Enum.KeyCode.Z)then | |
2433 | if(Mode == 1 or Mode == 666666666666)then | |
2434 | if(not UIS.TouchEnabled)then NeckSnap((Mouse.Target and Mouse.Target.Parent)) else warn("Tap someone, to snap their neck") MobileNeckSnap() end | |
2435 | elseif(Mode == 2)then | |
2436 | PureBomb() | |
2437 | elseif(Mode == 3)then | |
2438 | ClickGlitch() | |
2439 | elseif(Mode == 4)then | |
2440 | Shrek() | |
2441 | elseif(Mode == 5)then | |
2442 | Aeroplane() | |
2443 | end | |
2444 | end | |
2445 | end | |
2446 | ||
2447 | function AttackCombo() | |
2448 | if(Combo == 1)then AttackOne() elseif(Combo == 2)then AttackTwo() elseif(Combo == 3)then AttackThree() end | |
2449 | end | |
2450 | ||
2451 | UIS.InputBegan:connect(function(io,gpe) | |
2452 | if(Attack)then return end | |
2453 | if(not gpe)then | |
2454 | local code = io.KeyCode; | |
2455 | if(io.UserInputType == Enum.UserInputType.Keyboard)then | |
2456 | KeyPress(code) | |
2457 | elseif(io.UserInputType == Enum.UserInputType.MouseButton1)then | |
2458 | AttackCombo() | |
2459 | end | |
2460 | end | |
2461 | end) | |
2462 | ||
2463 | ||
2464 | coroutine.wrap(function() | |
2465 | -- AURAS | |
2466 | while true do | |
2467 | if(Mode == 5)then | |
2468 | 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) | |
2469 | elseif(Mode == 666666666666)then | |
2470 | 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) | |
2471 | end | |
2472 | if(Mode == 666666666666)then | |
2473 | 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) | |
2474 | end | |
2475 | ||
2476 | swait() | |
2477 | end | |
2478 | end)() | |
2479 | ||
2480 | while true do | |
2481 | swait() | |
2482 | Sine = Sine + Change | |
2483 | WingSine = WingSine + WingChange | |
2484 | if(Hue > 360)then Hue = 0 end | |
2485 | Hue = Hue + 1 | |
2486 | ||
2487 | if(not Music or not Music.Parent)then | |
2488 | local tPos = 0; | |
2489 | if(Music)then tPos = Music.TimePosition; Music:Stop(); Music:Destroy(); end | |
2490 | Music = Sound(Char,MusicID,1,3,true,false,true) | |
2491 | Music.Name = 'Music' | |
2492 | Music.TimePosition = tPos; | |
2493 | end | |
2494 | Music.SoundId = "rbxassetid://"..MusicID | |
2495 | Music.Parent = Char | |
2496 | Music.Pitch = Pitch | |
2497 | Music.Volume = 2 | |
2498 | if(not Muted)then | |
2499 | Music:Resume() | |
2500 | else | |
2501 | Music:Pause() | |
2502 | end | |
2503 | ||
2504 | if(God)then | |
2505 | Hum.MaxHealth = 1e100 | |
2506 | Hum.Health = 1e100 | |
2507 | if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end | |
2508 | Hum.Name = M.RNG()*100 | |
2509 | end | |
2510 | ||
2511 | 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) | |
2512 | ||
2513 | if(Mode == 3)then | |
2514 | for _,v in next, LWing:children() do | |
2515 | local what = M.RNG() | |
2516 | if(v:IsA'BasePart')then | |
2517 | v.Color = C3.N(what,what,what) | |
2518 | end | |
2519 | end | |
2520 | for _,v in next, RWing:children() do | |
2521 | local what = M.RNG() | |
2522 | if(v:IsA'BasePart')then | |
2523 | v.Color = C3.N(what,what,what) | |
2524 | end | |
2525 | end | |
2526 | for _,v in next, LWingEXT:children() do | |
2527 | local what = M.RNG() | |
2528 | if(v:IsA'BasePart')then | |
2529 | v.Color = C3.N(what,what,what) | |
2530 | end | |
2531 | end | |
2532 | for _,v in next, RWingEXT:children() do | |
2533 | local what = M.RNG() | |
2534 | if(v:IsA'BasePart')then | |
2535 | v.Color = C3.N(what,what,what) | |
2536 | end | |
2537 | end | |
2538 | ||
2539 | local what1 = M.RNG() | |
2540 | local what2 = M.RNG() | |
2541 | local what3 = M.RNG() | |
2542 | local what4 = M.RNG() | |
2543 | Core2.Color = C3.N(what1,what1,what1) | |
2544 | ||
2545 | for _,v in next, Halo:children() do | |
2546 | if(v:IsA'BasePart')then | |
2547 | v.Color = C3.N(what1,what1,what1) | |
2548 | end | |
2549 | end | |
2550 | ||
2551 | text.TextStrokeColor3 = C3.N(what2,what2,what2) | |
2552 | text.TextColor3 = C3.N(what3,what3,what3) | |
2553 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,what4,what4) end) | |
2554 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,what4,what4) end) | |
2555 | elseif(Mode == 4)then | |
2556 | for _,v in next, LWing:children() do | |
2557 | local what = M.RNG()*.5 | |
2558 | if(v:IsA'BasePart')then | |
2559 | v.Color = C3.N(what,0,0) | |
2560 | end | |
2561 | end | |
2562 | for _,v in next, LWingEXT:children() do | |
2563 | local what = M.RNG()*.5 | |
2564 | if(v:IsA'BasePart')then | |
2565 | v.Color = C3.N(what,0,0) | |
2566 | end | |
2567 | end | |
2568 | ||
2569 | local what1 = M.RNG()*.5 | |
2570 | local what2 = M.RNG()*.5 | |
2571 | local what3 = M.RNG()*.5 | |
2572 | local what4 = M.RNG()*.5 | |
2573 | Core2.Color = C3.N(what1,0,0) | |
2574 | ||
2575 | for _,v in next, Halo:children() do | |
2576 | if(v:IsA'BasePart')then | |
2577 | v.Color = C3.N(what1,0,0) | |
2578 | end | |
2579 | end | |
2580 | ||
2581 | text.TextStrokeColor3 = C3.N(what2,0,0) | |
2582 | text.TextColor3 = C3.N(what3,0,0) | |
2583 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,0,0) end) | |
2584 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,0,0) end) | |
2585 | end | |
2586 | ||
2587 | 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) | |
2588 | 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) | |
2589 | 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) | |
2590 | 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) | |
2591 | 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) | |
2592 | 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) | |
2593 | ||
2594 | 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) | |
2595 | 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) | |
2596 | 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) | |
2597 | 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) | |
2598 | 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) | |
2599 | 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) | |
2600 | ||
2601 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
2602 | 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") | |
2603 | if(not Effects or not Effects.Parent)then | |
2604 | Effects = IN("Model",Char) | |
2605 | Effects.Name = "Effects" | |
2606 | end | |
2607 | if(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2608 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2609 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2610 | Change = 1 | |
2611 | ||
2612 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2613 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2614 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2615 | Change = 1 | |
2616 | if(Mode == 7)then | |
2617 | 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) | |
2618 | 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) | |
2619 | else | |
2620 | 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) | |
2621 | 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) | |
2622 | end | |
2623 | else | |
2624 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2) | |
2625 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2) | |
2626 | end | |
2627 | ||
2628 | Hum.WalkSpeed = WalkSpeed | |
2629 | if(NeutralAnims)then | |
2630 | if(State == 'Idle')then | |
2631 | local Alpha = .1 | |
2632 | if(Mode == 1)then | |
2633 | Change = 1 | |
2634 | 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) | |
2635 | 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) | |
2636 | 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) | |
2637 | 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) | |
2638 | 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) | |
2639 | 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) | |
2640 | elseif(Mode == 2)then | |
2641 | Change = 1 | |
2642 | 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) | |
2643 | 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) | |
2644 | 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) | |
2645 | 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) | |
2646 | 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) | |
2647 | 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) | |
2648 | elseif(Mode == 3)then | |
2649 | Change = 1 | |
2650 | 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) | |
2651 | 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) | |
2652 | 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) | |
2653 | 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) | |
2654 | 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) | |
2655 | 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) | |
2656 | elseif(Mode == 4)then | |
2657 | Change = 1 | |
2658 | 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) | |
2659 | 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) | |
2660 | 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) | |
2661 | 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) | |
2662 | 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) | |
2663 | 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) | |
2664 | elseif(Mode == 5)then | |
2665 | Change = 1 | |
2666 | 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) | |
2667 | 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) | |
2668 | 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) | |
2669 | 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) | |
2670 | 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) | |
2671 | 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) | |
2672 | elseif(Mode == 666666666666)then | |
2673 | Change = 1 | |
2674 | 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) | |
2675 | 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) | |
2676 | 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) | |
2677 | 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) | |
2678 | 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) | |
2679 | 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) | |
2680 | 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) | |
2681 | else | |
2682 | Change = .75 | |
2683 | 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) | |
2684 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha) | |
2685 | LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-7-5*M.C(Sine/12))),Alpha) | |
2686 | RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(7+5*M.C(Sine/12))),Alpha) | |
2687 | 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) | |
2688 | 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) | |
2689 | end | |
2690 | -- idle | |
2691 | elseif(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then | |
2692 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2693 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2694 | 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) | |
2695 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2696 | 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) | |
2697 | 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) | |
2698 | 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) | |
2699 | 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) | |
2700 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 7 and Mode ~= 10 and Mode ~= 666666666666)then | |
2701 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2702 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
2703 | if(Mode == 4)then | |
2704 | 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) | |
2705 | 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) | |
2706 | 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) | |
2707 | 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) | |
2708 | 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) | |
2709 | 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) | |
2710 | elseif(Mode == 696969)then | |
2711 | 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) | |
2712 | 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) | |
2713 | 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) | |
2714 | 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) | |
2715 | 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) | |
2716 | 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) | |
2717 | ||
2718 | elseif(Mode == 1)then | |
2719 | 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) | |
2720 | 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) | |
2721 | 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) | |
2722 | 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) | |
2723 | 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) | |
2724 | 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) | |
2725 | else | |
2726 | 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 | |
2727 | 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) | |
2728 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2729 | 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) | |
2730 | 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) | |
2731 | 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) | |
2732 | 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) | |
2733 | end | |
2734 | elseif(State == 'Walk' and Mode == 7)then | |
2735 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
2736 | local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1) | |
2737 | 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) | |
2738 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
2739 | 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) | |
2740 | 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) | |
2741 | 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) | |
2742 | 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) | |
2743 | elseif((State == 'Walk' or State == 'Run') and Mode == 10)then | |
2744 | Change = 1 | |
2745 | local Alpha = .1 | |
2746 | 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) | |
2747 | 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) | |
2748 | 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) | |
2749 | 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) | |
2750 | 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) | |
2751 | 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) | |
2752 | elseif((State == 'Walk' or State == 'Run') and Mode == 666666666666)then | |
2753 | Change = 1 | |
2754 | local Alpha = .1 | |
2755 | 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) | |
2756 | 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) | |
2757 | 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) | |
2758 | 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) | |
2759 | 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) | |
2760 | 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) | |
2761 | ||
2762 | elseif((State == 'Walk' or State == 'Run'))then | |
2763 | Change = 1 | |
2764 | local Alpha = .1 | |
2765 | 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) | |
2766 | 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) | |
2767 | 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) | |
2768 | 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) | |
2769 | 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) | |
2770 | 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) | |
2771 | ||
2772 | elseif(State == 'Jump')then | |
2773 | local Alpha = .1 | |
2774 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
2775 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha) | |
2776 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha) | |
2777 | 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) | |
2778 | 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) | |
2779 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
2780 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
2781 | elseif(State == 'Fall')then | |
2782 | local Alpha = .1 | |
2783 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
2784 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha) | |
2785 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha) | |
2786 | 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) | |
2787 | 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) | |
2788 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
2789 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
2790 | elseif(State == 'Paralyzed')then | |
2791 | -- paralyzed | |
2792 | elseif(State == 'Sit')then | |
2793 | -- sit | |
2794 | end | |
2795 | end | |
2796 | ||
2797 | ||
2798 | ||
2799 | for i,v in next, BloodPuddles do | |
2800 | local mesh = i:FindFirstChild'CylinderMesh' | |
2801 | BloodPuddles[i] = v + 1 | |
2802 | if(not mesh or i.Transparency >= 1)then | |
2803 | i:destroy() | |
2804 | BloodPuddles[i] = nil | |
2805 | elseif(v >= Frame_Speed*4)then | |
2806 | local trans = (v-Frame_Speed*4)/(Frame_Speed*2) | |
2807 | i.Transparency = trans | |
2808 | if(mesh.Scale.Z > 0)then | |
2809 | mesh.Scale = mesh.Scale-V3.N(.05,0,.05) | |
2810 | end | |
2811 | else | |
2812 | i.Transparency = 0 | |
2813 | end | |
2814 | end | |
2815 | end |