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