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