SHOW:
|
|
- or go back to the newest paste.
1 | print("WARNING: THE FOLLOWING SCRIPT IS IN VOID SCRIPT BUILDER COMPATABILITY MODE, COMBO MOVES ARE DISABLED!") | |
2 | - | local Player = game:GetService("Players").Danjaman500 |
2 | + | local Player = game:GetService("Players").Upscalegaming |
3 | local Mouse,mouse,UserInputService,ContextActionService | |
4 | do | |
5 | script.Parent = Player.Character | |
6 | local CAS = {Actions={}} | |
7 | local Event = Instance.new("RemoteEvent") | |
8 | Event.Name = "UserInput_Event" | |
9 | Event.Parent = Player.Character | |
10 | local fakeEvent = function() | |
11 | local t = {_fakeEvent=true} | |
12 | t.Connect = function(self,f)self.Function=f end | |
13 | t.connect = t.Connect | |
14 | return t | |
15 | end | |
16 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
17 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
18 | function CAS:BindAction(name,fun,touch,...) | |
19 | CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
20 | end | |
21 | function CAS:UnbindAction(name) | |
22 | CAS.Actions[name] = nil | |
23 | end | |
24 | local function te(self,ev,...) | |
25 | local t = m[ev] | |
26 | if t and t._fakeEvent and t.Function then | |
27 | t.Function(...) | |
28 | end | |
29 | end | |
30 | m.TrigEvent = te | |
31 | UIS.TrigEvent = te | |
32 | Event.OnServerEvent:Connect(function(plr,io) | |
33 | if plr~=Player then return end | |
34 | if io.isMouse then | |
35 | m.Target = io.Target | |
36 | m.Hit = io.Hit | |
37 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
38 | if io.UserInputState == Enum.UserInputState.Begin then | |
39 | m:TrigEvent("Button1Down") | |
40 | else | |
41 | m:TrigEvent("Button1Up") | |
42 | end | |
43 | else | |
44 | for n,t in pairs(CAS.Actions) do | |
45 | for _,k in pairs(t.Keys) do | |
46 | if k==io.KeyCode then | |
47 | t.Function(t.Name,io.UserInputState,io) | |
48 | end | |
49 | end | |
50 | end | |
51 | if io.UserInputState == Enum.UserInputState.Begin then | |
52 | m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) | |
53 | UIS:TrigEvent("InputBegan",io,false) | |
54 | else | |
55 | m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) | |
56 | UIS:TrigEvent("InputEnded",io,false) | |
57 | end | |
58 | end | |
59 | end) | |
60 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
61 | end | |
62 | ||
63 | do | |
64 | local loudnesses={} | |
65 | script.Parent = Player.Character | |
66 | local CoAS = {Actions={}} | |
67 | local Event = Instance.new("RemoteEvent") | |
68 | Event.Name = "UserInputEvent" | |
69 | Event.Parent = Player.Character | |
70 | local Func = Instance.new("RemoteFunction") | |
71 | Func.Name = "GetClientProperty" | |
72 | Func.Parent = Player.Character | |
73 | local fakeEvent = function() | |
74 | local t = {_fakeEvent=true} | |
75 | t.Connect = function(self,f)self.Function=f end | |
76 | t.connect = t.Connect | |
77 | return t | |
78 | end | |
79 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
80 | local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
81 | function CoAS:BindAction(name,fun,touch,...) | |
82 | CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}} | |
83 | end | |
84 | function CoAS:UnbindAction(name) | |
85 | CoAS.Actions[name] = nil | |
86 | end | |
87 | local function te(self,ev,...) | |
88 | local t = self[ev] | |
89 | if t and t._fakeEvent and t.Function then | |
90 | t.Function(...) | |
91 | end | |
92 | end | |
93 | m.TrigEvent = te | |
94 | UsIS.TrigEvent = te | |
95 | Event.OnServerEvent:Connect(function(plr,io) | |
96 | if plr~=Player then return end | |
97 | --[[table.foreach(io,print) | |
98 | print'---']] | |
99 | if io.Mouse then | |
100 | m.Target = io.Target | |
101 | m.Hit = io.Hit | |
102 | elseif io.KeyEvent then | |
103 | m:TrigEvent('Key'..io.KeyEvent,io.Key) | |
104 | elseif io.UserInputType == Enum.UserInputType.MouseButton1 then | |
105 | if io.UserInputState == Enum.UserInputState.Begin then | |
106 | print'down' | |
107 | m:TrigEvent("Button1Down") | |
108 | else | |
109 | print'up' | |
110 | m:TrigEvent("Button1Up") | |
111 | end | |
112 | end | |
113 | if(not io.KeyEvent and not io.Mouse)then | |
114 | ||
115 | for n,t in pairs(CoAS.Actions) do | |
116 | for _,k in pairs(t.Keys) do | |
117 | if k==io.KeyCode then | |
118 | t.Function(t.Name,io.UserInputState,io) | |
119 | end | |
120 | end | |
121 | end | |
122 | if io.UserInputState == Enum.UserInputState.Begin then | |
123 | UsIS:TrigEvent("InputBegan",io,false) | |
124 | else | |
125 | UsIS:TrigEvent("InputEnded",io,false) | |
126 | end | |
127 | end | |
128 | end) | |
129 | ||
130 | Func.OnServerInvoke = function(plr,inst,play) | |
131 | if plr~=Player then return end | |
132 | if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then | |
133 | loudnesses[inst]=play | |
134 | end | |
135 | end | |
136 | ||
137 | function GetClientProperty(inst,prop) | |
138 | --if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return prop[inst] end | |
139 | if(prop == 'PlaybackLoudness')then return loudnesses[inst] end | |
140 | return Func:InvokeClient(Player,inst,prop) | |
141 | end | |
142 | ||
143 | ||
144 | local oldGame = game; | |
145 | local function GetService(s,i) | |
146 | local service = s:GetService(i) | |
147 | if(i == 'Players')then | |
148 | local oldService = service; | |
149 | local fakeService = newproxy(true) | |
150 | getmetatable(fakeService).__index = function(s,i) | |
151 | if(s == fakeService)then s=oldService end | |
152 | if(i == 'LocalPlayer' or i == 'localPlayer')then | |
153 | local oldPlayer = Player; | |
154 | local fakePlayer = newproxy(true) | |
155 | getmetatable(fakePlayer).__index = function(s,i) | |
156 | if(i == 'GetMouse')then | |
157 | return function() return m; end | |
158 | end | |
159 | return Player[i] | |
160 | end | |
161 | getmetatable(fakePlayer).__newindex = function(s,i,v) | |
162 | Player[i]=v | |
163 | end | |
164 | getmetatable(fakePlayer).__call=function(self,...) | |
165 | if(self == fakePlayer)then self = Player end | |
166 | local wh = {...} | |
167 | local name = table.remove(wh,1) | |
168 | for i,v in next, wh do | |
169 | wh[i]=v | |
170 | end | |
171 | if(name == 'GetMouse')then | |
172 | return m; | |
173 | end | |
174 | return self(name,unpack(wh)) | |
175 | end | |
176 | getmetatable(fakePlayer).__namecall=function(self,...) | |
177 | if(self == fakePlayer)then self = Player end | |
178 | local tuple={...} | |
179 | local name = table.remove(tuple,#tuple) | |
180 | ||
181 | if(name == 'GetMouse')then | |
182 | return m; | |
183 | else | |
184 | return self[name](self,unpack(tuple)) | |
185 | end | |
186 | end | |
187 | ||
188 | return fakePlayer | |
189 | else | |
190 | return s[i] | |
191 | end | |
192 | end | |
193 | getmetatable(fakeService).__newindex = function(s,i,v) | |
194 | if(s == fakeService)then s=oldService end | |
195 | s[i]=v | |
196 | end | |
197 | getmetatable(fakeService).__call=function(self,...) | |
198 | if(self == fakeService)then self = oldService end | |
199 | local wh = {...} | |
200 | local name = table.remove(wh,1) | |
201 | for i,v in next, wh do | |
202 | wh[i]=v | |
203 | end | |
204 | return self(name,unpack(wh)) | |
205 | end | |
206 | getmetatable(fakeService).__namecall=function(self,...) | |
207 | if(self == fakeService)then self = oldService end | |
208 | local tuple={...} | |
209 | local name = table.remove(tuple,#tuple) | |
210 | ||
211 | return self[name](self,unpack(tuple)) | |
212 | ||
213 | end | |
214 | getmetatable(fakeService).__metatable = 'gay' | |
215 | return fakeService | |
216 | elseif(i == 'UserInputService')then | |
217 | return UsIS | |
218 | elseif(i == 'ContextActionService')then | |
219 | return CoAS; | |
220 | else | |
221 | return service | |
222 | end | |
223 | end | |
224 | local serviceFunctions={ | |
225 | service=true, | |
226 | GetService=true, | |
227 | } | |
228 | local fakeGame = newproxy(true) | |
229 | getmetatable(fakeGame).__index = function(s,i) | |
230 | if(s == fakeGame)then s=oldGame end | |
231 | if serviceFunctions[i] then | |
232 | return GetService | |
233 | else | |
234 | return s[i] | |
235 | end | |
236 | end | |
237 | getmetatable(fakeGame).__newindex = function(s,i,v) | |
238 | if(s == fakeGame)then s=oldGame end | |
239 | s[i]=v | |
240 | end | |
241 | getmetatable(fakeGame).__call=function(self,...) | |
242 | if(self == fakeGame)then self = oldGame end | |
243 | local wh = {...} | |
244 | local name = table.remove(wh,1) | |
245 | for i,v in next, wh do | |
246 | if(v == fakeGame)then v = oldGame end | |
247 | wh[i]=v | |
248 | end | |
249 | if serviceFunctions[name] then | |
250 | return GetService(self,unpack(wh)) | |
251 | else | |
252 | return self(name,unpack(wh)) | |
253 | end | |
254 | end | |
255 | getmetatable(fakeGame). __namecall=function(self,...) | |
256 | if(self == fakeGame)then self = oldGame end | |
257 | local tuple={...} | |
258 | local name = table.remove(tuple,#tuple) | |
259 | ||
260 | local funcToCall=self[name] | |
261 | ||
262 | if serviceFunctions[name] then | |
263 | return GetService(self,unpack(tuple)) | |
264 | else | |
265 | return self[name](self,unpack(tuple)) | |
266 | end | |
267 | end | |
268 | getmetatable(fakeGame).__metatable = 'gay' | |
269 | game=fakeGame | |
270 | UserInputService,ContextActionService = UsIS,CoAS | |
271 | ||
272 | end | |
273 | ||
274 | --[[local me = game:service'Players'.localPlayer; | |
275 | local mouse = me:GetMouse(); | |
276 | ||
277 | mouse.Button1Down:connect(function() | |
278 | print(mouse.Target,mouse.Hit) | |
279 | end)]] | |
280 | ||
281 | -- Created by Nebula_Zorua -- | |
282 | -- NebulaGlitcher -- | |
283 | -- The official second Glitcher -- | |
284 | -- Discord: Nebula the Zorua#6969 | |
285 | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA | |
286 | ||
287 | wait(1/60) | |
288 | ||
289 | --// Shortcut Variables \\-- | |
290 | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) | |
291 | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} | |
292 | local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV} | |
293 | local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis} | |
294 | 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} | |
295 | local R3 = {N=Region3.new} | |
296 | local De = S.Debris | |
297 | local WS = workspace | |
298 | local Lght = S.Lighting | |
299 | local RepS = S.ReplicatedStorage | |
300 | local IN = Instance.new | |
301 | local Plrs = S.Players | |
302 | local UIS = S.UserInputService | |
303 | local CAS = S.ContextActionService | |
304 | ||
305 | print(UIS,CAS) | |
306 | --// Initializing \\-- | |
307 | local Plr = Plrs.LocalPlayer | |
308 | local Char = Plr.Character | |
309 | local Hum = Char:FindFirstChildOfClass'Humanoid' | |
310 | local RArm = Char["Right Arm"] | |
311 | local LArm = Char["Left Arm"] | |
312 | local RLeg = Char["Right Leg"] | |
313 | local LLeg = Char["Left Leg"] | |
314 | local Root = Char:FindFirstChild'HumanoidRootPart' | |
315 | local Torso = Char.Torso | |
316 | local Head = Char.Head | |
317 | local NeutralAnims = true | |
318 | local Attack = false | |
319 | local Debounces = {Debounces={}} | |
320 | local Mouse = Plr:GetMouse() | |
321 | local Hit = {} | |
322 | local Sine = 0 | |
323 | local Change = 1 | |
324 | local PlrGui = Plr:FindFirstChildOfClass'PlayerGui' | |
325 | local Hue = 0; | |
326 | local Combo = 1 | |
327 | local BloodPuddles = {} | |
328 | ||
329 | - | local DontAttackPlayers = false |
329 | + | local DontAttackPlayers = true |
330 | ||
331 | local BurnInterval = .7 | |
332 | ||
333 | local Radioactive = {} | |
334 | ||
335 | local Hits = 0; | |
336 | local HitTime = time() | |
337 | ||
338 | local MaxHits = 60; | |
339 | ||
340 | local Effects = IN("Folder",Char) | |
341 | Effects.Name = "Effects" | |
342 | ||
343 | ||
344 | --// Output Stuff \\-- | |
345 | ||
346 | function Output(type,...) | |
347 | warn(table.concat{...,"\t"}) | |
348 | end | |
349 | ||
350 | ||
351 | --// Debounce System \\-- | |
352 | ||
353 | function Debounces:New(name,cooldown) | |
354 | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} | |
355 | setmetatable(aaaaa,{__index = Debounces}) | |
356 | Debounces.Debounces[name] = aaaaa | |
357 | return aaaaa | |
358 | end | |
359 | ||
360 | function Debounces:Use(overrideUsable) | |
361 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
362 | if(self.Usable or overrideUsable)then | |
363 | self.Usable = false | |
364 | self.CoolingDown = true | |
365 | local LastUse = time() | |
366 | self.LastUse = LastUse | |
367 | delay(self.Cooldown or 2,function() | |
368 | if(self.LastUse == LastUse)then | |
369 | self.CoolingDown = false | |
370 | self.Usable = true | |
371 | end | |
372 | end) | |
373 | end | |
374 | end | |
375 | ||
376 | function Debounces:Get(name) | |
377 | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) | |
378 | for i,v in next, Debounces.Debounces do | |
379 | if(i == name)then | |
380 | return v; | |
381 | end | |
382 | end | |
383 | end | |
384 | ||
385 | function Debounces:GetProgressPercentage() | |
386 | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") | |
387 | if(self.CoolingDown and not self.Usable)then | |
388 | return math.max( | |
389 | math.floor( | |
390 | ( | |
391 | (time()-self.LastUse)/self.Cooldown or 2 | |
392 | )*100 | |
393 | ) | |
394 | ) | |
395 | else | |
396 | return 100 | |
397 | end | |
398 | end | |
399 | ||
400 | --// Instance Creation Functions \\-- | |
401 | ||
402 | function Sound(parent,id,pitch,volume,looped,effect,autoPlay) | |
403 | local Sound = IN("Sound") | |
404 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
405 | Sound.Pitch = pitch or 1 | |
406 | Sound.Volume = volume or 1 | |
407 | Sound.Looped = looped or false | |
408 | if(autoPlay)then | |
409 | coroutine.wrap(function() | |
410 | repeat wait() until Sound.IsLoaded | |
411 | Sound.Playing = autoPlay or false | |
412 | end)() | |
413 | end | |
414 | if(not looped and effect)then | |
415 | Sound.Stopped:connect(function() | |
416 | Sound.Volume = 0 | |
417 | Sound:destroy() | |
418 | end) | |
419 | elseif(effect)then | |
420 | warn("Sound can't be looped and a sound effect!") | |
421 | end | |
422 | Sound.Parent =parent or Torso | |
423 | return Sound | |
424 | end | |
425 | function Part(parent,color,material,size,cframe,anchored,cancollide) | |
426 | local part = IN("Part") | |
427 | part.Parent = parent or Char | |
428 | part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0) | |
429 | part.Material = material or Enum.Material.SmoothPlastic | |
430 | part.TopSurface,part.BottomSurface=10,10 | |
431 | part.Size = size or V3.N(1,1,1) | |
432 | part.CFrame = cframe or CF.N(0,0,0) | |
433 | part.CanCollide = cancollide or false | |
434 | part.Anchored = anchored or false | |
435 | return part | |
436 | end | |
437 | ||
438 | function Weld(part0,part1,c0,c1) | |
439 | local weld = IN("Weld") | |
440 | weld.Parent = part0 | |
441 | weld.Part0 = part0 | |
442 | weld.Part1 = part1 | |
443 | weld.C0 = c0 or CF.N() | |
444 | weld.C1 = c1 or CF.N() | |
445 | return weld | |
446 | end | |
447 | ||
448 | function Mesh(parent,meshtype,meshid,textid,scale,offset) | |
449 | local part = IN("SpecialMesh") | |
450 | part.MeshId = meshid or "" | |
451 | part.TextureId = textid or "" | |
452 | part.Scale = scale or V3.N(1,1,1) | |
453 | part.Offset = offset or V3.N(0,0,0) | |
454 | part.MeshType = meshtype or Enum.MeshType.Sphere | |
455 | part.Parent = parent | |
456 | return part | |
457 | end | |
458 | ||
459 | NewInstance = function(instance,parent,properties) | |
460 | local inst = Instance.new(instance) | |
461 | inst.Parent = parent | |
462 | if(properties)then | |
463 | for i,v in next, properties do | |
464 | pcall(function() inst[i] = v end) | |
465 | end | |
466 | end | |
467 | return inst; | |
468 | end | |
469 | ||
470 | function Clone(instance,parent,properties) | |
471 | local inst = instance:Clone() | |
472 | inst.Parent = parent | |
473 | if(properties)then | |
474 | for i,v in next, properties do | |
475 | pcall(function() inst[i] = v end) | |
476 | end | |
477 | end | |
478 | return inst; | |
479 | end | |
480 | ||
481 | function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf) | |
482 | local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()}) | |
483 | local Sound = IN("Sound") | |
484 | Sound.SoundId = "rbxassetid://".. tostring(id or 0) | |
485 | Sound.Pitch = pitch or 1 | |
486 | Sound.Volume = volume or 1 | |
487 | Sound.Looped = looped or false | |
488 | if(autoPlay)then | |
489 | coroutine.wrap(function() | |
490 | repeat wait() until Sound.IsLoaded | |
491 | Sound.Playing = autoPlay or false | |
492 | end)() | |
493 | end | |
494 | if(not looped and effect)then | |
495 | Sound.Stopped:connect(function() | |
496 | Sound.Volume = 0 | |
497 | soundPart:destroy() | |
498 | end) | |
499 | elseif(effect)then | |
500 | warn("Sound can't be looped and a sound effect!") | |
501 | end | |
502 | Sound.Parent = soundPart | |
503 | return Sound,soundPart | |
504 | end | |
505 | ||
506 | ||
507 | --// Extended ROBLOX tables \\-- | |
508 | 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}) | |
509 | --// Require stuff \\-- | |
510 | function CamShake(who,times,intense,origin) | |
511 | coroutine.wrap(function() | |
512 | if(script:FindFirstChild'CamShake')then | |
513 | local cam = script.CamShake:Clone() | |
514 | cam:WaitForChild'intensity'.Value = intense | |
515 | cam:WaitForChild'times'.Value = times | |
516 | ||
517 | if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end | |
518 | cam.Parent = who | |
519 | wait() | |
520 | cam.Disabled = false | |
521 | elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then | |
522 | local intensity = intense | |
523 | local cam = workspace.CurrentCamera | |
524 | for i = 1, times do | |
525 | local camDistFromOrigin | |
526 | if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then | |
527 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25 | |
528 | elseif(typeof(origin) == 'Vector3')then | |
529 | camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25 | |
530 | end | |
531 | if(camDistFromOrigin)then | |
532 | intensity = math.min(intense, math.floor(intense/camDistFromOrigin)) | |
533 | end | |
534 | 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) | |
535 | swait() | |
536 | end | |
537 | end | |
538 | end)() | |
539 | end | |
540 | ||
541 | ||
542 | function CamShakeAll(times,intense,origin) | |
543 | for _,v in next, Plrs:players() do | |
544 | CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin) | |
545 | end | |
546 | end | |
547 | ||
548 | function CamShakeAOE(origin,range,times,intense,blacklist) | |
549 | local hit = {} | |
550 | for _,v in next, getRegion(origin,range,blacklist or {}) do | |
551 | if(S.Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then | |
552 | CamShake(v,times,intense,origin) | |
553 | hit[v.Parent] = true | |
554 | end | |
555 | end | |
556 | end | |
557 | ||
558 | function ServerScript(code) | |
559 | if(script:FindFirstChild'Loadstring')then | |
560 | local load = script.Loadstring:Clone() | |
561 | load:WaitForChild'Sauce'.Value = code | |
562 | load.Disabled = false | |
563 | load.Parent = workspace | |
564 | elseif(NS and typeof(NS) == 'function')then | |
565 | NS(code,workspace) | |
566 | else | |
567 | warn("no serverscripts lol") | |
568 | end | |
569 | end | |
570 | ||
571 | function LocalOnPlayer(who,code) | |
572 | ServerScript([[ | |
573 | wait() | |
574 | script.Parent=nil | |
575 | if(not _G.Http)then _G.Http = game:service'HttpService' end | |
576 | ||
577 | local Http = _G.Http or game:service'HttpService' | |
578 | ||
579 | local source = ]].."[["..code.."]]"..[[ | |
580 | local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php" | |
581 | local asd = Http:PostAsync(link,source) | |
582 | repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID | |
583 | local ID = Http:JSONDecode(asd).Result.Require_ID | |
584 | local vs = require(ID).VORTH_SCRIPT | |
585 | vs.Parent = game:service'Players'.]]..who.Name..[[.Character | |
586 | ]]) | |
587 | end | |
588 | ||
589 | --// Customization \\-- | |
590 | ||
591 | local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this | |
592 | local Remove_Hats = false | |
593 | local Remove_Clothing = false | |
594 | local PlayerSize = 1 | |
595 | local DamageColor = BrickColor.new'Really black' | |
596 | local MusicID = 407749940 | |
597 | local Pitch = 1 | |
598 | local VisSong = 147372923; | |
599 | ||
600 | local God = false | |
601 | local Muted = false | |
602 | ||
603 | local PrimaryParts = {} | |
604 | local SecondaryParts = {} | |
605 | ||
606 | local WalkSpeed = 16 | |
607 | ||
608 | local Mode = 1; | |
609 | ||
610 | --// Weapon and GUI creation, and Character Customization \\-- | |
611 | ||
612 | ||
613 | ||
614 | ||
615 | pcall(function()Char.LeftWing:destroy()end) | |
616 | pcall(function()Char.Halo:destroy()end) | |
617 | local toggleTag = true | |
618 | local txt = Instance.new("BillboardGui", PlrGui) | |
619 | txt.Adornee = Head | |
620 | txt.Name = "NameDetect" | |
621 | txt.Size = UDim2.new(4, 0, 1.2, 0) | |
622 | txt.StudsOffset = Vector3.new(-8, 8/1.5, 0) | |
623 | local text = Instance.new("TextLabel", txt) | |
624 | text.Size = UDim2.new(10/2, 0, 7/2, 0) | |
625 | text.FontSize = "Size8" | |
626 | text.TextScaled = true | |
627 | text.TextTransparency = 0 | |
628 | text.BackgroundTransparency = 1 | |
629 | text.TextTransparency = 0 | |
630 | text.TextStrokeTransparency = 0 | |
631 | text.Font = "Fantasy" | |
632 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
633 | text.TextColor3 = Color3.new(1,0,0) | |
634 | text.Text = "Murder" | |
635 | ||
636 | pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end) | |
637 | pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end) | |
638 | ||
639 | function RecolorTextAndRename(name,col1,col2) | |
640 | text.TextStrokeColor3 = col2 | |
641 | text.TextColor3 = col1 | |
642 | text.Text = name | |
643 | end | |
644 | ||
645 | New = function(Object, Parent, Name, Data) | |
646 | local Object = Instance.new(Object) | |
647 | for Index, Value in pairs(Data or {}) do | |
648 | Object[Index] = Value | |
649 | end | |
650 | Object.Parent = Parent | |
651 | Object.Name = Name | |
652 | return Object | |
653 | end | |
654 | ||
655 | local Feather = New("Model",nil,"Feather",{}) | |
656 | 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,}) | |
657 | local Meshie = New("SpecialMesh",Main,"Mesh",{MeshType = Enum.MeshType.Brick,}) | |
658 | 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),}) | |
659 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
660 | 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),}) | |
661 | 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),}) | |
662 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,}) | |
663 | 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),}) | |
664 | 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),}) | |
665 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
666 | 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),}) | |
667 | 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),}) | |
668 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
669 | 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),}) | |
670 | 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),}) | |
671 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
672 | 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),}) | |
673 | 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),}) | |
674 | local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,}) | |
675 | 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),}) | |
676 | ||
677 | for _,v in next, Feather:children() do v.CanCollide = false v.BrickColor = BrickColor.new'Really red' v.Material = Enum.Material.Neon v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) end | |
678 | ||
679 | local Core = New("Model",Char,"Core",{}) | |
680 | ||
681 | 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}) | |
682 | 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),}) | |
683 | ||
684 | local Core2 = New("Part",Core,"Core2",{BrickColor = BrickColor.new("Really red"),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,}) | |
685 | 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),}) | |
686 | ||
687 | local CoreH = NewInstance("Humanoid",Core,{MaxHealth=500,Health=500}) | |
688 | ||
689 | if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end | |
690 | if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end | |
691 | ||
692 | local Music = Sound(Char,MusicID,1,3,true,false,true) | |
693 | Music.Name = 'Music' | |
694 | ||
695 | GetClientProperty('RegSound',Music) | |
696 | ||
697 | if(PlayerSize ~= 1)then | |
698 | for _,v in next, Char:GetDescendants() do | |
699 | if(v:IsA'BasePart')then | |
700 | v.Size = v.Size * PlayerSize | |
701 | end | |
702 | end | |
703 | end | |
704 | ||
705 | local Halo = NewInstance("Model",Char,{Name='Halo'}) | |
706 | ||
707 | local LWing = NewInstance("Model",Char,{Name='LeftWing'}) | |
708 | local RWing = NewInstance("Model",Char,{Name='RightWing'}) | |
709 | ||
710 | local LWingEXT = NewInstance("Model",Char,{Name='LeftWingEXT'}) | |
711 | local RWingEXT = NewInstance("Model",Char,{Name='RightWingEXT'}) | |
712 | ||
713 | local LWingWelds = {} | |
714 | local RWingWelds = {} | |
715 | ||
716 | local LWingEWelds = {} | |
717 | local RWingEWelds = {} | |
718 | ||
719 | local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
720 | local LWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
721 | local RWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,}) | |
722 | ||
723 | for i = 1, 360,5 do | |
724 | local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Really red",Material=Enum.Material.Neon,Size=V3.N(0.25,0.1,0.1),Anchored=false,CanCollide=false,Locked=true}) | |
725 | local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-1)}) | |
726 | table.insert(PrimaryParts,part) | |
727 | end | |
728 | ||
729 | for i = 1, 6 do | |
730 | local cr = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
731 | cr.Transparency = 1 | |
732 | local fuck = Feather:Clone(); | |
733 | local men = fuck.Main | |
734 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
735 | local weld1 = Weld(cr,men) | |
736 | local weld = Weld(men,LWingHandle) | |
737 | if(i > 3)then | |
738 | for _,v in next, fuck:children() do v.Parent = LWingEXT v.Transparency = 1 end | |
739 | else | |
740 | for _,v in next, fuck:children() do v.Parent = LWing end | |
741 | end | |
742 | ||
743 | table.insert(LWingWelds,weld) | |
744 | table.insert(PrimaryParts,cr) | |
745 | end | |
746 | ||
747 | for i = 1, 6 do | |
748 | local cr = Part(Char,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false) | |
749 | cr.Transparency = 1 | |
750 | local fuck = Feather:Clone(); | |
751 | local men = fuck.Main | |
752 | --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N()) | |
753 | local weld1 = Weld(cr,men) | |
754 | local weld = Weld(men,RWingHandle) | |
755 | ||
756 | if(i > 3)then | |
757 | for _,v in next, fuck:children() do v.Parent = RWingEXT if(v:IsA'BasePart')then v.Transparency = 1 end end | |
758 | else | |
759 | for _,v in next, fuck:children() do v.Parent = RWing if(v:IsA'BasePart')then v.Transparency = 1 end end | |
760 | end | |
761 | table.insert(RWingWelds,weld) | |
762 | table.insert(PrimaryParts,cr) | |
763 | end | |
764 | ||
765 | for _,v in next, PrimaryParts do | |
766 | if(v:IsA'BasePart')then | |
767 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
768 | end | |
769 | end | |
770 | ||
771 | Core1.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
772 | Core2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
773 | ||
774 | ||
775 | --// Stop animations \\-- | |
776 | for _,v in next, Hum:GetPlayingAnimationTracks() do | |
777 | v:Stop(); | |
778 | end | |
779 | ||
780 | pcall(game.Destroy,Char:FindFirstChild'Animate') | |
781 | pcall(game.Destroy,Hum:FindFirstChild'Animator') | |
782 | ||
783 | --// Joints \\-- | |
784 | ||
785 | 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)}) | |
786 | 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)}) | |
787 | local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)}) | |
788 | local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
789 | local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) | |
790 | local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso}) | |
791 | local HW = NewInstance('Motor',Char,{Part0=Torso,Part1=HaloHandle,C0=CF.N(0,1.5,1.5)*CF.A(M.R(90),0,0)}) | |
792 | local LWW = NewInstance('Motor',Char,{Part0=Torso,Part1=LWingHandle,C0=CF.N(0,0,1.5)}) | |
793 | local RWW = NewInstance('Motor',Char,{Part0=Torso,Part1=RWingHandle,C0=CF.N(0,0,1.5)}) | |
794 | ||
795 | local LSC0 = LS.C0 | |
796 | local RSC0 = RS.C0 | |
797 | local NKC0 = NK.C0 | |
798 | local LHC0 = LH.C0 | |
799 | local RHC0 = RH.C0 | |
800 | local RJC0 = RJ.C0 | |
801 | ||
802 | --// Artificial HB \\-- | |
803 | ||
804 | local ArtificialHB = IN("BindableEvent", script) | |
805 | ArtificialHB.Name = "Heartbeat" | |
806 | ||
807 | script:WaitForChild("Heartbeat") | |
808 | ||
809 | local tf = 0 | |
810 | local allowframeloss = false | |
811 | local tossremainder = false | |
812 | local lastframe = tick() | |
813 | local frame = 1/Frame_Speed | |
814 | ArtificialHB:Fire() | |
815 | ||
816 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
817 | tf = tf + s | |
818 | if tf >= frame then | |
819 | if allowframeloss then | |
820 | script.Heartbeat:Fire() | |
821 | lastframe = tick() | |
822 | else | |
823 | for i = 1, math.floor(tf / frame) do | |
824 | ArtificialHB:Fire() | |
825 | end | |
826 | lastframe = tick() | |
827 | end | |
828 | if tossremainder then | |
829 | tf = 0 | |
830 | else | |
831 | tf = tf - frame * math.floor(tf / frame) | |
832 | end | |
833 | end | |
834 | end) | |
835 | ||
836 | function swait(num) | |
837 | if num == 0 or num == nil then | |
838 | ArtificialHB.Event:wait() | |
839 | else | |
840 | for i = 0, num do | |
841 | ArtificialHB.Event:wait() | |
842 | end | |
843 | end | |
844 | end | |
845 | ||
846 | ||
847 | --// Effect Function(s) \\-- | |
848 | ||
849 | function Kill(whom) | |
850 | pcall(function() | |
851 | if(GetTorso(whom))then Sound(GetTorso(whom),62339698,.25,2,false,true,true) end | |
852 | for _,v in next, whom:children() do | |
853 | if(v:IsA'BasePart')then | |
854 | v:breakJoints() | |
855 | v.Parent = Effects | |
856 | v.CanCollide = false | |
857 | v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) | |
858 | v.Anchored = false | |
859 | local dustT = NewInstance("ParticleEmitter",v,{ | |
860 | Color = ColorSequence.new(Core2.Color), | |
861 | LightEmission=1, | |
862 | Size=NumberSequence.new(.75,0), | |
863 | Texture="rbxassetid://284205403", | |
864 | Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)}, | |
865 | Lifetime = NumberRange.new(1), | |
866 | Rate=250, | |
867 | Acceleration=V3.N(0,0,0), | |
868 | Speed = NumberRange.new(0), | |
869 | Enabled = true | |
870 | }) | |
871 | v.Color = Core2.Color | |
872 | v.Material = Enum.Material.Neon | |
873 | local bv = NewInstance('BodyPosition',v,{MaxForce=V3.N(150,150,150),D=1000,P=3000,position=v.Position+V3.N(M.RNG(-5,5),M.RNG(-5,5),M.RNG(-5,5))}) | |
874 | v.Transparency = .25 | |
875 | coroutine.wrap(function() | |
876 | for i = v.Transparency, 1, .01 do | |
877 | v.Transparency = i | |
878 | swait() | |
879 | end | |
880 | Sound(v,1192402877,1,1,false,true,true) | |
881 | v.Transparency = 1 | |
882 | dustT.Speed=NumberRange.new(1,5) | |
883 | dustT.Acceleration=V3.N(0,10,0) | |
884 | dustT.Enabled = false | |
885 | S.Debris:AddItem(v,3) | |
886 | end)() | |
887 | end | |
888 | end | |
889 | end) | |
890 | end | |
891 | ||
892 | ||
893 | function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId) | |
894 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*(Range or 0),true,false) | |
895 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
896 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
897 | fxP.Color = Core2.Color | |
898 | end | |
899 | local Scale = 1 | |
900 | local speeder = Speed | |
901 | if(Type == "Multiply")then | |
902 | Scale = 1*Inc | |
903 | elseif(Type == "Divide")then | |
904 | Scale = 1/Inc | |
905 | end | |
906 | coroutine.wrap(function() | |
907 | for i = 0,10/Lifetime,.1 do | |
908 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
909 | fxP.Color = Core2.Color | |
910 | end | |
911 | ||
912 | if(Type == "Multiply")then | |
913 | Scale = Scale - 0.01*Inc/Lifetime | |
914 | elseif(Type == "Divide")then | |
915 | Scale = Scale - 0.01/Inc*Lifetime | |
916 | end | |
917 | speeder = speeder - 0.01*Speed*Lifetime | |
918 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
919 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
920 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0) | |
921 | if(fxP.Transparency >= 1)then break end | |
922 | swait() | |
923 | end | |
924 | fxP:destroy() | |
925 | end)() | |
926 | end | |
927 | ||
928 | function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId,NotAffect) | |
929 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false) | |
930 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
931 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
932 | fxP.Color = Core2.Color | |
933 | end | |
934 | local Scale = 1 | |
935 | if(Type == "Multiply")then | |
936 | Scale = 1*Inc | |
937 | elseif(Type == "Divide")then | |
938 | Scale = 1/Inc | |
939 | end | |
940 | coroutine.wrap(function() | |
941 | for i = 0,10/Lifetime,.1 do | |
942 | if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then | |
943 | fxP.Color = Core2.Color | |
944 | end | |
945 | ||
946 | if(Type == "Multiply")then | |
947 | Scale = Scale - 0.01*Inc/Lifetime | |
948 | elseif(Type == "Divide")then | |
949 | Scale = Scale - 0.01/Inc*Lifetime | |
950 | end | |
951 | fxP.Transparency = fxP.Transparency + 0.01*Lifetime | |
952 | fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
953 | swait() | |
954 | end | |
955 | fxP:destroy() | |
956 | end)() | |
957 | return fxP | |
958 | end | |
959 | ||
960 | function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId) | |
961 | local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false) | |
962 | local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N()) | |
963 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
964 | fxP.Color = Core2.Color | |
965 | end | |
966 | local Scale = 1 | |
967 | local speeder = Speed | |
968 | if(Type == "Multiply")then | |
969 | Scale = 1*Inc | |
970 | elseif(Type == "Divide")then | |
971 | Scale = 1/Inc | |
972 | end | |
973 | coroutine.wrap(function() | |
974 | for i = 0,10/Lifetime,.1 do | |
975 | if(Mode == 6 or Mode == 4 or Mode == 696969)then | |
976 | fxP.Color = Core2.Color | |
977 | end | |
978 | if(Type == "Multiply")then | |
979 | Scale = Scale - 0.01*Inc/Lifetime | |
980 | elseif(Type == "Divide")then | |
981 | Scale = Scale - 0.01/Inc*Lifetime | |
982 | end | |
983 | if(Fade)then | |
984 | fxP.Transparency = i/(10/Lifetime) | |
985 | end | |
986 | speeder = speeder - 0.01*Speed*Lifetime/10 | |
987 | fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime | |
988 | fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime) | |
989 | swait() | |
990 | end | |
991 | fxP:destroy() | |
992 | end)() | |
993 | end | |
994 | ||
995 | function Bezier(startpos, pos2, pos3, endpos, t) | |
996 | local A = startpos:lerp(pos2, t) | |
997 | local B = pos2:lerp(pos3, t) | |
998 | local C = pos3:lerp(endpos, t) | |
999 | local lerp1 = A:lerp(B, t) | |
1000 | local lerp2 = B:lerp(C, t) | |
1001 | local cubic = lerp1:lerp(lerp2, t) | |
1002 | return cubic | |
1003 | end | |
1004 | ||
1005 | function SphereFX(duration,color,scale,pos,endScale,increment) | |
1006 | return OEffect{ | |
1007 | Effect='ResizeAndFade', | |
1008 | Color=color, | |
1009 | Size=scale, | |
1010 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1011 | CFrame=pos, | |
1012 | FXSettings={ | |
1013 | EndSize=endScale, | |
1014 | EndIsIncrement=increment | |
1015 | } | |
1016 | } | |
1017 | end | |
1018 | ||
1019 | function BlastFX(duration,color,scale,pos,endScale,increment) | |
1020 | return OEffect{ | |
1021 | Effect='ResizeAndFade', | |
1022 | Color=color, | |
1023 | Size=scale, | |
1024 | Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'}, | |
1025 | CFrame=pos, | |
1026 | FXSettings={ | |
1027 | EndSize=endScale, | |
1028 | EndIsIncrement=increment | |
1029 | } | |
1030 | } | |
1031 | end | |
1032 | ||
1033 | function BlockFX(duration,color,scale,pos,endScale,increment) | |
1034 | return OEffect{ | |
1035 | Effect='ResizeAndFade', | |
1036 | Color=color, | |
1037 | Size=scale, | |
1038 | CFrame=pos, | |
1039 | FXSettings={ | |
1040 | EndSize=endScale, | |
1041 | EndIsIncrement=increment | |
1042 | } | |
1043 | } | |
1044 | end | |
1045 | ||
1046 | function ShootBullet(data) | |
1047 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1048 | local Size = data.Size or V3.N(2,2,2) | |
1049 | local Color = data.Color or BrickColor.new'Crimson' | |
1050 | local StudsPerFrame = data.Speed or 10 | |
1051 | local Shape = data.Shape or 'Ball' | |
1052 | local Frames = data.Frames or 160 | |
1053 | local Pos = data.Origin or Torso.CFrame | |
1054 | local Direction = data.Direction or Mouse.Hit | |
1055 | local Material = data.Material or Enum.Material.Neon | |
1056 | local OnUpdate = data.Update or nil | |
1057 | local OnHit = data.HitFunction or function(hit,pos) | |
1058 | AOEDamage(pos,10,{MinimumDamage=25,MaximumDamage=60}) | |
1059 | OEffect{ | |
1060 | Effect='ResizeAndFade', | |
1061 | Color=Color, | |
1062 | Size=V3.N(10,10,10), | |
1063 | Material=Enum.Material.Neon, | |
1064 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1065 | CFrame=CF.N(pos), | |
1066 | FXSettings={ | |
1067 | EndSize=V3.N(.05,.05,.05), | |
1068 | EndIsIncrement=true | |
1069 | } | |
1070 | } | |
1071 | for i = 1, 5 do | |
1072 | local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1073 | OEffect{ | |
1074 | Effect='Fade', | |
1075 | Frames=65, | |
1076 | Size=V3.N(5,5,10), | |
1077 | CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos), | |
1078 | Mesh = {MeshType=Enum.MeshType.Sphere}, | |
1079 | Material=Enum.Material.Neon, | |
1080 | Color=Color, | |
1081 | MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p, | |
1082 | } | |
1083 | end | |
1084 | end | |
1085 | ||
1086 | local Bullet = Part(Effects,Color,Material,Size,Pos,true,false) | |
1087 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1088 | if(Shape == 'Ball')then | |
1089 | BMesh.MeshType = Enum.MeshType.Sphere | |
1090 | elseif(Shape == 'Head')then | |
1091 | BMesh.MeshType = Enum.MeshType.Head | |
1092 | elseif(Shape == 'Cylinder')then | |
1093 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1094 | end | |
1095 | ||
1096 | coroutine.wrap(function() | |
1097 | for i = 1, Frames+1 do | |
1098 | if(OnUpdate and typeof(OnUpdate) == 'function')then | |
1099 | OnUpdate(Bullet,BMesh,i) | |
1100 | end | |
1101 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame) | |
1102 | if(hit)then | |
1103 | OnHit(hit,pos,norm,dist) | |
1104 | break; | |
1105 | else | |
1106 | Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame) | |
1107 | end | |
1108 | swait() | |
1109 | end | |
1110 | Bullet:destroy() | |
1111 | end)() | |
1112 | ||
1113 | end | |
1114 | ||
1115 | function Puddle(hit,pos,norm,data) | |
1116 | local material = data.Material or Enum.Material.SmoothPlastic | |
1117 | local color = data.Color or BrickColor.new'Crimson' | |
1118 | local size = data.Size or 1 | |
1119 | ||
1120 | if(hit.Name ~= 'BloodPuddle')then | |
1121 | 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'}) | |
1122 | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) | |
1123 | BloodPuddles[Puddle] = 0 | |
1124 | else | |
1125 | local cyl = hit:FindFirstChild'CylinderMesh' | |
1126 | if(cyl)then | |
1127 | BloodPuddles[hit] = 0 | |
1128 | cyl.Scale = cyl.Scale + V3.N(size,0,size) | |
1129 | hit.Transparency = 0 | |
1130 | end | |
1131 | end | |
1132 | end | |
1133 | ||
1134 | function Droplet(data) | |
1135 | --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10} | |
1136 | local Size = data.Size or 1 | |
1137 | local Color = data.Color or BrickColor.new'Crimson' | |
1138 | local StudsPerFrame = data.Speed or 1 | |
1139 | local Shape = data.Shape or 'Ball' | |
1140 | local Frames = (data.Frames or 160)+1 | |
1141 | local Pos = data.Origin or Root.CFrame | |
1142 | local Direction = data.Direction or Root.CFrame.lookVector*100000 | |
1143 | local Material = data.Material or Enum.Material.SmoothPlastic | |
1144 | local Drop = data.Drop or .05 | |
1145 | local Ignorelist = data.Ignorelist or nil | |
1146 | ||
1147 | local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false) | |
1148 | local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N()) | |
1149 | if(Shape == 'Ball')then | |
1150 | BMesh.MeshType = Enum.MeshType.Sphere | |
1151 | elseif(Shape == 'Head')then | |
1152 | BMesh.MeshType = Enum.MeshType.Head | |
1153 | elseif(Shape == 'Cylinder')then | |
1154 | BMesh.MeshType = Enum.MeshType.Cylinder | |
1155 | end | |
1156 | ||
1157 | coroutine.wrap(function() | |
1158 | for i = 1, Frames do | |
1159 | Pos = Pos * CF.N(0,-(Drop*i),0) | |
1160 | local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame) | |
1161 | if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then | |
1162 | Puddle(hit,pos,norm,data) | |
1163 | break; | |
1164 | else | |
1165 | Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)) | |
1166 | end | |
1167 | swait() | |
1168 | end | |
1169 | Bullet:destroy() | |
1170 | end)() | |
1171 | end | |
1172 | ||
1173 | function Zap(data) | |
1174 | local sCF,eCF = data.StartCFrame,data.EndCFrame | |
1175 | assert(sCF,"You need a start CFrame!") | |
1176 | assert(eCF,"You need an end CFrame!") | |
1177 | local parts = data.PartCount or 15 | |
1178 | local zapRot = data.ZapRotation or {-5,5} | |
1179 | local startThick = data.StartSize or 3; | |
1180 | local endThick = data.EndSize or startThick/2; | |
1181 | local color = data.Color or BrickColor.new'Electric blue' | |
1182 | local delay = data.Delay or 35 | |
1183 | local delayInc = data.DelayInc or 0 | |
1184 | local lastLightning; | |
1185 | local MagZ = (sCF.p - eCF.p).magnitude | |
1186 | local thick = startThick | |
1187 | local inc = (startThick/parts)-(endThick/parts) | |
1188 | ||
1189 | for i = 1, parts do | |
1190 | local pos = sCF.p | |
1191 | if(lastLightning)then | |
1192 | pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p | |
1193 | end | |
1194 | delay = delay + delayInc | |
1195 | local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false) | |
1196 | 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))) | |
1197 | if(parts == i)then | |
1198 | local MagZ = (pos-eCF.p).magnitude | |
1199 | zapPart.Size = V3.N(endThick,endThick,MagZ) | |
1200 | zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2) | |
1201 | OEffect{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)}} | |
1202 | else | |
1203 | zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2) | |
1204 | end | |
1205 | ||
1206 | lastLightning = zapPart | |
1207 | OEffect{Effect='Fade',Manual=zapPart,Frames=delay} | |
1208 | ||
1209 | thick=thick-inc | |
1210 | ||
1211 | end | |
1212 | end | |
1213 | ||
1214 | function Zap2(data) | |
1215 | local Color = data.Color or BrickColor.new'Electric blue' | |
1216 | local StartPos = data.Start or Torso.Position | |
1217 | local EndPos = data.End or Mouse.Hit.p | |
1218 | local SegLength = data.SegL or 2 | |
1219 | local Thicc = data.Thickness or 0.5 | |
1220 | local Fades = data.Fade or 45 | |
1221 | local Parent = data.Parent or Effects | |
1222 | local MaxD = data.MaxDist or 200 | |
1223 | local Branch = data.Branches or false | |
1224 | local Material = data.Material or Enum.Material.Neon | |
1225 | local Raycasts = data.Raycasts or false | |
1226 | local Offset = data.Offset or {0,360} | |
1227 | local AddMesh = (data.Mesh == nil and true or data.Mesh) | |
1228 | if((StartPos-EndPos).magnitude > MaxD)then | |
1229 | EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p | |
1230 | end | |
1231 | local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude | |
1232 | if(Raycasts)then | |
1233 | hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD) | |
1234 | end | |
1235 | local segments = dist/SegLength | |
1236 | local model = IN("Model",Parent) | |
1237 | model.Name = 'Lightning' | |
1238 | local Last; | |
1239 | for i = 1, segments do | |
1240 | local size = (segments-i)/25 | |
1241 | local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false) | |
1242 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1243 | if(Last and math.floor(segments) == i)then | |
1244 | local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude | |
1245 | prt.Size = V3.N(Thicc+size,MagZ,Thicc+size) | |
1246 | 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) | |
1247 | elseif(not Last)then | |
1248 | prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0) | |
1249 | else | |
1250 | 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) | |
1251 | end | |
1252 | Last = prt | |
1253 | if(Branch)then | |
1254 | local choice = M.RNG(1,7+((segments-i)*2)) | |
1255 | if(choice == 1)then | |
1256 | local LastB; | |
1257 | for i2 = 1,M.RNG(2,5) do | |
1258 | local size2 = ((segments-i)/35)/i2 | |
1259 | local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false) | |
1260 | if(AddMesh)then IN("CylinderMesh",prt) end | |
1261 | if(not LastB)then | |
1262 | 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) | |
1263 | else | |
1264 | 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) | |
1265 | end | |
1266 | LastB = prt | |
1267 | end | |
1268 | end | |
1269 | end | |
1270 | end | |
1271 | if(Fades > 0)then | |
1272 | coroutine.wrap(function() | |
1273 | for i = 1, Fades do | |
1274 | for _,v in next, model:children() do | |
1275 | if(v:IsA'BasePart')then | |
1276 | v.Transparency = (i/Fades) | |
1277 | end | |
1278 | end | |
1279 | swait() | |
1280 | end | |
1281 | model:destroy() | |
1282 | end)() | |
1283 | else | |
1284 | S.Debris:AddItem(model,.01) | |
1285 | end | |
1286 | return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model} | |
1287 | end | |
1288 | ||
1289 | function Tween(obj,props,time,easing,direction,repeats,backwards) | |
1290 | local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false) | |
1291 | local tween = S.TweenService:Create(obj, info, props) | |
1292 | ||
1293 | tween:Play() | |
1294 | end | |
1295 | ||
1296 | function OEffect(data) | |
1297 | local FX = data.Effect or 'ResizeAndFade' | |
1298 | local Parent = data.Parent or Effects | |
1299 | local Color = data.Color or C3.N(0,0,0) | |
1300 | local Size = data.Size or V3.N(1,1,1) | |
1301 | local MoveDir = data.MoveDirection or nil | |
1302 | local MeshData = data.Mesh or nil | |
1303 | local SndData = data.Sound or nil | |
1304 | local Frames = data.Frames or 45 | |
1305 | local Manual = data.Manual or nil | |
1306 | local Material = data.Material or nil | |
1307 | local CFra = data.CFrame or Torso.CFrame | |
1308 | local Settings = data.FXSettings or {} | |
1309 | local Shape = data.Shape or Enum.PartType.Block | |
1310 | local Snd,Prt,Msh; | |
1311 | local RotInc = data.RotInc or {0,0,0} | |
1312 | if(typeof(RotInc) == 'number')then | |
1313 | RotInc = {RotInc,RotInc,RotInc} | |
1314 | end | |
1315 | coroutine.wrap(function() | |
1316 | if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then | |
1317 | Prt = Manual | |
1318 | else | |
1319 | Prt = Part(Parent,Color,Material,Size,CFra,true,false) | |
1320 | Prt.Shape = Shape | |
1321 | end | |
1322 | if(typeof(MeshData) == 'table')then | |
1323 | Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) | |
1324 | elseif(typeof(MeshData) == 'Instance')then | |
1325 | Msh = MeshData:Clone() | |
1326 | Msh.Parent = Prt | |
1327 | elseif(Shape == Enum.PartType.Block)then | |
1328 | Msh = Mesh(Prt,Enum.MeshType.Brick) | |
1329 | end | |
1330 | if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then | |
1331 | Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) | |
1332 | end | |
1333 | if(Snd)then | |
1334 | repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 | |
1335 | Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch | |
1336 | end | |
1337 | Size = (Msh and Msh.Scale or Size) | |
1338 | local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2) | |
1339 | ||
1340 | local MoveSpeed = nil; | |
1341 | if(MoveDir)then | |
1342 | MoveSpeed = (CFra.p - MoveDir).magnitude/Frames | |
1343 | end | |
1344 | if(FX ~= 'Arc')then | |
1345 | for Frame = 1, Frames do | |
1346 | if(FX == "Fade")then | |
1347 | Prt.Transparency = (Frame/Frames) | |
1348 | elseif(FX == "Resize")then | |
1349 | if(not Settings.EndSize)then | |
1350 | Settings.EndSize = V3.N(0,0,0) | |
1351 | end | |
1352 | if(Settings.EndIsIncrement)then | |
1353 | if(Msh)then | |
1354 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1355 | else | |
1356 | Prt.Size = Prt.Size + Settings.EndSize | |
1357 | end | |
1358 | else | |
1359 | if(Msh)then | |
1360 | Msh.Scale = Msh.Scale - grow/Frames | |
1361 | else | |
1362 | Prt.Size = Prt.Size - grow/Frames | |
1363 | end | |
1364 | end | |
1365 | elseif(FX == "ResizeAndFade")then | |
1366 | if(not Settings.EndSize)then | |
1367 | Settings.EndSize = V3.N(0,0,0) | |
1368 | end | |
1369 | if(Settings.EndIsIncrement)then | |
1370 | if(Msh)then | |
1371 | Msh.Scale = Msh.Scale + Settings.EndSize | |
1372 | else | |
1373 | Prt.Size = Prt.Size + Settings.EndSize | |
1374 | end | |
1375 | else | |
1376 | if(Msh)then | |
1377 | Msh.Scale = Msh.Scale - grow/Frames | |
1378 | else | |
1379 | Prt.Size = Prt.Size - grow/Frames | |
1380 | end | |
1381 | end | |
1382 | Prt.Transparency = (Frame/Frames) | |
1383 | end | |
1384 | if(Settings.RandomizeCFrame)then | |
1385 | Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) | |
1386 | else | |
1387 | Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc)) | |
1388 | end | |
1389 | if(MoveDir and MoveSpeed)then | |
1390 | local Orientation = Prt.Orientation | |
1391 | Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) | |
1392 | Prt.Orientation = Orientation | |
1393 | end | |
1394 | swait() | |
1395 | end | |
1396 | Prt:destroy() | |
1397 | else | |
1398 | local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End | |
1399 | if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end | |
1400 | if(start and endP)then | |
1401 | local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1402 | local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) | |
1403 | for Frame = 0, 1, (Settings.Speed or 0.01) do | |
1404 | if(Settings.Home)then | |
1405 | endP = Settings.Home.CFrame | |
1406 | end | |
1407 | Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame) | |
1408 | end | |
1409 | if(Settings.RemoveOnGoal)then | |
1410 | Prt:destroy() | |
1411 | end | |
1412 | else | |
1413 | Prt:destroy() | |
1414 | assert(start,"You need a start position!") | |
1415 | assert(endP,"You need a start position!") | |
1416 | end | |
1417 | end | |
1418 | end)() | |
1419 | return Prt,Msh,Snd | |
1420 | end | |
1421 | ||
1422 | function Effect(data) | |
1423 | local Color = data.Color or C3.N(0,0,0) | |
1424 | local Material = data.Material or Enum.Material.Neon; | |
1425 | local MeshD = data.Mesh or {}; | |
1426 | local SoundD = data.Sound or nil; | |
1427 | local Shape = data.Shape or Enum.PartType.Block; | |
1428 | local Size = data.StartSize or V3.N(.1,.1,.1); | |
1429 | local ESize = data.EndSize or V3.N(6,6,6); | |
1430 | local Direction = data.Direction or nil; | |
1431 | local Speed = data.Speed or .1; -- studs per second | |
1432 | local Boomerang = data.Boomerang or {Enabled=false,SizeBoomerang=0,MoveBoomerang=0}; | |
1433 | local Pos = data.CFrame or Torso.CFrame; | |
1434 | local Frames = data.Frames or 60; | |
1435 | local RotInc = data.RotInc or {0,0,0} | |
1436 | local StartTrans = data.TransStart or 0; | |
1437 | local EndTrans = data.TransEnd or 1; | |
1438 | ||
1439 | if(typeof(RotInc) == 'number')then RotInc = {RotInc,RotInc,RotInc}; end | |
1440 | local S,PM,P; | |
1441 | ||
1442 | coroutine.wrap(function() | |
1443 | P = Part(Effects,Color,Material,V3.N(1,1,1),Pos,true,false) | |
1444 | ||
1445 | if(MeshD == "Blast")then | |
1446 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://20329976','',Size,V3.N(0,0,-Size.X/8)) | |
1447 | elseif(MeshD == 'Ring')then | |
1448 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://559831844','',Size,V3.N(0,0,0)) | |
1449 | elseif(MeshD == 'Slash1')then | |
1450 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://662586858','',V3.N(Size.X/10,.001,Size.Z/10),V3.N(0,0,0)) | |
1451 | elseif(MeshD == 'Slash2')then | |
1452 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://448386996','',V3.N(Size.X/1000,Size.Y/100,Size.Z/100),V3.N(0,0,0)) | |
1453 | elseif(MeshD == 'Slash3')then | |
1454 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size,V3.N(0,0,0)) | |
1455 | elseif(MeshD == 'Tornado1')then | |
1456 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://443529437','',Size/10,V3.N(0,0,0)) | |
1457 | elseif(MeshD == 'Tornado2')then | |
1458 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://168892432','',Size/4,V3.N(0,0,0)) | |
1459 | elseif(MeshD == 'Skull')then | |
1460 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size*2,V3.N(0,0,0)) | |
1461 | elseif(MeshD == 'Crystal')then | |
1462 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://9756362','',Size,V3.N(0,0,0)) | |
1463 | elseif(MeshD == 'Cloud')then | |
1464 | PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://1095708','',Size,V3.N(0,0,0)) | |
1465 | elseif(typeof(MeshD) == 'table')then | |
1466 | local Type = MeshD.Type or Enum.MeshType.Brick | |
1467 | local ID = MeshD.ID or ''; | |
1468 | local Tex = MeshD.Texture or ''; | |
1469 | local Offset = MeshD.Offset or V3.N(0,0,0) | |
1470 | PM = Mesh(P,Type,ID,Tex,Size,Offset) | |
1471 | else | |
1472 | PM = Mesh(P,Enum.MeshType.Brick,'','',Size) | |
1473 | end | |
1474 | ||
1475 | if(typeof(SoundD) == 'table')then | |
1476 | local ID = SoundD.ID or ''; | |
1477 | local Pitch = SoundD.Pitch or 1; | |
1478 | local Volume = SoundD.Volume or 1; | |
1479 | S = Sound(P,ID,Pitch,Volume,false,true,true) | |
1480 | elseif(typeof(SoundD) == 'string' or typeof(SoundD) == 'number')then | |
1481 | S = Sound(P,SoundD,1,1,false,true,true) | |
1482 | end | |
1483 | local grow = (Size - ESize) | |
1484 | local SizeBoomer = 1+Boomerang.SizeBoomerang/50 | |
1485 | local MoveBoomer = 1+Boomerang.MoveBoomerang/50 | |
1486 | if(Boomerang and Boomerang.Enabled)then | |
1487 | grow = (Size - ESize)*(SizeBoomer+1) | |
1488 | end | |
1489 | local TransChange = StartTrans - EndTrans | |
1490 | for i = 0, Frames do | |
1491 | local MoveSpeed = -Speed | |
1492 | local scaleGay = grow/Frames | |
1493 | if(Boomerang and Boomerang.Enabled)then -- thanks shack | |
1494 | MoveSpeed = -(Speed)*((1-(i/Frames)*MoveBoomer)) | |
1495 | scaleGay = (V3.N((grow.X)*((1 - (i/Frames)*SizeBoomer)),(grow.Y)*((1 - (i/Frames)*SizeBoomer)),(grow.Z)*((1 - (i/Frames)*SizeBoomer)))*SizeBoomer)/Frames | |
1496 | end | |
1497 | if(PM.MeshId == 'rbxassetid://20329976')then | |
1498 | PM.Offset = V3.N(0,0,-PM.Scale.Z/8) | |
1499 | elseif(PM.MeshId == 'rbxassetid://4770583')then | |
1500 | scaleGay = scaleGay*2 | |
1501 | elseif(PM.MeshId == 'rbxassetid://168892432')then | |
1502 | scaleGay = scaleGay/4 | |
1503 | elseif(PM.MeshId == 'rbxassetid://443529437')then | |
1504 | scaleGay = scaleGay/10 | |
1505 | elseif(PM.MeshId == 'rbxassetid://443529437')then | |
1506 | scaleGay = scaleGay/10 | |
1507 | end | |
1508 | PM.Scale = PM.Scale - scaleGay | |
1509 | P.Transparency = P.Transparency - TransChange/Frames | |
1510 | if(RotInc == 'random')then | |
1511 | P.CFrame=P.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)) | |
1512 | elseif(typeof(RotInc) == 'table')then | |
1513 | P.CFrame=P.CFrame*CF.A(unpack(RotInc)) | |
1514 | end | |
1515 | ||
1516 | ||
1517 | if(Direction and Speed)then | |
1518 | local Orientation = P.Orientation | |
1519 | P.CFrame = CF.N(P.Position,Direction.p)*CF.N(0,0,MoveSpeed) | |
1520 | P.Orientation = Orientation | |
1521 | end | |
1522 | swait() | |
1523 | end | |
1524 | ||
1525 | P.Transparency = 1 | |
1526 | if(S and S.Playing)then | |
1527 | repeat swait() until not S.Parent or not S.Playing | |
1528 | end | |
1529 | if(S and S.Parent)then | |
1530 | S:destroy() | |
1531 | end | |
1532 | end)() | |
1533 | ||
1534 | ||
1535 | end | |
1536 | ||
1537 | ||
1538 | --if(not Plr:IsFriendsWith(5719877))then warn("You aren't whitelisted, dumbass.") warn("Why did you even try?")script.Disabled = true repeat until nil end | |
1539 | ||
1540 | function SoulSteal(whom) | |
1541 | local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart') | |
1542 | print(torso) | |
1543 | if(torso and torso:IsA'BasePart')then | |
1544 | local Model = Instance.new("Model",Effects) | |
1545 | Model.Name = whom.Name.."'s Soul" | |
1546 | whom:BreakJoints() | |
1547 | local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false) | |
1548 | Soul.Name = 'Head' | |
1549 | NewInstance("Humanoid",Model,{Health=0,MaxHealth=0}) | |
1550 | OEffect{ | |
1551 | Effect="Arc", | |
1552 | Manual = Soul, | |
1553 | FXSettings={ | |
1554 | Start=torso.CFrame, | |
1555 | Home = Torso, | |
1556 | RemoveOnGoal = true, | |
1557 | } | |
1558 | } | |
1559 | local lastPoint = Soul.CFrame.p | |
1560 | ||
1561 | for i = 0, 1, 0.01 do | |
1562 | local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0) | |
1563 | local mag = (lastPoint - Soul.Position).magnitude | |
1564 | OEffect{ | |
1565 | Effect = "Fade", | |
1566 | CFrame = point * CF.N(0, mag/2, 0), | |
1567 | Size = V3.N(.5,mag+.5,.5), | |
1568 | Color = Soul.BrickColor | |
1569 | } | |
1570 | lastPoint = Soul.CFrame.p | |
1571 | swait() | |
1572 | end | |
1573 | for i = 1, 5 do | |
1574 | OEffect{ | |
1575 | Effect="Fade", | |
1576 | Color = BrickColor.new'Really red', | |
1577 | MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p | |
1578 | } | |
1579 | end | |
1580 | end | |
1581 | end | |
1582 | ||
1583 | --// Other Functions \\ -- | |
1584 | ||
1585 | function CastRay(startPos,endPos,range,ignoreList) | |
1586 | local ray = Ray.new(startPos,(endPos-startPos).unit*range) | |
1587 | local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true) | |
1588 | return part,pos,norm,(pos and (startPos-pos).magnitude) | |
1589 | end | |
1590 | ||
1591 | function getRegion(point,range,ignore) | |
1592 | return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100) | |
1593 | end | |
1594 | ||
1595 | function clerp(startCF,endCF,alpha) | |
1596 | return startCF:lerp(endCF, alpha) | |
1597 | end | |
1598 | ||
1599 | function GetTorso(char) | |
1600 | return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart' | |
1601 | end | |
1602 | ||
1603 | ||
1604 | function ShowDamage(Pos, Text, Time, Color) | |
1605 | coroutine.wrap(function() | |
1606 | local Rate = (1 / Frame_Speed) | |
1607 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1608 | local Text = (Text or "") | |
1609 | local Time = (Time or 2) | |
1610 | local Color = (Color or Color3.new(1, 0, 1)) | |
1611 | local EffectPart = NewInstance("Part",Effects,{ | |
1612 | Material=Enum.Material.SmoothPlastic, | |
1613 | Reflectance = 0, | |
1614 | Transparency = 1, | |
1615 | BrickColor = BrickColor.new(Color), | |
1616 | Name = "Effect", | |
1617 | Size = Vector3.new(0,0,0), | |
1618 | Anchored = true, | |
1619 | CFrame = CF.N(Pos) | |
1620 | }) | |
1621 | local BillboardGui = NewInstance("BillboardGui",EffectPart,{ | |
1622 | Size = UDim2.new(1.25, 0, 1.25, 0), | |
1623 | Adornee = EffectPart, | |
1624 | }) | |
1625 | local TextLabel = NewInstance("TextLabel",BillboardGui,{ | |
1626 | BackgroundTransparency = 1, | |
1627 | Size = UDim2.new(1, 0, 1, 0), | |
1628 | Text = Text, | |
1629 | Font = "Bodoni", | |
1630 | TextColor3 = Color, | |
1631 | TextStrokeColor3 = Color3.new(0,0,0), | |
1632 | TextStrokeTransparency=0, | |
1633 | TextScaled = true, | |
1634 | }) | |
1635 | S.Debris:AddItem(EffectPart, (Time)) | |
1636 | EffectPart.Parent = workspace | |
1637 | delay(0, function() | |
1638 | Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out) | |
1639 | local Frames = (Time / Rate) | |
1640 | for Frame = 1, Frames do | |
1641 | swait() | |
1642 | local Percent = (Frame / Frames) | |
1643 | TextLabel.TextTransparency = Percent | |
1644 | TextLabel.TextStrokeTransparency = Percent | |
1645 | end | |
1646 | if EffectPart and EffectPart.Parent then | |
1647 | EffectPart:Destroy() | |
1648 | end | |
1649 | end) end)() | |
1650 | end | |
1651 | ||
1652 | ||
1653 | function DealDamage(data) | |
1654 | local Who = data.Who; | |
1655 | local MinDam = data.MinimumDamage or 15; | |
1656 | local MaxDam = data.MaximumDamage or 30; | |
1657 | local MaxHP = data.MaxHP or 1e5; | |
1658 | ||
1659 | local DB = data.Debounce or .2; | |
1660 | ||
1661 | local CritData = data.Crit or {} | |
1662 | local CritChance = CritData.Chance or 0; | |
1663 | local CritMultiplier = CritData.Multiplier or 1; | |
1664 | ||
1665 | local DamageEffects = data.DamageFX or {} | |
1666 | local DamageType = DamageEffects.Type or "Normal" | |
1667 | local DeathFunction = DamageEffects.DeathFunction | |
1668 | ||
1669 | assert(Who,"Specify someone to damage!") | |
1670 | ||
1671 | local Humanoid = Who:FindFirstChildOfClass'Humanoid' | |
1672 | local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1) | |
1673 | ||
1674 | local canHit = true | |
1675 | if(Humanoid)then | |
1676 | for _, p in pairs(Hit) do | |
1677 | if p[1] == Humanoid then | |
1678 | if(time() - p[2] <= DB) then | |
1679 | canHit = false | |
1680 | else | |
1681 | Hit[_] = nil | |
1682 | end | |
1683 | end | |
1684 | end | |
1685 | if(canHit)then | |
1686 | table.insert(Hit,{Humanoid,time()}) | |
1687 | local HitTorso = GetTorso(Who) | |
1688 | local player = S.Players:GetPlayerFromCharacter(Who) | |
1689 | if(not player or not DontAttackPlayers and player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then | |
1690 | if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then | |
1691 | print'Got kill' | |
1692 | Hits = math.min(Hits + 1,MaxHits) | |
1693 | HitTime = time() + 1 | |
1694 | Humanoid.Health = 0; | |
1695 | Who:BreakJoints(); | |
1696 | if(DeathFunction)then DeathFunction(Who,Humanoid) end | |
1697 | else | |
1698 | local c = Instance.new("ObjectValue",Hum) | |
1699 | c.Name = "creator" | |
1700 | c.Value = Player | |
1701 | S.Debris:AddItem(c,0.35) | |
1702 | if(Hits >= MaxHits/4)then | |
1703 | local Mult = (DoneDamage*(Hits/MaxHits))/2 | |
1704 | DoneDamage = DoneDamage + Mult | |
1705 | end | |
1706 | if(Humanoid.Health > 0)then | |
1707 | Hits = math.min(Hits + 1,MaxHits) | |
1708 | HitTime = time() + 1 | |
1709 | if(Mode == 9 and not Radioactive[Who])then | |
1710 | Radioactive[Who] = {0,M.RNG(time()+4,time()+14)} | |
1711 | end | |
1712 | if(Who:FindFirstChild'Head')then | |
1713 | 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) | |
1714 | end | |
1715 | if(Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end | |
1716 | Humanoid.Health = Humanoid.Health - DoneDamage | |
1717 | end | |
1718 | ||
1719 | if(DamageType == 'Knockback' and HitTorso)then | |
1720 | local up = DamageEffects.KnockUp or 25 | |
1721 | local back = DamageEffects.KnockBack or 25 | |
1722 | local origin = DamageEffects.Origin or Root | |
1723 | local decay = DamageEffects.Decay or .5; | |
1724 | ||
1725 | local bfos = Instance.new("BodyVelocity",HitTorso) | |
1726 | bfos.P = 20000 | |
1727 | bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1728 | bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back) | |
1729 | S.Debris:AddItem(bfos,decay) | |
1730 | end | |
1731 | end | |
1732 | end | |
1733 | end | |
1734 | end | |
1735 | end | |
1736 | ||
1737 | function AOEDamage(where,range,options) | |
1738 | local hit = {} | |
1739 | for _,v in next, getRegion(where,range,{Char}) do | |
1740 | if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then | |
1741 | local callTable = {Who=v.Parent} | |
1742 | hit[v.Parent] = true | |
1743 | for _,v in next, options do callTable[_] = v end | |
1744 | DealDamage(callTable) | |
1745 | end | |
1746 | end | |
1747 | return hit | |
1748 | end | |
1749 | ||
1750 | function AOEHeal(where,range,amount) | |
1751 | local healed = {} | |
1752 | for _,v in next, getRegion(where,range,{Char}) do | |
1753 | local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil) | |
1754 | if(hum and not healed[hum])then | |
1755 | hum.Health = hum.Health + amount | |
1756 | if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then | |
1757 | 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) | |
1758 | end | |
1759 | end | |
1760 | end | |
1761 | end | |
1762 | ||
1763 | --// Chat Function \\-- | |
1764 | ||
1765 | function Chat(text,color) | |
1766 | --if(game.PlaceId ~= 843468296)then | |
1767 | coroutine.wrap(function() | |
1768 | if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end | |
1769 | local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,2,0),Adornee=Head}) | |
1770 | local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=color,BorderSizePixel=0,Font=Enum.Font.Antique,TextSize=50,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)}) | |
1771 | local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true) | |
1772 | for i = 1, #text do | |
1773 | delay(i/25, function() | |
1774 | SND.Pitch = M.RNG(9,11)/10 | |
1775 | SND.Volume = 3 | |
1776 | SND.Parent = Effects | |
1777 | SND:Play() | |
1778 | Txt.Text = text:sub(1,i) | |
1779 | end) | |
1780 | end | |
1781 | delay((#text/25)+2.5, function() | |
1782 | for i = 0, 1, .025 do | |
1783 | Txt.TextTransparency=i | |
1784 | Txt.Rotation = M.RNG(-25,25) | |
1785 | Txt.Position = UDim2.new(0,M.RNG(-15,15),0,M.RNG(-15,15)) | |
1786 | swait() | |
1787 | end | |
1788 | BBG:destroy() | |
1789 | end) | |
1790 | end)() | |
1791 | --else | |
1792 | -- Chat2(text) | |
1793 | --end | |
1794 | end | |
1795 | ||
1796 | --// Everything else \\-- | |
1797 | ||
1798 | function ClickGlitch() | |
1799 | Attack = true | |
1800 | NeutralAnims = false | |
1801 | local oWS = WalkSpeed | |
1802 | WalkSpeed = 0 | |
1803 | Hum.JumpPower = 0 | |
1804 | Hum.AutoRotate = false | |
1805 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1806 | for i = 0, 2, 0.1 do | |
1807 | swait() | |
1808 | local Alpha = .3 | |
1809 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1810 | 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) | |
1811 | 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) | |
1812 | 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) | |
1813 | 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) | |
1814 | 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) | |
1815 | 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) | |
1816 | end | |
1817 | Sound(LArm,217767125,M.RNG(75,125)/100,10,false,true,true) | |
1818 | OEffect{ | |
1819 | Effect='Fade', | |
1820 | Size=V3.N(1,1,1), | |
1821 | CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)), | |
1822 | Color=Core2.Color, | |
1823 | Material=Enum.Material.Neon, | |
1824 | FXSettings = { | |
1825 | RandomizeCFrame=true | |
1826 | } | |
1827 | } | |
1828 | coroutine.wrap(function() | |
1829 | local MousePos = Mouse.Hit | |
1830 | local effect = Part(Effects,Core2.Color,Enum.Material.Neon,V3.N(2.5,2.5,2.5),MousePos,true,false) | |
1831 | for i = 0, 6, .1 do | |
1832 | effect.Color = Core2.Color | |
1833 | MousePos = MousePos * CF.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100) | |
1834 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1835 | 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) | |
1836 | swait() | |
1837 | end | |
1838 | AOEDamage(MousePos.p,30,{MinimumDamage=30,MaximumDamage=75}) | |
1839 | for i = 0, 3, .1 do | |
1840 | effect.Color = Core2.Color | |
1841 | effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)) | |
1842 | effect.Size = effect.Size + V3.N(1,1,1) | |
1843 | effect.Transparency = i/3 | |
1844 | swait() | |
1845 | end | |
1846 | effect:destroy() | |
1847 | ||
1848 | end)() | |
1849 | for i = 0, 1, 0.1 do | |
1850 | swait() | |
1851 | local Alpha = .3 | |
1852 | 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) | |
1853 | 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) | |
1854 | 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) | |
1855 | 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) | |
1856 | 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) | |
1857 | 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) | |
1858 | end | |
1859 | for i = 0, 1, 0.1 do | |
1860 | swait() | |
1861 | local Alpha = .3 | |
1862 | 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) | |
1863 | 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) | |
1864 | 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) | |
1865 | 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) | |
1866 | 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) | |
1867 | 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) | |
1868 | end | |
1869 | WalkSpeed = oWS | |
1870 | Hum.JumpPower = 50 | |
1871 | Hum.AutoRotate = true | |
1872 | Attack = false | |
1873 | NeutralAnims = true | |
1874 | end | |
1875 | ||
1876 | function PureBomb() | |
1877 | Attack = true | |
1878 | NeutralAnims = false | |
1879 | 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) | |
1880 | local orbM = Mesh(orb,Enum.MeshType.Sphere,"","",V3.N(.1,.1,.1)) | |
1881 | local Scale = 0.1 | |
1882 | local Pos = 0 | |
1883 | Hum.AutoRotate = false | |
1884 | Sound(orb,136007472,1,5,false,true,true) | |
1885 | for i = 0, 10, 0.1 do | |
1886 | Scale = Scale + .05 | |
1887 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
1888 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1889 | orbM.Scale = V3.N(Scale,Scale,Scale) | |
1890 | 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) | |
1891 | swait() | |
1892 | local Alpha = .3 | |
1893 | 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) | |
1894 | 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) | |
1895 | 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) | |
1896 | 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) | |
1897 | 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) | |
1898 | 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) | |
1899 | end | |
1900 | for i = 0, 2, 0.1 do | |
1901 | swait() | |
1902 | orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0) | |
1903 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1904 | local Alpha = .3 | |
1905 | 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) | |
1906 | 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) | |
1907 | 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) | |
1908 | 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) | |
1909 | 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) | |
1910 | 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) | |
1911 | end | |
1912 | Sound(Root,260433768,1,5.25,false,true,true) | |
1913 | 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) | |
1914 | local snd, part = SoundPart(151304356,1,5.25,false,true,true,CF.N(pos)) | |
1915 | AOEDamage(pos,Scale*4,{MinimumDamage=25,MaximumDamage=60}) | |
1916 | OEffect{ | |
1917 | Effect='ResizeAndFade', | |
1918 | Color=BrickColor.new'Baby blue', | |
1919 | Size=V3.N(Scale*2,Scale*2,Scale*2), | |
1920 | Material=Enum.Material.Neon, | |
1921 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1922 | CFrame=CF.N(pos), | |
1923 | FXSettings={ | |
1924 | EndSize=V3.N(.1,.1,.1), | |
1925 | EndIsIncrement=true | |
1926 | } | |
1927 | } | |
1928 | OEffect{ | |
1929 | Effect='ResizeAndFade', | |
1930 | Color=BrickColor.new'Pastel light blue', | |
1931 | Size=V3.N(Scale*1.5,Scale*1.5,Scale*1.5), | |
1932 | Material=Enum.Material.Neon, | |
1933 | Mesh={MeshType=Enum.MeshType.Sphere}, | |
1934 | CFrame=CF.N(pos), | |
1935 | FXSettings={ | |
1936 | EndSize=V3.N(.1,.1,.1), | |
1937 | EndIsIncrement=true | |
1938 | } | |
1939 | } | |
1940 | for i = 0, 49 do | |
1941 | 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) | |
1942 | end | |
1943 | for i = 0, 9 do | |
1944 | 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) | |
1945 | 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) | |
1946 | end | |
1947 | end} | |
1948 | orb:destroy() | |
1949 | for i = 0, 1, 0.1 do | |
1950 | swait() | |
1951 | Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p) | |
1952 | local Alpha = .3 | |
1953 | 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) | |
1954 | 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) | |
1955 | 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) | |
1956 | 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) | |
1957 | 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) | |
1958 | 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) | |
1959 | end | |
1960 | ||
1961 | Hum.AutoRotate = true | |
1962 | ||
1963 | Attack = false | |
1964 | NeutralAnims = true | |
1965 | end | |
1966 | ||
1967 | function Aeroplane() | |
1968 | Attack = true | |
1969 | NeutralAnims = false | |
1970 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(2,2,2),.5,BrickColor.new'White') | |
1971 | local rad = 0 | |
1972 | for i = 0, 3, 0.1 do | |
1973 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
1974 | swait() | |
1975 | Root.Velocity = Root.CFrame.lookVector*(350-(i*66)) | |
1976 | local Alpha = .3 | |
1977 | 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) | |
1978 | 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) | |
1979 | 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) | |
1980 | 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) | |
1981 | 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) | |
1982 | 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) | |
1983 | end | |
1984 | for i = 0, 18, 0.1 do | |
1985 | AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30}) | |
1986 | swait() | |
1987 | rad = rad + .1 | |
1988 | local Alpha = .3 | |
1989 | Root.Velocity = Root.CFrame.lookVector*150 | |
1990 | 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) | |
1991 | 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) | |
1992 | 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) | |
1993 | 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) | |
1994 | 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) | |
1995 | 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) | |
1996 | end | |
1997 | Attack = false | |
1998 | NeutralAnims = true | |
1999 | end | |
2000 | ||
2001 | function Shrek() | |
2002 | Attack = true | |
2003 | NeutralAnims = false | |
2004 | local oWS = WalkSpeed | |
2005 | for i = 0, 2, 0.1 do | |
2006 | swait() | |
2007 | local Alpha = .3 | |
2008 | 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) | |
2009 | 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) | |
2010 | 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) | |
2011 | 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) | |
2012 | 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) | |
2013 | 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) | |
2014 | end | |
2015 | WalkSpeed = 0 | |
2016 | Sound(Head,368794903,1.2,10,false,true,true) | |
2017 | local wo = IN("Model",Effects) | |
2018 | ||
2019 | for i = 1, 3 do | |
2020 | local wat = 12.5+(i*2) | |
2021 | local screamPart = Part(wo,BrickColor.new'Pearl',Enum.Material.Neon,V3.N(1,1,1),Head.CFrame,false,false) | |
2022 | screamPart.Transparency = .6+(i/10) | |
2023 | Mesh(screamPart,Enum.MeshType.Sphere,"","",V3.N(wat,wat,wat)) | |
2024 | Weld(screamPart,Torso) | |
2025 | end | |
2026 | ||
2027 | for i = 0, 8, 0.1 do | |
2028 | swait() | |
2029 | AOEDamage(Torso.CFrame.p,20,{ | |
2030 | MinimumDamage=5, | |
2031 | MaximumDamage=10 | |
2032 | }) | |
2033 | local Alpha = .3 | |
2034 | 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) | |
2035 | 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) | |
2036 | 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) | |
2037 | 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) | |
2038 | 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) | |
2039 | 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) | |
2040 | end | |
2041 | wo:breakJoints() | |
2042 | wo:destroy() | |
2043 | WalkSpeed = oWS | |
2044 | Attack = false | |
2045 | NeutralAnims = true | |
2046 | end | |
2047 | ||
2048 | function MurderKnife() | |
2049 | local Sai = New("Model",Char,"Sai",{}) | |
2050 | local Handle = New("Part",Sai,"Handle",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-13.6449995, 31.3018703, 19.1356354, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2051 | local HW = New("Weld",Handle,'Weld',{Part0=RArm,Part1=Handle,C0=CF.N(0,-1,0)*CF.A(M.R(-90),0,0)}) | |
2052 | local HandPE = New('ParticleEmitter',Handle,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.3,0),Texture='rbxasset://textures/particles/sparkles_main.dds',LockedToPart=true,EmissionDirection='Top',Enabled=true,Lifetime=NumberRange.new(.3),Rate=50,Speed=NumberRange.new(5)}) | |
2053 | local Extendo = New("Part",Sai,"Extendo",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-13.6450005, 32.2849998, 18.6353073, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2054 | local ExtenPE = New('ParticleEmitter',Extendo,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.2,0),Texture='rbxasset://textures/particles/sparkles_main.dds',LockedToPart=true,EmissionDirection='Top',Enabled=true,Lifetime=NumberRange.new(.2),Rate=75,Speed=NumberRange.new(5)}) | |
2055 | local mot = New("Motor",Extendo,"mot",{Part0 = Extendo,Part1 = Handle,C1 = CFrame.new(-9.53674316e-07, 0.983129501, -0.500328064, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
2056 | local Extendo = New("Part",Sai,"Extendo",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-13.6450005, 32.2849998, 19.6353073, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2057 | local ExtenPE = New('ParticleEmitter',Extendo,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.2,0),Texture='rbxasset://textures/particles/sparkles_main.dds',LockedToPart=true,EmissionDirection='Top',Enabled=true,Lifetime=NumberRange.new(.2),Rate=75,Speed=NumberRange.new(5)}) | |
2058 | local mot = New("Motor",Extendo,"mot",{Part0 = Extendo,Part1 = Handle,C1 = CFrame.new(-9.53674316e-07, 0.983129501, 0.499671936, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
2059 | local BladenShit = New("Part",Sai,"BladenShit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-13.6450005, 32.2849274, 19.1353073, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2060 | local BladePE = New('ParticleEmitter',BladenShit,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.3,0),Texture='rbxasset://textures/particles/smoke_main.dds',LockedToPart=true,EmissionDirection='Top',Enabled=true,Lifetime=NumberRange.new(.5),Rate=75,Speed=NumberRange.new(5)}) | |
2061 | local HanB1PE = New('ParticleEmitter',BladenShit,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.3,0),Texture='rbxasset://textures/particles/sparkles_main.dds',LockedToPart=true,EmissionDirection='Front',Enabled=true,Lifetime=NumberRange.new(.25),Rate=50,Speed=NumberRange.new(5)}) | |
2062 | local HanB2PE = New('ParticleEmitter',BladenShit,'ParticleEmitter',{Color=ColorSequence.new(C3.N(1,0,0)),LightEmission=.25,LightInfluence=25,Size=NumberSequence.new(.3,0),Texture='rbxasset://textures/particles/sparkles_main.dds',LockedToPart=true,EmissionDirection='Back',Enabled=true,Lifetime=NumberRange.new(.25),Rate=50,Speed=NumberRange.new(5)}) | |
2063 | local mot = New("Motor",BladenShit,"mot",{Part0 = BladenShit,Part1 = Handle,C1 = CFrame.new(-9.53674316e-07, 0.983057022, -0.000328063965, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
2064 | local Hitbox = New("Part",Sai,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 1.74999952, 0.340000063),CFrame = CFrame.new(-13.6450005, 33.2651939, 19.1278477, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) | |
2065 | local mot = New("Motor",Hitbox,"mot",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(-9.53674316e-07, 1.96332359, -0.00778770447, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
2066 | ||
2067 | return HW,Sai | |
2068 | end | |
2069 | ||
2070 | ||
2071 | ||
2072 | function MurderNigger(target) | |
2073 | if(target)then | |
2074 | local torso = GetTorso(target) | |
2075 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2076 | local hed = target:FindFirstChild'Head' | |
2077 | if(torso and hum and hum.Health > 0 and hed)then | |
2078 | local oWS = WalkSpeed | |
2079 | local oPar = target.Parent | |
2080 | local originalpos = Root.CFrame | |
2081 | WalkSpeed = 0 | |
2082 | Hum.JumpPower = 0 | |
2083 | Attack = true | |
2084 | NeutralAnims = false | |
2085 | Root.Anchored = true | |
2086 | torso.Anchored = true | |
2087 | target.Parent = Char | |
2088 | Hum.AutoRotate = false | |
2089 | for i = 0, 9 do | |
2090 | NoobySphere(3,.25,'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(1,1,10),-.01,Core2.BrickColor) | |
2091 | end | |
2092 | for i = 1, 24 do | |
2093 | NoobyBlock(1,M.RNG(4,8),'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(3,3,3),.06,Core2.BrickColor,0) | |
2094 | end | |
2095 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(),.25,Core2.BrickColor) | |
2096 | Root.CFrame = torso.CFrame*CF.N(0, 0, 1.89) | |
2097 | for i = 0, 9 do | |
2098 | NoobySphere(3,.25,'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(1,1,10),-.01,Core2.BrickColor) | |
2099 | end | |
2100 | for i = 1, 24 do | |
2101 | NoobyBlock(1,M.RNG(4,8),'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(3,3,3),.06,Core2.BrickColor,0) | |
2102 | end | |
2103 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(),.25,Core2.BrickColor) | |
2104 | ||
2105 | local HW,knife = MurderKnife() | |
2106 | --847061203 | |
2107 | Sound(Core2,847061203,1,2.5,false,true,true) | |
2108 | for i = 0, 3, 0.1 do | |
2109 | swait() | |
2110 | local Alpha = .2 | |
2111 | RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha) | |
2112 | LH.C0 = LH.C0:lerp(CFrame.new(-0.496665925, -0.990936279, 0.00762737356, 1, -3.37450885e-08, 2.21652698e-07, 3.37455646e-08, 1, -2.1504236e-06, -2.21652627e-07, 2.1504236e-06, 1),Alpha) | |
2113 | RH.C0 = RH.C0:lerp(CFrame.new(0.498333007, -0.991060257, 0.0170113072, 1, -3.37450885e-08, 2.21652698e-07, 3.37455646e-08, 1, -2.1504236e-06, -2.21652627e-07, 2.1504236e-06, 1),Alpha) | |
2114 | LS.C0 = LS.C0:lerp(CFrame.new(-1.28516543, 0.724190474, -0.474189818, 0.972499251, 0.184650362, -0.141949132, -0.134552032, -0.0520570427, -0.989538252, -0.190108046, 0.981424689, -0.0257803537),Alpha) | |
2115 | RS.C0 = RS.C0:lerp(CFrame.new(1.14291549, 0.806114435, 0.620829105, 0.806192696, 0.353628874, 0.474341691, 0.13779296, -0.891899109, 0.430730879, 0.575383842, -0.281891108, -0.767770052),Alpha) | |
2116 | NK.C0 = NK.C0:lerp(CFrame.new(8.77380371e-05, 1.49900436, -0.00497436523, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha) | |
2117 | HW.C0 = clerp(HW.C0,CFrame.new(-0.142453238, -1.03396463, -0.198824421, -0.998497248, 0.0548028648, 8.5413456e-05, 7.66813755e-05, -0.000161617994, 1, 0.0548028946, 0.998497188, 0.000157207251),Alpha) | |
2118 | end | |
2119 | Sound(torso,429400881,1.2,4,false,true,true) | |
2120 | target.Parent = oPar | |
2121 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2122 | if(hum)then | |
2123 | hum.Health=hum.Health-hum.MaxHealth/3 | |
2124 | end | |
2125 | for i = 0, 3, 0.1 do | |
2126 | swait() | |
2127 | local Alpha = .3 | |
2128 | RJ.C0 = RJ.C0:lerp(CFrame.new(-0.00238382886, 0.00628662109, -0.00060180336, 0.896098733, 0, -0.443854868, 0, 1, 0, 0.443854868, 0, 0.896098733),Alpha) | |
2129 | LH.C0 = LH.C0:lerp(CFrame.new(-0.496673644, -0.990932465, 0.00768280122, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),Alpha) | |
2130 | RH.C0 = RH.C0:lerp(CFrame.new(0.498329222, -0.991056442, 0.017009737, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),Alpha) | |
2131 | LS.C0 = LS.C0:lerp(CFrame.new(-1.17789793, 0.575393677, -0.0879677832, 0.584696472, 0.754816532, -0.297291398, -0.179923102, -0.236678019, -0.95478332, -0.791048646, 0.61174798, -0.00257586688),Alpha) | |
2132 | RS.C0 = RS.C0:lerp(CFrame.new(1.05549359, 0.484450161, -0.690232515, 0.71294421, 0.397806346, -0.577460706, -0.424427927, -0.410723001, -0.806949615, -0.558185995, 0.820400417, -0.123982459),Alpha) | |
2133 | NK.C0 = NK.C0:lerp(CFrame.new(0.000124273589, 1.49900436, -0.00493157003, 0.896098733, 0, 0.443854868, 0, 1, 0, -0.443854868, 0, 0.896098733),Alpha) | |
2134 | HW.C0 = clerp(HW.C0,CFrame.new(0.0260544084, -1.07189536, -0.570477843, -0.998497128, 0.0523602702, -0.0161807239, 7.93784857e-05, 0.29663223, 0.954991877, 0.054803364, 0.953555346, -0.29619059),Alpha) | |
2135 | end | |
2136 | for i = 0, 3, 0.1 do | |
2137 | swait() | |
2138 | local Alpha = .3 | |
2139 | RJ.C0 = RJ.C0:lerp(CFrame.new(-0.00238382886, 0.00628662109, -0.00060180336, 0.896098733, 0, -0.443854868, 0, 1, 0, 0.443854868, 0, 0.896098733),Alpha) | |
2140 | LH.C0 = LH.C0:lerp(CFrame.new(-0.496673644, -0.990932465, 0.00768280122, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),Alpha) | |
2141 | RH.C0 = RH.C0:lerp(CFrame.new(0.498329222, -0.991056442, 0.017009737, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),Alpha) | |
2142 | LS.C0 = LS.C0:lerp(CFrame.new(-1.17789793, 0.575393677, -0.0879677832, 0.584696472, 0.754816532, -0.297291398, -0.179923102, -0.236678019, -0.95478332, -0.791048646, 0.61174798, -0.00257586688),Alpha) | |
2143 | RS.C0 = RS.C0:lerp(CFrame.new(1.05549359, 0.484450161, -0.690232515, 0.71294421, 0.397806346, -0.577460706, -0.424427927, -0.410723001, -0.806949615, -0.558185995, 0.820400417, -0.123982459)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
2144 | NK.C0 = NK.C0:lerp(CFrame.new(0.000124273589, 1.49900436, -0.00493157003, 0.896098733, 0, 0.443854868, 0, 1, 0, -0.443854868, 0, 0.896098733),Alpha) | |
2145 | HW.C0 = clerp(HW.C0,CFrame.new(0.0260544084, -1.07189536, -0.570477843, -0.998497128, 0.0523602702, -0.0161807239, 7.93784857e-05, 0.29663223, 0.954991877, 0.054803364, 0.953555346, -0.29619059),Alpha) | |
2146 | end | |
2147 | Sound(torso,429400881,.7,4,false,true,true) | |
2148 | if(hum)then | |
2149 | hum.Health=hum.Health-hum.MaxHealth/3 | |
2150 | end | |
2151 | coroutine.wrap(function() | |
2152 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2153 | if(hum)then | |
2154 | repeat swait() | |
2155 | hum.Health=hum.Health-.5 | |
2156 | until hum.Health <= 1 | |
2157 | Kill(target) | |
2158 | knife:destroy() | |
2159 | end | |
2160 | end)() | |
2161 | for i = 0, 3, 0.1 do | |
2162 | swait() | |
2163 | local Alpha = .3 | |
2164 | RJ.C0 = RJ.C0:lerp(CFrame.new(0.000169749488, 0.00628662109, -6.61667073e-05, 0.999548376, 0, 0.0300540105, 0, 1, 0, -0.0300540105, 0, 0.999548376),Alpha) | |
2165 | LH.C0 = LH.C0:lerp(CFrame.new(-0.444387794, -0.990932465, -0.227554411, 0.882354379, 0, -0.470585763, 0, 1, 0, 0.470585763, 0, 0.882354379),Alpha) | |
2166 | RH.C0 = RH.C0:lerp(CFrame.new(0.495574117, -0.991056442, 0.0314709544, 0.97812444, 0, -0.208021611, 0, 1, 0, 0.208021611, 0, 0.97812444),Alpha) | |
2167 | LS.C0 = LS.C0:lerp(CFrame.new(-1.00046349, 0.575390875, -0.63252908, 0.888165712, 0.3781358, -0.261104196, -0.179923102, -0.236678019, -0.95478332, -0.42283538, 0.894984365, -0.142173931),Alpha) | |
2168 | RS.C0 = RS.C0:lerp(CFrame.new(1.35260987, 0.74367249, -0.148820311, 0.373968333, 0.469723582, -0.799692273, -0.757211864, -0.343237787, -0.555714011, -0.53551662, 0.813355863, 0.227320194),Alpha) | |
2169 | NK.C0 = NK.C0:lerp(CFrame.new(-0.000104449631, 1.49900436, -0.00490342593, 0.999548376, 0, -0.0300540105, 0, 1, 0, 0.0300540105, 0, 0.999548376),Alpha) | |
2170 | HW.C0 = clerp(HW.C0,CFrame.new(-0.315003902, -0.881822228, -0.534994423, -0.905889809, 0.289212197, -0.309386551, -0.423450023, -0.631175756, 0.649851799, -0.00733225048, 0.719703913, 0.694242597),Alpha) | |
2171 | end | |
2172 | ||
2173 | ||
2174 | HW.Part0 = target:FindFirstChild'Head' | |
2175 | HW.C0 = CFrame.new(0.976348281, 0.254784644, 0.639342666, -0.527396142, -0.778684974, -0.339857459, 0.83536917, -0.402301013, -0.374582857, 0.154957026, -0.481460005, 0.862661362) | |
2176 | delay(2, function() | |
2177 | Kill(target) | |
2178 | knife:destroy() | |
2179 | end) | |
2180 | WalkSpeed = oWS | |
2181 | Hum.JumpPower = 50 | |
2182 | Hum.AutoRotate = true | |
2183 | Root.CFrame = originalpos | |
2184 | Sound(Core2,847061203,1,2.5,false,true,true) | |
2185 | for i = 0, 9 do | |
2186 | NoobySphere(3,.25,'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(1,1,10),-.01,Core2.BrickColor) | |
2187 | end | |
2188 | for i = 1, 24 do | |
2189 | NoobyBlock(1,M.RNG(4,8),'Multiply',Root.CFrame*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(3,3,3),.06,Core2.BrickColor,0) | |
2190 | end | |
2191 | NoobySphere2(3,'Multiply',Root.CFrame,V3.N(),.25,Core2.BrickColor) | |
2192 | ||
2193 | Root.Anchored = false | |
2194 | torso.Anchored = false | |
2195 | Attack = false | |
2196 | NeutralAnims = true | |
2197 | end | |
2198 | end | |
2199 | end | |
2200 | ||
2201 | function MobileMurder() | |
2202 | Attack = true | |
2203 | local oWS = WalkSpeed | |
2204 | WalkSpeed = 0 | |
2205 | local what; | |
2206 | what = Mouse.Button1Down:connect(function() | |
2207 | what:disconnect(); | |
2208 | local target = (Mouse.Target and Mouse.Target.Parent) | |
2209 | if(target)then | |
2210 | local torso = GetTorso(target) | |
2211 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2212 | local hed = target:FindFirstChild'Head' | |
2213 | if(torso and hum and hum.Health > 0 and hed)then | |
2214 | WalkSpeed = oWS | |
2215 | MurderNigger(target) | |
2216 | else | |
2217 | WalkSpeed = oWS | |
2218 | Attack = false | |
2219 | end | |
2220 | else | |
2221 | WalkSpeed = oWS | |
2222 | Attack = false | |
2223 | end | |
2224 | end) | |
2225 | end | |
2226 | ||
2227 | ||
2228 | function NeckSnap(target) | |
2229 | if(target)then | |
2230 | local torso = GetTorso(target) | |
2231 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2232 | local hed = target:FindFirstChild'Head' | |
2233 | if(torso and hum and hum.Health > 0 and hed)then | |
2234 | local oWS = WalkSpeed | |
2235 | local oPar = target.Parent | |
2236 | local originalpos = Root.CFrame | |
2237 | WalkSpeed = 0 | |
2238 | Hum.JumpPower = 0 | |
2239 | Attack = true | |
2240 | NeutralAnims = false | |
2241 | Root.Anchored = true | |
2242 | torso.Anchored = true | |
2243 | target.Parent = Char | |
2244 | Hum.AutoRotate = false | |
2245 | Root.CFrame = torso.CFrame*CF.N(-0.54454422, 0, 0.987496376) | |
2246 | for _,v in next, torso:children() do | |
2247 | if(v:IsA'JointInstance' and (v.Part0 == hed or v.Part1 == hed))then | |
2248 | v:destroy() | |
2249 | end | |
2250 | end | |
2251 | hed:breakJoints() | |
2252 | local weld = NewInstance('Motor',torso,{Part0=hed,Part1=torso,C0=CF.N(0,-1.5,0)}) | |
2253 | for i = 0, 1, 0.1 do | |
2254 | swait() | |
2255 | local Alpha = .3 | |
2256 | 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) | |
2257 | 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) | |
2258 | 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) | |
2259 | 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) | |
2260 | 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) | |
2261 | 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) | |
2262 | end | |
2263 | Sound(hed,1093102664,1,5,false,true,true) | |
2264 | for i = 0, 1.3, 0.1 do | |
2265 | swait() | |
2266 | local Alpha = .3 | |
2267 | weld.C0 = weld.C0:lerp(CF.N(0,-1.5,0)*CF.A(0,M.R(-90),0),Alpha) | |
2268 | 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) | |
2269 | 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) | |
2270 | 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) | |
2271 | 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) | |
2272 | 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) | |
2273 | 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) | |
2274 | end | |
2275 | target.Parent = oPar | |
2276 | target:breakJoints() | |
2277 | WalkSpeed = oWS | |
2278 | Hum.JumpPower = 50 | |
2279 | Hum.AutoRotate = true | |
2280 | Root.Anchored = false | |
2281 | torso.Anchored = false | |
2282 | Attack = false | |
2283 | NeutralAnims = true | |
2284 | end | |
2285 | end | |
2286 | end | |
2287 | ||
2288 | function MobileNeckSnap() | |
2289 | Attack = true | |
2290 | local oWS = WalkSpeed | |
2291 | WalkSpeed = 0 | |
2292 | local what; | |
2293 | what = Mouse.Button1Down:connect(function() | |
2294 | what:disconnect(); | |
2295 | local target = (Mouse.Target and Mouse.Target.Parent) | |
2296 | if(target)then | |
2297 | local torso = GetTorso(target) | |
2298 | local hum = target:FindFirstChildOfClass'Humanoid' | |
2299 | local hed = target:FindFirstChild'Head' | |
2300 | if(torso and hum and hum.Health > 0 and hed)then | |
2301 | WalkSpeed = oWS | |
2302 | NeckSnap(target) | |
2303 | else | |
2304 | WalkSpeed = oWS | |
2305 | Attack = false | |
2306 | end | |
2307 | else | |
2308 | WalkSpeed = oWS | |
2309 | Attack = false | |
2310 | end | |
2311 | end) | |
2312 | end | |
2313 | ||
2314 | function SongSmash() | |
2315 | Attack = true | |
2316 | NeutralAnims = false | |
2317 | for i = 0, 3, 0.1 do | |
2318 | swait() | |
2319 | NoobySphere(5,.3,"Multiply",LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.1,.1,.1),0,Core2.Color,0,1088207) | |
2320 | NoobyBlock(2,.04,'Multiply',LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),.004,Core2.Color,0,true) | |
2321 | local Alpha = .1 | |
2322 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.001753752, 0.00628927909, -0.000408248976, 0.942081869, -0.00210913899, -0.335376531, 7.21194738e-07, 0.99998033, -0.00628671842, 0.335383177, 0.00592236174, 0.942063153),Alpha) | |
2323 | LH.C0 = clerp(LH.C0,CFrame.new(-0.496480286, -0.990816116, 0.0216198936, 0.9367311, 0, 0.350050032, -0.00220137485, 0.99998033, 0.00589086255, -0.350043088, -0.00628874451, 0.936712503),Alpha) | |
2324 | RH.C0 = clerp(RH.C0,CFrame.new(0.498543233, -0.990978837, 0.0154619068, 0.975587726, 0, -0.219610512, 0.00138107454, 0.99998033, 0.00613522204, 0.219606131, -0.00628874451, 0.975568414),Alpha) | |
2325 | LS.C0 = clerp(LS.C0,CFrame.new(-1.40567565, 0.408012271, -0.00104653835, 0.958351374, 0.285325468, -0.0123402029, 0.2337396, -0.758791327, 0.607948899, 0.164099574, -0.585512877, -0.793880343),Alpha) | |
2326 | RS.C0 = clerp(RS.C0,CFrame.new(1.42242038, 0.493699282, -0.0249331407, 0.987734318, -0.155363053, 0.0156076849, 0.155282006, 0.987850249, 0.0062857219, -0.0163946152, -0.00378503278, 0.999858558),Alpha) | |
2327 | NK.C0 = clerp(NK.C0,CFrame.new(1.16258161e-05, 1.49894369, -0.0144085325, 0.9367311, 0, 0.350050032, -0.00220137485, 0.99998033, 0.00589086255, -0.350043088, -0.00628874451, 0.936712503),Alpha) | |
2328 | end | |
2329 | local pl = GetClientProperty(Music,'PlaybackLoudness') | |
2330 | AOEDamage(Root.CFrame.p,110,{MinimumDamage=pl/15,MaximumDamage=pl/5}) | |
2331 | NoobySphere2(3,"Multiply",Root.CFrame*CF.N(0,-2.9,0),V3.N(110,0.1,110),0.01,Core2.Color) | |
2332 | for i = 1, 20 do | |
2333 | NoobySphere(3,0.5,"Multiply",Root.CFrame*CF.N(M.RNG(-42.5,42.5),-5,M.RNG(-42.5,42.5))*CF.A(M.R(90)+M.RRNG(-45,45),M.RRNG(-45,45),M.RRNG(-45,45)),V3.N(.5,.5,.5),0,Core2.Color,0,1088207) | |
2334 | NoobySphere(3,0.5,"Multiply",Root.CFrame*CF.N(M.RNG(-42.5,42.5),-5,M.RNG(-42.5,42.5))*CF.A(M.R(90)+M.RRNG(-45,45),M.RRNG(-45,45),M.RRNG(-45,45)),V3.N(.5,.5,.5),0,Core2.Color,0,1088207) | |
2335 | end | |
2336 | for i = 0, 3, 0.1 do | |
2337 | swait() | |
2338 | local Alpha = .4 | |
2339 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0056809783, -1.84688139, -0.363832742, 0.999853492, -0.0143729132, -0.00929748639, 0.0143199814, 0.40471217, 0.914332032, -0.00937880948, -0.914331198, 0.404858679),Alpha) | |
2340 | LH.C0 = clerp(LH.C0,CFrame.new(-0.498466104, -0.621809721, -0.107522458, 0.999878109, -0.00381839275, 0.0151433209, -9.67067026e-05, 0.968117595, 0.250496507, -0.0156170065, -0.25046742, 0.967999101),Alpha) | |
2341 | RH.C0 = clerp(RH.C0,CFrame.new(0.49715057, -0.612025738, -0.0758087933, 0.999878109, -0.00322529091, 0.0152806351, -9.67067026e-05, 0.977144957, 0.212574452, -0.0156170065, -0.212549999, 0.977025449),Alpha) | |
2342 | LS.C0 = clerp(LS.C0,CFrame.new(-1.46437562, 0.573429823, -0.135539591, 0.995870709, 0.090780057, 0.000750792213, -0.0041781459, 0.0540931821, -0.998527229, -0.090686962, 0.99440074, 0.054249078),Alpha) | |
2343 | RS.C0 = clerp(RS.C0,CFrame.new(1.46732497, 0.668299794, -0.164544582, 0.998940408, -0.0457421541, -0.00509791775, -0.000265741721, 0.105029136, -0.994469225, 0.0460245833, 0.993416667, 0.104905695),Alpha) | |
2344 | NK.C0 = clerp(NK.C0,CFrame.new(7.62883064e-06, 1.49891925, -0.0144104436, 1.00000012, -4.65661287e-10, 1.62981451e-09, 4.65661287e-10, 0.997964621, 0.0637715757, 6.98491931e-10, -0.0637715459, 0.997964621),Alpha) | |
2345 | end | |
2346 | Attack = false | |
2347 | NeutralAnims = true | |
2348 | end | |
2349 | ||
2350 | function AttackOne() | |
2351 | Attack = true | |
2352 | NeutralAnims = false | |
2353 | for i = 0, .7, 0.1 do | |
2354 | swait() | |
2355 | local Alpha = .3 | |
2356 | 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) | |
2357 | 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) | |
2358 | 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) | |
2359 | 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) | |
2360 | 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) | |
2361 | 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) | |
2362 | end | |
2363 | Sound(RArm,200632136,1.1,5,false,true,true) | |
2364 | for i = 0, .9, 0.1 do | |
2365 | swait() | |
2366 | local Alpha = .3 | |
2367 | AOEDamage(RArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2368 | 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) | |
2369 | 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) | |
2370 | 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) | |
2371 | 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) | |
2372 | 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) | |
2373 | 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) | |
2374 | end | |
2375 | Combo = 2 | |
2376 | Attack = false | |
2377 | NeutralAnims = true | |
2378 | end | |
2379 | ||
2380 | function AttackTwo() | |
2381 | Attack = true | |
2382 | NeutralAnims = false | |
2383 | for i = 0, 1, 0.1 do | |
2384 | swait() | |
2385 | local Alpha = .3 | |
2386 | 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) | |
2387 | 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) | |
2388 | 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) | |
2389 | 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) | |
2390 | 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) | |
2391 | 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) | |
2392 | end | |
2393 | Sound(LArm,200632136,.9,5,false,true,true) | |
2394 | for i = 0, 1, 0.1 do | |
2395 | swait() | |
2396 | local Alpha = .3 | |
2397 | AOEDamage(LArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30}) | |
2398 | 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) | |
2399 | 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) | |
2400 | 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) | |
2401 | 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) | |
2402 | 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) | |
2403 | 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) | |
2404 | end | |
2405 | Combo = 3 | |
2406 | Attack = false | |
2407 | NeutralAnims = true | |
2408 | end | |
2409 | ||
2410 | function AttackThree() | |
2411 | Attack = true | |
2412 | NeutralAnims = false | |
2413 | for i = 0, 1, 0.1 do | |
2414 | swait() | |
2415 | local Alpha = .3 | |
2416 | 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) | |
2417 | 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) | |
2418 | 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) | |
2419 | 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) | |
2420 | 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) | |
2421 | 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) | |
2422 | end | |
2423 | --for a = 1, 3 do | |
2424 | local a = 2 | |
2425 | coroutine.wrap(function() | |
2426 | for i = 5,45,10 do | |
2427 | local hite = Instance.new("Part",Char) | |
2428 | hite.Anchored = true | |
2429 | hite.CanCollide = false | |
2430 | hite.Material = "Neon" | |
2431 | hite.Size = V3.N(1, 1, 1) | |
2432 | hite.Transparency = 1 | |
2433 | hite.CFrame = (Root.CFrame + Root.CFrame.lookVector)*CF.A(0,M.R(90+(a*45)),0)*CF.N(0,0,i) | |
2434 | CamShakeAOE(hite.CFrame.p,10,30,250) | |
2435 | NoobySphere2(3,'Multiply',hite.CFrame,V3.N(0,0,0),.15,Core2.Color) | |
2436 | NoobySphere2(6,'Multiply',hite.CFrame,V3.N(0,0,0),.3,Core2.Color) | |
2437 | for i = 1, 2 do | |
2438 | 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) | |
2439 | end | |
2440 | for i = 1, 5 do | |
2441 | 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) | |
2442 | end | |
2443 | AOEDamage(hite.CFrame.p,10,{MinimumDamage=25,MaximumDamage=45}) | |
2444 | Sound(hite,183763506,1,5,false,true,true) | |
2445 | S.Debris:AddItem(hite,2) | |
2446 | swait() | |
2447 | end | |
2448 | end)() | |
2449 | --end | |
2450 | for i = 0, 1, 0.1 do | |
2451 | swait() | |
2452 | local Alpha = .3 | |
2453 | 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) | |
2454 | 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) | |
2455 | 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) | |
2456 | 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) | |
2457 | 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) | |
2458 | 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) | |
2459 | end | |
2460 | Combo = 1 | |
2461 | Attack = false | |
2462 | NeutralAnims = true | |
2463 | end | |
2464 | ||
2465 | ||
2466 | local WingSine = 0 | |
2467 | local WingChange = 1 | |
2468 | ||
2469 | function MurderMode() | |
2470 | Attack = true | |
2471 | NeutralAnims = false | |
2472 | local Sin = 0 | |
2473 | MusicID = 407749940 | |
2474 | Pitch = 1 | |
2475 | WalkSpeed = 0 | |
2476 | Sound(Core2,136007472,1.25,2.5,false,true,true) | |
2477 | for i = 0, 4, 0.1 do | |
2478 | swait() | |
2479 | 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) | |
2480 | Sin = Sin + 5 | |
2481 | local Alpha = .1 | |
2482 | 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) | |
2483 | 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) | |
2484 | 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) | |
2485 | 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) | |
2486 | 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) | |
2487 | 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) | |
2488 | end | |
2489 | for _,v in next, LWing:children() do | |
2490 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really red' end | |
2491 | end | |
2492 | for _,v in next, RWing:children() do | |
2493 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Really red' end | |
2494 | end | |
2495 | for _,v in next, LWingEXT:children() do | |
2496 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Really red' end | |
2497 | end | |
2498 | for _,v in next, RWingEXT:children() do | |
2499 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Really red' end | |
2500 | end | |
2501 | for _,v in next, Halo:children() do | |
2502 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Really red' end | |
2503 | end | |
2504 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,0,0) end) | |
2505 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,0,0) end) | |
2506 | WalkSpeed = 16 | |
2507 | Mode = 1 | |
2508 | Core2.BrickColor = BrickColor.new'Really red' | |
2509 | Core2.Material = Enum.Material.Neon | |
2510 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2511 | Sound(Root,"847061203",1,5,false,true,true) | |
2512 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2513 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2514 | RecolorTextAndRename("Murder",Color3.new(1,0,0),Color3.new(0,0,0)) | |
2515 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2516 | for i = 1, 24 do | |
2517 | 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) | |
2518 | end | |
2519 | for i = 0, 15 do | |
2520 | 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) | |
2521 | end | |
2522 | for i = 0, 1.4, 0.1 do | |
2523 | swait() | |
2524 | local Alpha = .3 | |
2525 | 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) | |
2526 | 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) | |
2527 | 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) | |
2528 | 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) | |
2529 | 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) | |
2530 | 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) | |
2531 | end | |
2532 | Attack = false | |
2533 | NeutralAnims = true | |
2534 | end | |
2535 | ||
2536 | function PureMode() | |
2537 | for _,v in next, LWing:children() do | |
2538 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2539 | end | |
2540 | for _,v in next, RWing:children() do | |
2541 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2542 | end | |
2543 | for _,v in next, LWingEXT:children() do | |
2544 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2545 | end | |
2546 | for _,v in next, RWingEXT:children() do | |
2547 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end | |
2548 | end | |
2549 | for _,v in next, Halo:children() do | |
2550 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pastel Blue' end | |
2551 | end | |
2552 | WalkSpeed = 16 | |
2553 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(0,1,1) end) | |
2554 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(0,1,1) end) | |
2555 | RecolorTextAndRename("Clarity",C3.N(1,1,1),BrickColor.new'Pastel Blue'.Color) | |
2556 | MusicID = 1539245059 | |
2557 | Pitch = 1 | |
2558 | Mode = 2 | |
2559 | Core2.BrickColor = BrickColor.new'Pastel Blue' | |
2560 | Core2.Material = Enum.Material.Neon | |
2561 | end | |
2562 | ||
2563 | function GlitchMode() | |
2564 | for _,v in next, LWing:children() do | |
2565 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 0 v.BrickColor = BrickColor.new'White' end | |
2566 | end | |
2567 | for _,v in next, RWing:children() do | |
2568 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2569 | end | |
2570 | for _,v in next, LWingEXT:children() do | |
2571 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2572 | end | |
2573 | for _,v in next, RWingEXT:children() do | |
2574 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end | |
2575 | end | |
2576 | for _,v in next, Halo:children() do | |
2577 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'White' end | |
2578 | end | |
2579 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2580 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2581 | WalkSpeed = 16 | |
2582 | RecolorTextAndRename("Glitchy",C3.N(1,1,1),C3.N(1,1,1)) | |
2583 | MusicID = 1470848774 | |
2584 | Pitch = .93 | |
2585 | Mode = 3 | |
2586 | Core2.BrickColor = BrickColor.new'Dark stone grey' | |
2587 | Core2.Material = Enum.Material.DiamondPlate | |
2588 | end | |
2589 | ||
2590 | function StressMode() | |
2591 | for _,v in next, LWing:children() do | |
2592 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .25 v.BrickColor = BrickColor.new'Crimson' end | |
2593 | end | |
2594 | for _,v in next, RWing:children() do | |
2595 | 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 | |
2596 | end | |
2597 | for _,v in next, LWingEXT:children() do | |
2598 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2599 | end | |
2600 | for _,v in next, RWingEXT:children() do | |
2601 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end | |
2602 | end | |
2603 | for _,v in next, Halo:children() do | |
2604 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Crimson' end | |
2605 | end | |
2606 | WalkSpeed = 14 | |
2607 | RecolorTextAndRename("Stress",C3.N(.6,0,0),C3.N(0,0,0)) | |
2608 | MusicID = 614032233 | |
2609 | Pitch = 1 | |
2610 | Mode = 4 | |
2611 | Core2.BrickColor = BrickColor.new'Really red' | |
2612 | Core2.Material = Enum.Material.Neon | |
2613 | end | |
2614 | ||
2615 | function JusticeMode() | |
2616 | for _,v in next, LWing:children() do | |
2617 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2618 | end | |
2619 | for _,v in next, RWing:children() do | |
2620 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2621 | end | |
2622 | for _,v in next, LWingEXT:children() do | |
2623 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2624 | end | |
2625 | for _,v in next, RWingEXT:children() do | |
2626 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2627 | end | |
2628 | for _,v in next, Halo:children() do | |
2629 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Institutional white' end | |
2630 | end | |
2631 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2632 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2633 | WalkSpeed = 50 | |
2634 | RecolorTextAndRename("Justice",C3.N(1,1,1),C3.N(0,0,0)) | |
2635 | MusicID = 1102271169 | |
2636 | Pitch = 1 | |
2637 | Mode = 5 | |
2638 | Core2.BrickColor = BrickColor.new'White' | |
2639 | Core2.Material = Enum.Material.Neon | |
2640 | end | |
2641 | ||
2642 | function IceMode() | |
2643 | for _,v in next, LWing:children() do | |
2644 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel light blue' end | |
2645 | end | |
2646 | for _,v in next, RWing:children() do | |
2647 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel light blue' end | |
2648 | end | |
2649 | for _,v in next, LWingEXT:children() do | |
2650 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel light blue' end | |
2651 | end | |
2652 | for _,v in next, RWingEXT:children() do | |
2653 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel light blue' end | |
2654 | end | |
2655 | for _,v in next, Halo:children() do | |
2656 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pastel light blue' end | |
2657 | end | |
2658 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(0,1,1) end) | |
2659 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(0,1,1) end) | |
2660 | WalkSpeed = 8 | |
2661 | RecolorTextAndRename("SubZero",C3.N(0,1,1),C3.N(1,1,1)) | |
2662 | MusicID = 144121562 | |
2663 | Pitch = 1 | |
2664 | Mode = 7 | |
2665 | Core2.BrickColor = BrickColor.new'Pastel light blue' | |
2666 | Core2.Material = Enum.Material.Neon | |
2667 | end | |
2668 | ||
2669 | function LoveMode() | |
2670 | for _,v in next, LWing:children() do | |
2671 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pink' end | |
2672 | end | |
2673 | for _,v in next, RWing:children() do | |
2674 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pink' end | |
2675 | end | |
2676 | for _,v in next, LWingEXT:children() do | |
2677 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pink' end | |
2678 | end | |
2679 | for _,v in next, RWingEXT:children() do | |
2680 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pink' end | |
2681 | end | |
2682 | for _,v in next, Halo:children() do | |
2683 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pink' end | |
2684 | end | |
2685 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Pink'.Color end) | |
2686 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Pink'.Color end) | |
2687 | WalkSpeed = 16 | |
2688 | RecolorTextAndRename("Love",BrickColor.new'Pink'.Color,C3.N(1,1,1)) | |
2689 | MusicID = 1030177093 | |
2690 | Pitch = 1 | |
2691 | Mode = 8 | |
2692 | Core2.BrickColor = BrickColor.new'Pink' | |
2693 | Core2.Material = Enum.Material.Neon | |
2694 | end | |
2695 | ||
2696 | ||
2697 | ||
2698 | function VisMode() | |
2699 | for _,v in next, LWing:children() do | |
2700 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2701 | end | |
2702 | for _,v in next, RWing:children() do | |
2703 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end | |
2704 | end | |
2705 | for _,v in next, LWingEXT:children() do | |
2706 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2707 | end | |
2708 | for _,v in next, RWingEXT:children() do | |
2709 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end | |
2710 | end | |
2711 | for _,v in next, Halo:children() do | |
2712 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Institutional white' end | |
2713 | end | |
2714 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end) | |
2715 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end) | |
2716 | WalkSpeed = 16 | |
2717 | RecolorTextAndRename("Visualiser",C3.N(1,1,1),C3.N(0,0,0)) | |
2718 | MusicID = VisSong | |
2719 | Pitch = 1 | |
2720 | Mode = 6 | |
2721 | Core2.BrickColor = BrickColor.new'White' | |
2722 | Core2.Material = Enum.Material.Neon | |
2723 | end | |
2724 | ||
2725 | function ToxicMode() | |
2726 | for _,v in next, LWing:children() do | |
2727 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Lime green' end | |
2728 | end | |
2729 | for _,v in next, RWing:children() do | |
2730 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .85 v.BrickColor = BrickColor.new'Forest green' end | |
2731 | end | |
2732 | for _,v in next, LWingEXT:children() do | |
2733 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .75 v.BrickColor = BrickColor.new'Forest green' end | |
2734 | end | |
2735 | for _,v in next, RWingEXT:children() do | |
2736 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Forest green' end | |
2737 | end | |
2738 | for _,v in next, Halo:children() do | |
2739 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Lime green' end | |
2740 | end | |
2741 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Lime green'.Color end) | |
2742 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Lime green'.Color end) | |
2743 | WalkSpeed = 14 | |
2744 | RecolorTextAndRename("Nuclear",BrickColor.new'Lime green'.Color,C3.N(0,.6,0)) | |
2745 | MusicID = 798163149 | |
2746 | Pitch = 1 | |
2747 | Mode = 9 | |
2748 | Core2.BrickColor = BrickColor.new'Lime green' | |
2749 | Core2.Material = Enum.Material.Neon | |
2750 | end | |
2751 | ||
2752 | function BarracudaMode() | |
2753 | for _,v in next, LWing:children() do | |
2754 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'New Yeller' end | |
2755 | end | |
2756 | for _,v in next, RWing:children() do | |
2757 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'New Yeller' end | |
2758 | end | |
2759 | for _,v in next, LWingEXT:children() do | |
2760 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'New Yeller' end | |
2761 | end | |
2762 | for _,v in next, RWingEXT:children() do | |
2763 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'New Yeller' end | |
2764 | end | |
2765 | for _,v in next, Halo:children() do | |
2766 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'New Yeller' end | |
2767 | end | |
2768 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Lime green'.Color end) | |
2769 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Lime green'.Color end) | |
2770 | WalkSpeed = 24 | |
2771 | RecolorTextAndRename("Ancient",BrickColor.new'New Yeller'.Color,C3.N(1,1,1)) | |
2772 | MusicID = 256251217 | |
2773 | Pitch = 1 | |
2774 | Mode = 16 | |
2775 | Core2.BrickColor = BrickColor.new'New Yeller' | |
2776 | Core2.Material = Enum.Material.Neon | |
2777 | end | |
2778 | ||
2779 | function FluctuateMode() | |
2780 | for _,v in next, LWing:children() do | |
2781 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Alder' end | |
2782 | end | |
2783 | for _,v in next, RWing:children() do | |
2784 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Alder' end | |
2785 | end | |
2786 | for _,v in next, LWingEXT:children() do | |
2787 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Alder' end | |
2788 | end | |
2789 | for _,v in next, RWingEXT:children() do | |
2790 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Alder' end | |
2791 | end | |
2792 | for _,v in next, Halo:children() do | |
2793 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Alder' end | |
2794 | end | |
2795 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Alder'.Color end) | |
2796 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Alder'.Color end) | |
2797 | WalkSpeed = 18 | |
2798 | RecolorTextAndRename("FLUCTUATION",BrickColor.new'Alder'.Color,C3.N(1,1,1)) | |
2799 | MusicID = 1047567668 | |
2800 | Pitch = 1 | |
2801 | Mode = 10 | |
2802 | Core2.BrickColor = BrickColor.new'Alder' | |
2803 | Core2.Material = Enum.Material.Neon | |
2804 | end | |
2805 | ||
2806 | function InsaneMode() | |
2807 | Attack = true | |
2808 | NeutralAnims = false | |
2809 | local Sin = 0 | |
2810 | MusicID = 919231299 | |
2811 | Pitch = 1 | |
2812 | WalkSpeed = 0 | |
2813 | Sound(Core2,136007472,1.25,2.5,false,true,true) | |
2814 | for i = 0, 4, 0.1 do | |
2815 | swait() | |
2816 | 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) | |
2817 | Sin = Sin + 5 | |
2818 | local Alpha = .1 | |
2819 | 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) | |
2820 | 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) | |
2821 | 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) | |
2822 | 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) | |
2823 | 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) | |
2824 | 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) | |
2825 | end | |
2826 | for i = 0, 8, 0.1 do | |
2827 | swait() | |
2828 | 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) | |
2829 | 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,0) | |
2830 | Sin = Sin + 5 | |
2831 | local Alpha = .1 | |
2832 | 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) | |
2833 | 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) | |
2834 | 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) | |
2835 | 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) | |
2836 | 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) | |
2837 | 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) | |
2838 | end | |
2839 | for _,v in next, LWing:children() do | |
2840 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2841 | end | |
2842 | for _,v in next, RWing:children() do | |
2843 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Black' end | |
2844 | end | |
2845 | for _,v in next, LWingEXT:children() do | |
2846 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end | |
2847 | end | |
2848 | for _,v in next, RWingEXT:children() do | |
2849 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Black' end | |
2850 | end | |
2851 | for _,v in next, Halo:children() do | |
2852 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Black' end | |
2853 | end | |
2854 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,0,0) end) | |
2855 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,0,0) end) | |
2856 | WalkSpeed = 12 | |
2857 | Mode = 696969 | |
2858 | Core2.BrickColor = BrickColor.new'Black' | |
2859 | Core2.Material = Enum.Material.Neon | |
2860 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2861 | Sound(Root,"847061203",1,5,false,true,true) | |
2862 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2863 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2864 | RecolorTextAndRename("INSANITY",Color3.new(0,0,0),Color3.new(1,1,1)) | |
2865 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2866 | for i = 1, 24 do | |
2867 | 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) | |
2868 | end | |
2869 | for i = 0, 15 do | |
2870 | 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) | |
2871 | end | |
2872 | for i = 0, 1.4, 0.1 do | |
2873 | swait() | |
2874 | local Alpha = .3 | |
2875 | 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) | |
2876 | 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) | |
2877 | 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) | |
2878 | 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) | |
2879 | 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) | |
2880 | 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) | |
2881 | end | |
2882 | Attack = false | |
2883 | NeutralAnims = true | |
2884 | end | |
2885 | ||
2886 | function RiddleMeThis() | |
2887 | Attack = true | |
2888 | NeutralAnims = false | |
2889 | WalkSpeed = 0 | |
2890 | MusicID = 1420353940 | |
2891 | Pitch = 1 | |
2892 | Muted = true | |
2893 | repeat swait() until Music.IsLoaded | |
2894 | Muted = false | |
2895 | Music.TimePosition = 0 | |
2896 | Chat('Riddle me this..') | |
2897 | for i = 0,14,.1 do | |
2898 | local Alpha = .1 | |
2899 | 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) | |
2900 | 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) | |
2901 | 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) | |
2902 | 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) | |
2903 | 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) | |
2904 | 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) | |
2905 | swait() | |
2906 | end | |
2907 | Chat('Riddle me that..') | |
2908 | for i = 0,12,.1 do | |
2909 | local Alpha = .1 | |
2910 | 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) | |
2911 | 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) | |
2912 | 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) | |
2913 | 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) | |
2914 | 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) | |
2915 | 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) | |
2916 | swait() | |
2917 | end | |
2918 | Chat("Who's afraid of the big black..") | |
2919 | for i = 0,16,.1 do | |
2920 | local Alpha = .1 | |
2921 | 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) | |
2922 | 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) | |
2923 | 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) | |
2924 | 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) | |
2925 | 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) | |
2926 | 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) | |
2927 | swait() | |
2928 | end | |
2929 | for i = 0, .7, 0.1 do | |
2930 | swait() | |
2931 | local Alpha = .3 | |
2932 | 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) | |
2933 | 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) | |
2934 | 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) | |
2935 | 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) | |
2936 | 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) | |
2937 | 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) | |
2938 | end | |
2939 | ||
2940 | for _,v in next, LWing:children() do | |
2941 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2942 | end | |
2943 | for _,v in next, RWing:children() do | |
2944 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end | |
2945 | end | |
2946 | for _,v in next, LWingEXT:children() do | |
2947 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = .25 v.BrickColor = BrickColor.new'Medium stone grey' end | |
2948 | end | |
2949 | for _,v in next, RWingEXT:children() do | |
2950 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = .25 v.BrickColor = BrickColor.new'Medium stone grey' end | |
2951 | end | |
2952 | for _,v in next, Halo:children() do | |
2953 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.BrickColor = BrickColor.new'Really black' end | |
2954 | end | |
2955 | pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Black'.Color end) | |
2956 | pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Black'.Color end) | |
2957 | WalkSpeed = 50 | |
2958 | RecolorTextAndRename("The Big Black",BrickColor.new'Really black'.Color,C3.N(1,1,1)) | |
2959 | Core2.BrickColor = BrickColor.new'Really black' | |
2960 | Core2.Material = Enum.Material.Glass | |
2961 | Mode = 666666666666 | |
2962 | Sound(Root,"206082327",1,2.5,false,true,true) | |
2963 | Sound(Root,"847061203",1,5,false,true,true) | |
2964 | Sound(Root,"239000203",1,2.5,false,true,true) | |
2965 | Sound(Root,"579687077",.75,2.5,false,true,true) | |
2966 | NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor) | |
2967 | for i = 1, 24 do | |
2968 | 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) | |
2969 | end | |
2970 | for i = 0, 15 do | |
2971 | 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) | |
2972 | end | |
2973 | for i = 0, .7, 0.1 do | |
2974 | swait() | |
2975 | local Alpha = .3 | |
2976 | 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) | |
2977 | 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) | |
2978 | 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) | |
2979 | 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) | |
2980 | 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) | |
2981 | 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) | |
2982 | end | |
2983 | Attack = false | |
2984 | NeutralAnims = true | |
2985 | end | |
2986 | ||
2987 | function L_O_S_T() | |
2988 | for _,v in next, LWing:children() do | |
2989 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end | |
2990 | end | |
2991 | for _,v in next, RWing:children() do | |
2992 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end | |
2993 | end | |
2994 | for _,v in next, LWingEXT:children() do | |
2995 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end | |
2996 | end | |
2997 | for _,v in next, RWingEXT:children() do | |
2998 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end | |
2999 | end | |
3000 | for _,v in next, Halo:children() do | |
3001 | if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Color = C3.N(.4,0,0) end | |
3002 | end | |
3003 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(.4,0,0) end) | |
3004 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(.4,0,0) end) | |
3005 | WalkSpeed = 24 | |
3006 | RecolorTextAndRename("L O S T S O U L",BrickColor.new'Crimson'.Color,C3.N(0,0,0)) | |
3007 | MusicID = 343860759 | |
3008 | Pitch = .9 | |
3009 | Mode = 666 | |
3010 | Core2.Color = C3.N(.4,0,0) | |
3011 | Core2.Material = Enum.Material.Neon | |
3012 | end | |
3013 | ||
3014 | --// Wrap it all up \\-- | |
3015 | ||
3016 | Plr.Chatted:connect(function(msg) | |
3017 | if(msg:sub(1,5) == "play/" and Mode == 6)then | |
3018 | local info = game.MarketplaceService:GetProductInfo(tonumber(msg:sub(6))) | |
3019 | if(info and info.Name)then | |
3020 | Chat("Playing: "..info.Name,'rainbow') | |
3021 | end | |
3022 | MusicID = msg:sub(6) | |
3023 | VisSong = msg:sub(6) | |
3024 | elseif(msg:sub(1,5) == 'tpos/' and Mode == 6)then | |
3025 | Music.TimePosition = tonumber(msg:sub(6)) | |
3026 | end | |
3027 | end) | |
3028 | ||
3029 | function KeyPress(code) | |
3030 | if(code == Enum.KeyCode.One and Mode ~= 1)then | |
3031 | MurderMode() | |
3032 | elseif(code == Enum.KeyCode.Two and Mode ~= 2)then | |
3033 | PureMode() | |
3034 | elseif(code == Enum.KeyCode.Three and Mode ~= 3)then | |
3035 | GlitchMode() | |
3036 | elseif(code == Enum.KeyCode.Four and Mode ~= 4)then | |
3037 | StressMode() | |
3038 | elseif(code == Enum.KeyCode.Five and Mode ~= 5)then | |
3039 | JusticeMode() | |
3040 | elseif(code == Enum.KeyCode.Six and Mode ~= 6)then | |
3041 | VisMode() | |
3042 | elseif(code == Enum.KeyCode.Seven and Mode ~= 7)then | |
3043 | IceMode() | |
3044 | elseif(code == Enum.KeyCode.Eight and Mode ~= 8)then | |
3045 | LoveMode() | |
3046 | elseif(code == Enum.KeyCode.Nine and Mode ~= 9)then | |
3047 | ToxicMode() | |
3048 | elseif(code == Enum.KeyCode.Zero and Mode ~= 10)then | |
3049 | FluctuateMode() | |
3050 | -- Transformations | |
3051 | elseif(code == Enum.KeyCode.T)then | |
3052 | if(Mode == 1)then | |
3053 | RiddleMeThis() | |
3054 | elseif(Mode == 4)then | |
3055 | InsaneMode() | |
3056 | elseif(Mode == 666666666666)then | |
3057 | L_O_S_T() | |
3058 | elseif(Mode == 666)then | |
3059 | MurderMode() | |
3060 | elseif(Mode == 696969)then | |
3061 | StressMode() | |
3062 | elseif(Mode == 10)then | |
3063 | BarracudaMode() | |
3064 | end | |
3065 | -- Toggle player attacking | |
3066 | elseif(code == Enum.KeyCode.Semicolon)then | |
3067 | DontAttackPlayers = not DontAttackPlayers | |
3068 | Chat(DontAttackPlayers and "You can no longer attack players" or "You can now attack players") | |
3069 | -- Attacks | |
3070 | elseif(code == Enum.KeyCode.Z)then | |
3071 | if(Mode == 1)then | |
3072 | if(not UIS.TouchEnabled)then MurderNigger((Mouse.Target and Mouse.Target.Parent)) else Output("Note","Tap someone, to murder them") MobileMurder() end | |
3073 | elseif(Mode == 666666666666)then | |
3074 | if(not UIS.TouchEnabled)then NeckSnap((Mouse.Target and Mouse.Target.Parent)) else Output("Note","Tap someone, to snap their neck") MobileNeckSnap() end | |
3075 | ||
3076 | elseif(Mode == 2)then | |
3077 | PureBomb() | |
3078 | elseif(Mode == 3)then | |
3079 | ClickGlitch() | |
3080 | elseif(Mode == 4)then | |
3081 | Shrek() | |
3082 | elseif(Mode == 5)then | |
3083 | Aeroplane() | |
3084 | elseif(Mode == 6)then | |
3085 | SongSmash() | |
3086 | end | |
3087 | end | |
3088 | end | |
3089 | ||
3090 | function AttackCombo() | |
3091 | if(Combo == 1)then AttackOne() elseif(Combo == 2)then AttackTwo() elseif(Combo == 3)then AttackThree() end | |
3092 | end | |
3093 | ||
3094 | -- Mode Changing Keys | |
3095 | ||
3096 | function BuildButton(name,pos,act,image) | |
3097 | if(UIS.TouchEnabled)then | |
3098 | local func = function() | |
3099 | if(not Attack)then | |
3100 | act() | |
3101 | end | |
3102 | end | |
3103 | local downID = 97166756; | |
3104 | local upID = 97166444; | |
3105 | local bPos = UDim2.new(.72,-pos.x,.20,-pos.y) | |
3106 | ||
3107 | local button = MobileButton:Clone(); | |
3108 | button.Parent = MobileGUI | |
3109 | button.ActionTitle.Text = name | |
3110 | button.MouseButton1Down:connect(function() | |
3111 | button.Image = 'rbxassetid://'..downID | |
3112 | func() | |
3113 | end) | |
3114 | button.MouseButton1Up:connect(function() | |
3115 | button.Image = 'rbxassetid://'..upID | |
3116 | end) | |
3117 | button.MouseLeave:connect(function() | |
3118 | button.Image = 'rbxassetid://'..upID | |
3119 | end) | |
3120 | button.Position = bPos | |
3121 | if(image)then | |
3122 | button.ActionTitle:destroy() | |
3123 | button.ActionIcon.Image = 'rbxassetid://'..image | |
3124 | end | |
3125 | return button; | |
3126 | end | |
3127 | end | |
3128 | local keys = {"One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Zero"} | |
3129 | ||
3130 | function BuildModeButton(name,pos,act,number) | |
3131 | if(UIS.TouchEnabled)then | |
3132 | local func = function() | |
3133 | if(not Attack and Mode ~= number)then | |
3134 | act() | |
3135 | end | |
3136 | end | |
3137 | local downID = 97166756; | |
3138 | local upID = 97166444; | |
3139 | local bPos = UDim2.new(.72,-pos.x,.20,-pos.y) | |
3140 | ||
3141 | local button = MobileButton:Clone(); | |
3142 | button.Parent = MobileGUI | |
3143 | button.ActionTitle.Text = name | |
3144 | button.MouseButton1Down:connect(function() | |
3145 | button.Image = 'rbxassetid://'..downID | |
3146 | func() | |
3147 | end) | |
3148 | button.MouseButton1Up:connect(function() | |
3149 | button.Image = 'rbxassetid://'..upID | |
3150 | end) | |
3151 | button.MouseLeave:connect(function() | |
3152 | button.Image = 'rbxassetid://'..upID | |
3153 | end) | |
3154 | button.Position = bPos | |
3155 | return button; | |
3156 | end | |
3157 | end | |
3158 | ||
3159 | if(UIS.TouchEnabled)then | |
3160 | Output("Warn","FYI, not all moves will be mobile supporting in the future.") | |
3161 | local ModeButtons = {} | |
3162 | ||
3163 | table.insert(ModeButtons,BuildModeButton("Murder",Vector2.new(500,205),MurderMode,1)) | |
3164 | table.insert(ModeButtons,BuildModeButton("Clarity",Vector2.new(500,155),PureMode,2)) | |
3165 | table.insert(ModeButtons,BuildModeButton("Glitchy",Vector2.new(500,105),GlitchMode,3)) | |
3166 | table.insert(ModeButtons,BuildModeButton("Stress",Vector2.new(500,55),StressMode,4)) | |
3167 | table.insert(ModeButtons,BuildModeButton("Justice",Vector2.new(500,5),JusticeMode,5)) | |
3168 | table.insert(ModeButtons,BuildModeButton("Visual",Vector2.new(450,205),VisMode,6)) | |
3169 | table.insert(ModeButtons,BuildModeButton("SubZero",Vector2.new(450,155),IceMode,7)) | |
3170 | table.insert(ModeButtons,BuildModeButton("Love",Vector2.new(450,105),LoveMode,8)) | |
3171 | table.insert(ModeButtons,BuildModeButton("Nuclear",Vector2.new(450,55),ToxicMode,9)) | |
3172 | table.insert(ModeButtons,BuildModeButton("FLUCTUATE",Vector2.new(450,5),FluctuateMode,10)) | |
3173 | ||
3174 | local HideB; | |
3175 | local Hiding = false; | |
3176 | HideB = BuildButton("Hide",Vector2.new(550,205),function() Hiding = not Hiding; for _,v in next, ModeButtons do v.Visible = not Hiding; end HideB.ActionTitle.Text = (Hiding and 'Show' or 'Hide') end) | |
3177 | ||
3178 | BuildButton("Attack",Vector2.new(0,0),AttackCombo,1826947151) | |
3179 | ||
3180 | BuildButton("Z",Vector2.new(25,100),function() KeyPress(Enum.KeyCode.Z) end) | |
3181 | BuildButton("X",Vector2.new(75,50),function() KeyPress(Enum.KeyCode.X) end) | |
3182 | BuildButton("C",Vector2.new(75,150),function() KeyPress(Enum.KeyCode.C) end) | |
3183 | BuildButton("V",Vector2.new(125,100),function() KeyPress(Enum.KeyCode.V) end) | |
3184 | end | |
3185 | ||
3186 | UIS.InputBegan:connect(function(io,gpe) | |
3187 | if(Attack)then return end | |
3188 | if(not gpe)then | |
3189 | local code = io.KeyCode; | |
3190 | if(io.UserInputType == Enum.UserInputType.Keyboard)then | |
3191 | KeyPress(code) | |
3192 | elseif(io.UserInputType == Enum.UserInputType.MouseButton1)then | |
3193 | AttackCombo() | |
3194 | end | |
3195 | end | |
3196 | end) | |
3197 | ||
3198 | ||
3199 | coroutine.wrap(function() | |
3200 | -- AURAS | |
3201 | while true do | |
3202 | if(Mode == 5)then | |
3203 | 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) | |
3204 | elseif(Mode == 10 or Mode == 666666666666)then | |
3205 | 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) | |
3206 | end | |
3207 | if(Mode == 666666666666)then | |
3208 | 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) | |
3209 | end | |
3210 | swait(1) | |
3211 | end | |
3212 | end)() | |
3213 | ||
3214 | coroutine.resume(coroutine.create(function() -- Burning Damge Loop | |
3215 | while true do | |
3216 | swait(1) | |
3217 | for who,data in next, Radioactive do | |
3218 | local lastBurn, burnMaxTime = unpack(data) | |
3219 | if(time()-lastBurn >= BurnInterval)then | |
3220 | data[1] = time() | |
3221 | for _,v in next, who:children() do if(v.Name == 'Health' and v:IsA'Script')then v.Disabled = true end end | |
3222 | local hum = who:FindFirstChildOfClass'Humanoid' | |
3223 | local tors = GetTorso(who) | |
3224 | if(hum and tors and hum.Health >= 0)then | |
3225 | local BurnDamage = {4,12} | |
3226 | local c = Instance.new("ObjectValue",hum) | |
3227 | c.Name = "creator" | |
3228 | c.Value = Player | |
3229 | game:service'Debris':AddItem(c,0.35) | |
3230 | local DoneDamage = M.RNG(unpack(BurnDamage)) | |
3231 | Droplet{Size=.5,Color=BrickColor.new'Lime green',Direction=-(tors.CFrame.upVector*2000),Origin=tors.CFrame} | |
3232 | local c = Instance.new("ObjectValue",Hum) | |
3233 | c.Name = "creator" | |
3234 | c.Value = Player | |
3235 | S.Debris:AddItem(c,0.35) | |
3236 | if(Hits >= MaxHits/4)then | |
3237 | local Mult = (DoneDamage*(Hits/MaxHits))*4 | |
3238 | DoneDamage = DoneDamage + Mult | |
3239 | end | |
3240 | if(hum.Health > 0)then | |
3241 | Hits = math.min(Hits + 1,MaxHits) | |
3242 | HitTime = HitTime + .1 | |
3243 | if(who:FindFirstChild'Head')then | |
3244 | 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, BrickColor.new'Forest green'.Color) | |
3245 | end | |
3246 | if(hum.Health-DoneDamage <= 0)then print'Got kill' end | |
3247 | hum.MaxHealth = hum.MaxHealth - DoneDamage | |
3248 | end | |
3249 | end | |
3250 | if(time() >= burnMaxTime or hum and hum.Health <= 0)then | |
3251 | Radioactive[who] = nil; | |
3252 | for _,v in next, who:children() do if(v.Name == 'Health' and v:IsA'Script')then v.Disabled = false end end | |
3253 | end | |
3254 | end | |
3255 | end | |
3256 | end | |
3257 | end)) | |
3258 | ||
3259 | while true do | |
3260 | swait() | |
3261 | Sine = Sine + Change | |
3262 | WingSine = WingSine + WingChange | |
3263 | if(Hue > 360)then Hue = 0 end | |
3264 | Hue = Hue + 1 | |
3265 | ||
3266 | if(not Music or not Music.Parent)then | |
3267 | local tPos = 0; | |
3268 | if(Music)then tPos = Music.TimePosition; Music:Stop(); Music:Destroy(); end | |
3269 | Music = Sound(Char,MusicID,1,3,true,false,true) | |
3270 | Music.Name = 'Music' | |
3271 | Music.TimePosition = tPos; | |
3272 | GetClientProperty('RegSound',Music) | |
3273 | end | |
3274 | Music.SoundId = "rbxassetid://"..MusicID | |
3275 | Music.Parent = Char | |
3276 | Music.Pitch = Pitch | |
3277 | Music.Volume = 2 | |
3278 | if(not Muted)then | |
3279 | Music:Resume() | |
3280 | else | |
3281 | Music:Pause() | |
3282 | end | |
3283 | ||
3284 | if(God)then | |
3285 | Hum.MaxHealth = 1e100 | |
3286 | Hum.Health = 1e100 | |
3287 | if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end | |
3288 | Hum.Name = M.RNG()*100 | |
3289 | end | |
3290 | ||
3291 | 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) | |
3292 | ||
3293 | if(Mode == 3)then | |
3294 | for _,v in next, LWing:children() do | |
3295 | local what = M.RNG() | |
3296 | if(v:IsA'BasePart')then | |
3297 | v.Color = C3.N(what,what,what) | |
3298 | end | |
3299 | end | |
3300 | for _,v in next, RWing:children() do | |
3301 | local what = M.RNG() | |
3302 | if(v:IsA'BasePart')then | |
3303 | v.Color = C3.N(what,what,what) | |
3304 | end | |
3305 | end | |
3306 | for _,v in next, LWingEXT:children() do | |
3307 | local what = M.RNG() | |
3308 | if(v:IsA'BasePart')then | |
3309 | v.Color = C3.N(what,what,what) | |
3310 | end | |
3311 | end | |
3312 | for _,v in next, RWingEXT:children() do | |
3313 | local what = M.RNG() | |
3314 | if(v:IsA'BasePart')then | |
3315 | v.Color = C3.N(what,what,what) | |
3316 | end | |
3317 | end | |
3318 | ||
3319 | local what1 = M.RNG() | |
3320 | local what2 = M.RNG() | |
3321 | local what3 = M.RNG() | |
3322 | local what4 = M.RNG() | |
3323 | Core2.Color = C3.N(what1,what1,what1) | |
3324 | ||
3325 | for _,v in next, Halo:children() do | |
3326 | if(v:IsA'BasePart')then | |
3327 | v.Color = C3.N(what1,what1,what1) | |
3328 | end | |
3329 | end | |
3330 | ||
3331 | text.TextStrokeColor3 = C3.N(what2,what2,what2) | |
3332 | text.TextColor3 = C3.N(what3,what3,what3) | |
3333 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,what4,what4) end) | |
3334 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,what4,what4) end) | |
3335 | elseif(Mode == 4)then | |
3336 | for _,v in next, LWing:children() do | |
3337 | local what = M.RNG()*.5 | |
3338 | if(v:IsA'BasePart')then | |
3339 | v.Color = C3.N(what,0,0) | |
3340 | end | |
3341 | end | |
3342 | for _,v in next, LWingEXT:children() do | |
3343 | local what = M.RNG()*.5 | |
3344 | if(v:IsA'BasePart')then | |
3345 | v.Color = C3.N(what,0,0) | |
3346 | end | |
3347 | end | |
3348 | ||
3349 | local what1 = M.RNG()*.5 | |
3350 | local what2 = M.RNG()*.5 | |
3351 | local what3 = M.RNG()*.5 | |
3352 | local what4 = M.RNG()*.5 | |
3353 | Core2.Color = C3.N(what1,0,0) | |
3354 | ||
3355 | for _,v in next, Halo:children() do | |
3356 | if(v:IsA'BasePart')then | |
3357 | v.Color = C3.N(what1,0,0) | |
3358 | end | |
3359 | end | |
3360 | ||
3361 | text.TextStrokeColor3 = C3.N(what2,0,0) | |
3362 | text.TextColor3 = C3.N(what3,0,0) | |
3363 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,0,0) end) | |
3364 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,0,0) end) | |
3365 | elseif(Mode == 696969)then | |
3366 | for _,v in next, LWing:children() do | |
3367 | if(v:IsA'BasePart')then | |
3368 | v.Color = C3.N(M.RNG()*.35,0,0) | |
3369 | end | |
3370 | end | |
3371 | for _,v in next, LWingEXT:children() do | |
3372 | if(v:IsA'BasePart')then | |
3373 | v.Color = C3.N(M.RNG()*.35,0,0) | |
3374 | end | |
3375 | end | |
3376 | ||
3377 | Core2.Color = C3.N(M.RNG()*.35,0,0) | |
3378 | ||
3379 | for _,v in next, Halo:children() do | |
3380 | if(v:IsA'BasePart')then | |
3381 | v.Color = Core2.Color | |
3382 | end | |
3383 | end | |
3384 | ||
3385 | text.TextStrokeColor3 = C3.N(M.RNG()*.35,0,0) | |
3386 | text.TextColor3 = C3.N(M.RNG()*.35,0,0) | |
3387 | pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(M.RNG()*.35,0,0) end) | |
3388 | pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(M.RNG()*.35,0,0)end) | |
3389 | elseif(Mode == 6)then | |
3390 | local pl = GetClientProperty(Music,'PlaybackLoudness') | |
3391 | local color = C3.HSV(Hue/360,1,math.min(pl/1000,1)) | |
3392 | local color2 = C3.HSV(Hue/360,1,math.min(pl/500,1)) | |
3393 | for _,v in next, LWing:children() do | |
3394 | if(v:IsA'BasePart')then | |
3395 | v.Color = v.Color:lerp(color,.3) | |
3396 | end | |
3397 | end | |
3398 | for _,v in next, RWing:children() do | |
3399 | if(v:IsA'BasePart')then | |
3400 | v.Color = v.Color:lerp(color,.3) | |
3401 | end | |
3402 | end | |
3403 | for _,v in next, LWingEXT:children() do | |
3404 | if(v:IsA'BasePart')then | |
3405 | v.Color = v.Color:lerp(color,.3) | |
3406 | end | |
3407 | end | |
3408 | for _,v in next, RWingEXT:children() do | |
3409 | if(v:IsA'BasePart')then | |
3410 | v.Color = v.Color:lerp(color,.3) | |
3411 | end | |
3412 | end | |
3413 | Core2.Color = Core2.Color:lerp(color,.3) | |
3414 | ||
3415 | for _,v in next, Halo:children() do | |
3416 | if(v:IsA'BasePart')then | |
3417 | v.Color = v.Color:lerp(color,.3) | |
3418 | end | |
3419 | end | |
3420 | ||
3421 | text.TextStrokeColor3 = text.TextStrokeColor3:lerp(color2,.3) | |
3422 | text.TextColor3 = text.TextColor3:lerp(color2,.3) | |
3423 | pcall(function() Char.ReaperShadowHead.Eye1.Color = Char.ReaperShadowHead.Eye1.Color:lerp(color,.3) end) | |
3424 | pcall(function() Char.ReaperShadowHead.Eye2.Color = Char.ReaperShadowHead.Eye2.Color:lerp(color,.3) end) | |
3425 | end | |
3426 | ||
3427 | 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) | |
3428 | 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) | |
3429 | 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) | |
3430 | 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) | |
3431 | 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) | |
3432 | 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) | |
3433 | ||
3434 | 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) | |
3435 | 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) | |
3436 | 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) | |
3437 | 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) | |
3438 | 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) | |
3439 | 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) | |
3440 | ||
3441 | local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1) | |
3442 | 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") | |
3443 | if(not Effects or not Effects.Parent)then | |
3444 | Effects = IN("Model",Char) | |
3445 | Effects.Name = "Effects" | |
3446 | end | |
3447 | if(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666 and Mode ~= 666)then | |
3448 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
3449 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
3450 | Change = 1 | |
3451 | ||
3452 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666 and Mode ~= 666)then | |
3453 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
3454 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
3455 | Change = 1 | |
3456 | if(Mode == 7)then | |
3457 | 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) | |
3458 | 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) | |
3459 | else | |
3460 | 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) | |
3461 | 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) | |
3462 | end | |
3463 | else | |
3464 | RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2) | |
3465 | LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2) | |
3466 | end | |
3467 | ||
3468 | ComboLbl.TextColor3 = Core2.Color | |
3469 | ComboFill.BackgroundColor3 = Core2.Color | |
3470 | ||
3471 | if(Hits > 0)then | |
3472 | local TimeDiff = (HitTime-time())*2 | |
3473 | ComboBG:TweenPosition(UDim2.new(0,0,.4,0),Enum.EasingDirection.In,Enum.EasingStyle.Linear,.2,true) | |
3474 | ComboFill:TweenSize(UDim2.new(math.min(1*TimeDiff,1),0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.1,true) | |
3475 | end | |
3476 | ||
3477 | if(HitTime < time() and Hits > 0)then | |
3478 | Hits = 0 | |
3479 | ComboBG:TweenPosition(UDim2.new(-.1,0,.4,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.2,true) | |
3480 | end | |
3481 | ComboLbl.Text = Hits | |
3482 | ||
3483 | Hum.WalkSpeed = WalkSpeed | |
3484 | if(NeutralAnims)then | |
3485 | if(State == 'Idle')then | |
3486 | local Alpha = .1 | |
3487 | if(Mode == 1)then | |
3488 | Change = 1 | |
3489 | 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) | |
3490 | 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) | |
3491 | 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) | |
3492 | 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) | |
3493 | 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) | |
3494 | 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) | |
3495 | elseif(Mode == 2)then | |
3496 | Change = 1 | |
3497 | 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) | |
3498 | 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) | |
3499 | 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) | |
3500 | 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) | |
3501 | 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) | |
3502 | 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) | |
3503 | elseif(Mode == 3)then | |
3504 | Change = 1 | |
3505 | 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) | |
3506 | 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) | |
3507 | 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) | |
3508 | 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) | |
3509 | 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) | |
3510 | 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) | |
3511 | elseif(Mode == 4)then | |
3512 | Change = 1 | |
3513 | 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) | |
3514 | 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) | |
3515 | 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) | |
3516 | 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) | |
3517 | 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) | |
3518 | 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) | |
3519 | elseif(Mode == 5)then | |
3520 | Change = 1 | |
3521 | RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11+.2*M.S(Sine/30), 1.2571125+.5*M.C(Sine/32), -3.51015478e-06+.2*M.S(Sine/32), 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
3522 | 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) | |
3523 | 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) | |
3524 | 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) | |
3525 | 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) | |
3526 | 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) | |
3527 | elseif(Mode == 6)then | |
3528 | local pl = GetClientProperty(Music,'PlaybackLoudness') | |
3529 | Change = 3 | |
3530 | RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263-(pl/3000), 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha) | |
3531 | LH.C0 = clerp(LH.C0,CFrame.new(-0.50538516, -1.00439715+.2*M.C(Sine/16)+(pl/3000), -0.54824096, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
3532 | RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718+(pl/3000), 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha) | |
3533 | LS.C0 = clerp(LS.C0,CFrame.new(-1.42332602, 0.626581013-(pl/3000), -0.328449368, 0.922103286, 0.304182172, -0.239162698, -0.178854272, -0.213036552, -0.960534513, -0.343127936, 0.92848742, -0.142037436)*CF.A(-M.R(pl/36),0,0),Alpha) | |
3534 | RS.C0 = clerp(RS.C0,CFrame.new(1.0793153, 0.434256732-(pl/3000), 0.60275507, 0.650267124, 0.696277916, -0.303891033, -0.505378187, 0.695125222, 0.511267006, 0.567226231, -0.178880244, 0.803900838),Alpha) | |
3535 | NK.C0 = clerp(NK.C0,CFrame.new(7.8920275e-06, 1.49894428, -0.0144027323, 0.983284235, 0.010468211, -0.181776017, 0.00114496367, 0.9979707, 0.0636651218, 0.182073623, -0.0628090426, 0.981276989)*CF.A(M.R(pl/36),0,0),Alpha) | |
3536 | elseif(Mode == 7)then | |
3537 | Change = 1 | |
3538 | RJ.C0 = clerp(RJ.C0,CFrame.new(0.0101235649, -1.07766318+.1*M.C(Sine/16), 0.648248792, 0.999971092, -0.00739747565, -0.00181146339, 0.00738599803, 0.883920729, 0.467578471, -0.00185771007, -0.467578262, 0.883949816)*CF.A(0,M.R(0+2*M.C(Sine/0.12512)),M.R(0+2*M.S(Sine/0.0512412))),Alpha) | |
3539 | LH.C0 = clerp(LH.C0,CFrame.new(-0.504728794, 0.381877124-.1*M.C(Sine/16), -0.515005529, 0.999878228, 0.00738599803, 0.0137542095, -9.66741936e-05, 0.883920729, -0.467636794, -0.0156115945, 0.467578471, 0.883813798)*CF.A(0,-M.R(0+2*M.C(Sine/0.12512)),-M.R(0+2*M.S(Sine/0.0512412)))*CF.A(M.R(0+1*M.S(Sine/0.283547)),M.R(0+1*M.C(Sine/0.356723)),0),Alpha) | |
3540 | RH.C0 = clerp(RH.C0,CFrame.new(0.491205901, 0.34564203-.1*M.C(Sine/16), -0.462503195, 0.999878228, 0.00738599803, 0.0137542095, -9.66741936e-05, 0.883920729, -0.467636794, -0.0156115945, 0.467578471, 0.883813798)*CF.A(0,-M.R(0+2*M.C(Sine/0.12512)),-M.R(0+2*M.S(Sine/0.0512412)))*CF.A(M.R(0+1*M.S(Sine/0.283547)),M.R(0+1*M.C(Sine/0.356723)),0),Alpha) | |
3541 | LS.C0 = clerp(LS.C0,CFrame.new(-0.80868268, 0.497842163, -0.14479053, 0.744864702, -0.66721499, -0.00102781132, -0.0409338176, -0.0441599488, -0.998185575, 0.665959001, 0.743555188, -0.0602048337)*CF.A(0,M.R(0+2*M.C(Sine/0.134561367)),M.R(0+5*M.S(Sine/0.127347))),Alpha) | |
3542 | RS.C0 = clerp(RS.C0,CFrame.new(0.754446983, 0.405229449, -0.406160057, 0.458563089, 0.88866204, -0.000157270115, 0.00361818075, -0.00204397738, -0.999991417, -0.88865459, 0.45855853, -0.00415253639)*CF.A(0,M.R(0+2*M.C(Sine/0.12543152)),M.R(0+5*M.S(Sine/0.273456123))),Alpha) | |
3543 | NK.C0 = clerp(NK.C0,CFrame.new(3.87876844e-06, 1.54665208, -0.105986834, 1.00000012, 2.60770321e-06, 2.79070809e-05, -1.28485262e-05, 0.927553773, 0.373690069, -2.49119475e-05, -0.373690099, 0.927553654)*CF.A(0,M.R(0+2*M.C(Sine/0.25432)),M.R(0+5*M.S(Sine/0.421342134))),Alpha) | |
3544 | elseif(Mode == 8)then | |
3545 | Change = 1 | |
3546 | RJ.C0 = RJ.C0:lerp(CF.N(0,0,0)*CF.A(0,0,M.R(0+5*M.C(Sine/16))),Alpha) | |
3547 | NK.C0 = NK.C0:lerp(NKC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16))),Alpha) | |
3548 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16)))*CF.A(M.R(-15),M.R(25),0),Alpha) | |
3549 | RH.C0 = RH.C0:lerp(RHC0*CF.A(0,0,-M.R(0+5*M.C(Sine/16))),Alpha) | |
3550 | LS.C0 = LS.C0:lerp(LSC0*CF.N(0,-.15,0)*CF.A(M.R(15),0,M.R(20)),Alpha) | |
3551 | RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(5+5*M.S(Sine/16))),Alpha) | |
3552 | elseif(Mode == 9)then | |
3553 | Change = 1 | |
3554 | if(hitfloor and Mode == 9)then OEffect{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 | |
3555 | local Colors = {"Forest green","Lime green","Earth green"} | |
3556 | NoobyBlock(4,.025,"Multiply",LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),.012,BrickColor.new(Colors[M.RNG(1,#Colors)]),0,true) | |
3557 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00763900485, 0.0576088727+.1*M.C(Sine/32), -0.489215493, 0.999976635, -0.00668978505, -0.00145753659, 0.00667999825, 0.906569779, 0.422003359, -0.00150175206, -0.422003239, 0.906593204),Alpha) | |
3558 | LH.C0 = clerp(LH.C0,CFrame.new(-0.508842707, -1.12272382-.1*M.C(Sine/32), -0.0245408416, 0.973195612, 0.0299689136, 0.228018239, 0.0911211073, 0.860081792, -0.501952767, -0.211157292, 0.509275496, 0.834296942),Alpha) | |
3559 | RH.C0 = clerp(RH.C0,CFrame.new(0.505672514, -1.12652683-.1*M.C(Sine/32), -0.0664639771, 0.908796906, 0.0139010083, -0.417007297, -0.155455723, 0.938765347, -0.307495654, 0.387197405, 0.344277233, 0.855307937),Alpha) | |
3560 | LS.C0 = clerp(LS.C0,CFrame.new(-1.45529008, 0.399098635+.1*M.C(Sine/32), -0.00237059593, 0.9937765, 0.103129238, -0.0421066694, -0.0848314539, 0.45566994, -0.88609755, -0.0721958056, 0.884154797, 0.461582631)*CF.A(0,0,M.R(0-10*M.C(Sine/32)))*CF.A(0,M.R(0+6*M.C(Sine/0.1872634)),M.R(0+12*M.S(Sine/0.0124723465))),Alpha) | |
3561 | RS.C0 = clerp(RS.C0,CFrame.new(1.25761306, 0.482083619+.1*M.C(Sine/32), -0.434745401, 0.42843774, 0.695737422, -0.576533496, 0.754532933, -0.626516104, -0.195340306, -0.497112989, -0.351322293, -0.793379903)*CF.A(0,M.R(0+6*M.C(Sine/0.1872634)),M.R(0+12*M.S(Sine/0.0124723465))),Alpha) | |
3562 | NK.C0 = clerp(NK.C0,CFrame.new(1.26473606e-05, 1.49894953, -0.0143971443, 0.998992383, 0.0431914814, 0.0122066746, -0.03513439, 0.921768486, -0.386146128, -0.0279299468, 0.385328114, 0.922357082)*CF.A(M.R(0+10*M.C(Sine/32)),0,0)*CF.A(0,M.R(0+6*M.C(Sine/0.1872634)),M.R(0+12*M.S(Sine/0.0124723465))),Alpha) | |
3563 | elseif(Mode == 10)then | |
3564 | NoobyBlock(4,.025,"Multiply",LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),.012,BrickColor.new'Alder',0,true) | |
3565 | Change = 1 | |
3566 | RJ.C0 = clerp(RJ.C0,CFrame.new(3.20710125e-11+.2*M.S(Sine/32), 0.881578624+.5*M.C(Sine/32), -9.84873623e-07+.2*M.C(Sine/24), 0.999999821, 3.63797881e-11, 0, -4.58300065e-11, 0.999980092, -0.00628619455, 9.31322575e-10, 0.00628619082, 0.999980509),Alpha) | |
3567 | 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) | |
3568 | 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) | |
3569 | LS.C0 = clerp(LS.C0,CFrame.new(-1.40968728, 0.491904348, 0.019305028, 0.895423353, 0.179754242, 0.407314837, -0.16739957, 0.983670354, -0.0661047474, -0.412546366, -0.00899259746, 0.910892725)*CF.A(0,0,M.R(0+10*M.C(Sine/32))),Alpha) | |
3570 | RS.C0 = clerp(RS.C0,CFrame.new(0.648883045, 0.459784538, -0.511239171, -0.133737907, 0.979713619, 0.149248496, 0.396290839, 0.190905675, -0.898058236, -0.908332765, -0.0609586462, -0.413783163)*CF.A(M.R(0+4*M.C(Sine/32)),M.R(0+4*M.C(Sine/32)),0),Alpha) | |
3571 | NK.C0 = clerp(NK.C0,CFrame.new(7.21290917e-06, 1.49894142, -0.0144039318, 0.999999821, 3.67581379e-07, -1.60187483e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.0637688339, 0.997965097),Alpha) | |
3572 | elseif(Mode == 16)then | |
3573 | Change = 1 | |
3574 | RJ.C0 = RJ.C0:lerp(CF.N(0+.2*M.S(Sine/32),1.3-.5*M.C(Sine/32),0+.2*M.C(Sine/24))*CF.A(M.R(0+1.5*M.S(Sine/32)),M.R(0+5*M.S(Sine/36)),0),Alpha) | |
3575 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.R(0+5*M.C(Sine/32)),0,0),Alpha) | |
3576 | LS.C0 = LS.C0:lerp(LSC0*CF.N(.75,0+.1*M.C(Sine/32),-.5)*CF.A(M.R(-25-5*M.C(Sine/32)),M.R(15),M.R(80+10*M.C(Sine/32))),Alpha) | |
3577 | RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.1*M.C(Sine/32),-.5)*CF.A(M.R(25+5*M.C(Sine/32)),M.R(-15),M.R(-85-5*M.C(Sine/32))),Alpha) | |
3578 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.4,-.5)*CF.A(M.R(-15-2.5*M.S(Sine/32)),M.R(25-5*M.C(Sine/32)),M.R(-5)),Alpha) | |
3579 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-15-5*M.C(Sine/32)),M.R(-25),M.R(5)),Alpha) | |
3580 | elseif(Mode == 696969)then | |
3581 | Change = 1 | |
3582 | RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00497054448, 0.0384125113+.1*M.C(Sine/32), -0.318240643, 0.999985576, -0.00531026162, -0.000893360935, 0.00530399941, 0.942669153, 0.333686858, -0.00092981942, -0.333686769, 0.942683578),Alpha) | |
3583 | LH.C0 = clerp(LH.C0,CFrame.new(-0.497181207, -1.07329571-.1*M.C(Sine/32), -0.0259589553, 0.991927385, 0.00536903273, 0.126693994, 0.0373182632, 0.942499518, -0.332117736, -0.12119215, 0.334164649, 0.934690654),Alpha) | |
3584 | RH.C0 = clerp(RH.C0,CFrame.new(0.508173347, -1.05517495-.1*M.C(Sine/32), -0.101279587, 0.989477396, 0.015710555, -0.143832386, -0.0531964861, 0.963962197, -0.260666966, 0.13455373, 0.265575409, 0.954654515),Alpha) | |
3585 | LS.C0 = clerp(LS.C0,CFrame.new(-1.3136189, 0.462844551+.1*M.C(Sine/32), 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) | |
3586 | RS.C0 = clerp(RS.C0,CFrame.new(1.25962329, 0.543387234+.1*M.C(Sine/32), 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) | |
3587 | NK.C0 = clerp(NK.C0,CFrame.new(-0.00269337045, 1.48585653, -0.187648922, 0.999991715, -0.00401760591, -0.00077160541, 0.00405273447, 0.94710511, 0.320898026, -0.000558450818, -0.320898473, 0.947113574)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+7.5*M.S(Sine/0.01278125))),Alpha) | |
3588 | elseif(Mode == 666666666666)then | |
3589 | Change = 1 | |
3590 | 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) | |
3591 | 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) | |
3592 | 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) | |
3593 | 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) | |
3594 | 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) | |
3595 | 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) | |
3596 | 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+32*M.C(Sine/0.025345)),M.R(0+24*M.S(Sine/0.0245987638))),Alpha) | |
3597 | elseif(Mode == 666)then | |
3598 | Change = 1 | |
3599 | RJ.C0 = RJ.C0:lerp(CF.N(0+.2*M.S(Sine/30),1.6+.2*M.C(Sine/32),0+.2*M.C(Sine/26))*CF.A(0,M.RRNG(-5,5),0),Alpha) | |
3600 | if(M.RNG(1,30) == 1)then | |
3601 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(0,45),M.RRNG(-45,45),M.RRNG(-45,45)),1) | |
3602 | else | |
3603 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.35)*CF.A(M.R(-45+5*M.C(Sine/32)),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3604 | end | |
3605 | LS.C0 = LS.C0:lerp(LSC0*CF.N(.75,0+.1*M.C(Sine/32),-.5)*CF.A(0,M.R(15),M.R(80+5*M.C(Sine/32)))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3606 | RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.1*M.C(Sine/32),-.5)*CF.A(0,M.R(-15),M.R(-85-5*M.C(Sine/32)))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3607 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.4,-.5)*CF.A(M.R(-15-2.5*M.S(Sine/32)),M.R(25-5*M.C(Sine/32)),M.R(-5))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3608 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-15-5*M.C(Sine/32)),M.R(-25),M.R(5))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3609 | else | |
3610 | Change = 1 | |
3611 | 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) | |
3612 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha) | |
3613 | LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-7-5*M.C(Sine/12))),Alpha) | |
3614 | RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(7+5*M.C(Sine/12))),Alpha) | |
3615 | 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) | |
3616 | 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) | |
3617 | end | |
3618 | -- idle | |
3619 | elseif(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666 and Mode ~= 666 and Mode ~= 16)then | |
3620 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
3621 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
3622 | 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) | |
3623 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
3624 | 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) | |
3625 | 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) | |
3626 | 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) | |
3627 | 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) | |
3628 | elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 7 and Mode ~= 10 and Mode ~= 666666666666 and Mode ~= 666 and Mode ~= 16)then | |
3629 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
3630 | local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1) | |
3631 | if(Mode == 4)then | |
3632 | 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) | |
3633 | 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) | |
3634 | 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) | |
3635 | 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) | |
3636 | 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) | |
3637 | 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) | |
3638 | elseif(Mode == 696969)then | |
3639 | 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) | |
3640 | 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) | |
3641 | 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) | |
3642 | 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) | |
3643 | 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) | |
3644 | 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) | |
3645 | ||
3646 | elseif(Mode == 1)then | |
3647 | 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) | |
3648 | 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) | |
3649 | 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) | |
3650 | 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) | |
3651 | 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) | |
3652 | 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) | |
3653 | else | |
3654 | if(hitfloor and Mode == 9)then OEffect{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 | |
3655 | 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) | |
3656 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
3657 | 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) | |
3658 | 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) | |
3659 | 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) | |
3660 | 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) | |
3661 | end | |
3662 | elseif(State == 'Walk' and Mode == 7)then | |
3663 | local wsVal = 7 / (Hum.WalkSpeed/16) | |
3664 | local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1) | |
3665 | 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) | |
3666 | NK.C0 = NK.C0:lerp(NKC0,Alpha) | |
3667 | 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) | |
3668 | 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) | |
3669 | 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) | |
3670 | 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) | |
3671 | elseif((State == 'Walk' or State == 'Run') and Mode == 10)then | |
3672 | Change = 1 | |
3673 | local Alpha = .1 | |
3674 | 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) | |
3675 | 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) | |
3676 | 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) | |
3677 | 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) | |
3678 | 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) | |
3679 | 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) | |
3680 | elseif((State == 'Walk' or State == 'Run') and Mode == 666666666666)then | |
3681 | Change = 1 | |
3682 | local Alpha = .1 | |
3683 | 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) | |
3684 | 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) | |
3685 | 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) | |
3686 | 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) | |
3687 | 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) | |
3688 | 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) | |
3689 | elseif((State == 'Walk' or State == 'Run') and Mode == 666)then | |
3690 | Change = 1 | |
3691 | local Alpha = .1 | |
3692 | RJ.C0 = RJ.C0:lerp(CF.N(0+.2*M.S(Sine/30),1.6+.2*M.C(Sine/32),0+.2*M.C(Sine/26))*CF.A(M.R(-45),M.RRNG(-5,5),0),Alpha) | |
3693 | if(M.RNG(1,30) == 1)then | |
3694 | NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(0,45),M.RRNG(-45,45),M.RRNG(-45,45)),1) | |
3695 | else | |
3696 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.35)*CF.A(M.R(-25+5*M.C(Sine/32)),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3697 | end | |
3698 | LS.C0 = LS.C0:lerp(LSC0*CF.N(.75,0+.1*M.C(Sine/32),-.5)*CF.A(0,M.R(15),M.R(80+5*M.C(Sine/32)))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3699 | RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.1*M.C(Sine/32),-.5)*CF.A(0,M.R(-15),M.R(-85-5*M.C(Sine/32)))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3700 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.4,-.5)*CF.A(M.R(-35-2.5*M.S(Sine/32)),M.R(25-5*M.C(Sine/32)),M.R(-5))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3701 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-35-5*M.C(Sine/32)),M.R(-25),M.R(5))*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha) | |
3702 | elseif((State == 'Walk' or State == 'Run') and Mode == 16)then | |
3703 | local Alpha = .1 | |
3704 | Change = 1 | |
3705 | RJ.C0 = RJ.C0:lerp(CF.N(0+.2*M.S(Sine/32),1.3-.5*M.C(Sine/32),0+.2*M.C(Sine/24))*CF.A(M.R(-45+1.5*M.S(Sine/32)),M.R(0+5*M.S(Sine/36)),0),Alpha) | |
3706 | NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.R(25+5*M.C(Sine/32)),0,0),Alpha) | |
3707 | LS.C0 = LS.C0:lerp(LSC0*CF.N(.75,0+.1*M.C(Sine/32),-.5)*CF.A(M.R(-25-5*M.C(Sine/32)),M.R(15),M.R(80+10*M.C(Sine/32))),Alpha) | |
3708 | RS.C0 = RS.C0:lerp(RSC0*CF.N(-.5,0+.1*M.C(Sine/32),-.5)*CF.A(M.R(25+5*M.C(Sine/32)),M.R(-15),M.R(-85-5*M.C(Sine/32))),Alpha) | |
3709 | LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.4,-.5)*CF.A(M.R(-35-2.5*M.S(Sine/32)),M.R(25-5*M.C(Sine/32)),M.R(-5)),Alpha) | |
3710 | RH.C0 = RH.C0:lerp(RHC0*CF.A(M.R(-35-5*M.C(Sine/32)),M.R(-25),M.R(5)),Alpha) | |
3711 | elseif((State == 'Walk' or State == 'Run'))then | |
3712 | Change = 1 | |
3713 | local Alpha = .1 | |
3714 | 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) | |
3715 | 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) | |
3716 | 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) | |
3717 | 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) | |
3718 | 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) | |
3719 | 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) | |
3720 | ||
3721 | elseif(State == 'Jump')then | |
3722 | local Alpha = .1 | |
3723 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
3724 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha) | |
3725 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha) | |
3726 | 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) | |
3727 | 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) | |
3728 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
3729 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
3730 | elseif(State == 'Fall')then | |
3731 | local Alpha = .1 | |
3732 | local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90)) | |
3733 | LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha) | |
3734 | RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha) | |
3735 | 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) | |
3736 | 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) | |
3737 | LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha) | |
3738 | RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha) | |
3739 | elseif(State == 'Paralyzed')then | |
3740 | -- paralyzed | |
3741 | elseif(State == 'Sit')then | |
3742 | -- sit | |
3743 | end | |
3744 | end | |
3745 | ||
3746 | ||
3747 | ||
3748 | for i,v in next, BloodPuddles do | |
3749 | local mesh = i:FindFirstChild'CylinderMesh' | |
3750 | BloodPuddles[i] = v + 1 | |
3751 | if(not mesh or i.Transparency >= 1)then | |
3752 | i:destroy() | |
3753 | BloodPuddles[i] = nil | |
3754 | elseif(v >= Frame_Speed*4)then | |
3755 | local trans = (v-Frame_Speed*4)/(Frame_Speed*2) | |
3756 | i.Transparency = trans | |
3757 | if(mesh.Scale.Z > 0)then | |
3758 | mesh.Scale = mesh.Scale-V3.N(.05,0,.05) | |
3759 | end | |
3760 | else | |
3761 | i.Transparency = 0 | |
3762 | end | |
3763 | end | |
3764 | end |