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