Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn([[
- Sometimes, you just gotta stop and think for a minute.
- Think about what you wanna do with your life and what's important.
- Not just to you but to everybody.
- You see, you can make so much of a difference if you just put your mind to it
- And never forget about this one thing.
- You're not here alone.
- ]])
- wait(1/60)
- --// Shortcut Variables \\--
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
- local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
- 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}
- local R3 = {N=Region3.new}
- local De = S.Debris
- local WS = workspace
- local Lght = S.Lighting
- local RepS = S.ReplicatedStorage
- local IN = Instance.new
- local Plrs = S.Players
- --// Initializing \\--
- local Plr = owner
- local Char = Plr.Character
- local Hum = Char:FindFirstChildOfClass'Humanoid'
- local RArm = Char["Right Arm"]
- local LArm = Char["Left Arm"]
- local RLeg = Char["Right Leg"]
- local LLeg = Char["Left Leg"]
- local Root = Char:FindFirstChild'HumanoidRootPart'
- local Torso = Char.Torso
- local Head = Char.Head
- local NeutralAnims = true
- local Attack = false
- local Debounces = {Debounces={}}
- local Mouse = Plr:GetMouse()
- local Hit = {}
- local Sine = 0
- local Change = 1
- local BloodPuddles = {}
- local Awakened = false
- local Effects = IN("Folder",Char)
- Effects.Name = "Effects"
- --// Debounce System \\--
- function Debounces:New(name,cooldown)
- local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
- setmetatable(aaaaa,{__index = Debounces})
- Debounces.Debounces[name] = aaaaa
- return aaaaa
- end
- function Debounces:Use(overrideUsable)
- assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
- if(self.Usable or overrideUsable)then
- self.Usable = false
- self.CoolingDown = true
- local LastUse = time()
- self.LastUse = LastUse
- delay(self.Cooldown or 2,function()
- if(self.LastUse == LastUse)then
- self.CoolingDown = false
- self.Usable = true
- end
- end)
- end
- end
- function Debounces:Get(name)
- assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
- for i,v in next, Debounces.Debounces do
- if(i == name)then
- return v;
- end
- end
- end
- function Debounces:GetProgressPercentage()
- assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
- if(self.CoolingDown and not self.Usable)then
- return math.max(
- math.floor(
- (
- (time()-self.LastUse)/self.Cooldown or 2
- )*100
- )
- )
- else
- return 100
- end
- end
- --// Instance Creation Functions \\--
- local baseSound = IN("Sound")
- function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
- local Sound = baseSound:Clone()
- Sound.SoundId = "rbxassetid://".. tostring(id or 0)
- Sound.Pitch = pitch or 1
- Sound.Volume = volume or 1
- Sound.Looped = looped or false
- if(autoPlay)then
- coroutine.wrap(function()
- repeat wait() until Sound.IsLoaded
- Sound.Playing = autoPlay or false
- end)()
- end
- if(not looped and effect)then
- Sound.Stopped:connect(function()
- Sound.Volume = 0
- Sound:destroy()
- end)
- elseif(effect)then
- warn("Sound can't be looped and a sound effect!")
- end
- Sound.Parent =parent or Torso
- return Sound
- end
- function Part(parent,color,material,size,cframe,anchored,cancollide)
- local part = IN("Part")
- part.Parent = parent or Char
- part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
- part.Material = material or Enum.Material.SmoothPlastic
- part.TopSurface,part.BottomSurface=10,10
- part.Size = size or V3.N(1,1,1)
- part.CFrame = cframe or CF.N(0,0,0)
- part.CanCollide = cancollide or false
- part.Anchored = anchored or false
- return part
- end
- function Weld(part0,part1,c0,c1)
- local weld = IN("Weld")
- weld.Parent = part0
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0 or CF.N()
- weld.C1 = c1 or CF.N()
- return weld
- end
- function Mesh(parent,meshtype,meshid,textid,scale,offset)
- local part = IN("SpecialMesh")
- part.MeshId = meshid or ""
- part.TextureId = textid or ""
- part.Scale = scale or V3.N(1,1,1)
- part.Offset = offset or V3.N(0,0,0)
- part.MeshType = meshtype or Enum.MeshType.Sphere
- part.Parent = parent
- return part
- end
- NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance)
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- function Clone(instance,parent,properties)
- local inst = instance:Clone()
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
- local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
- local Sound = IN("Sound")
- Sound.SoundId = "rbxassetid://".. tostring(id or 0)
- Sound.Pitch = pitch or 1
- Sound.Volume = volume or 1
- Sound.Looped = looped or false
- if(autoPlay)then
- coroutine.wrap(function()
- repeat wait() until Sound.IsLoaded
- Sound.Playing = autoPlay or false
- end)()
- end
- if(not looped and effect)then
- Sound.Stopped:connect(function()
- Sound.Volume = 0
- soundPart:destroy()
- end)
- elseif(effect)then
- warn("Sound can't be looped and a sound effect!")
- end
- Sound.Parent = soundPart
- return Sound
- end
- --// Extended ROBLOX tables \\--
- 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})
- --// Require stuff \\--
- function CamShake(who,times,intense,origin)
- coroutine.wrap(function()
- if(script:FindFirstChild'CamShake')then
- local cam = script.CamShake:Clone()
- cam:WaitForChild'intensity'.Value = intense
- cam:WaitForChild'times'.Value = times
- if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
- cam.Parent = who
- wait()
- cam.Disabled = false
- elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
- local intensity = intense
- if(Hum and not Hum:FindFirstChild'CamShaking')then
- local cam = workspace.CurrentCamera
- local oCO = Hum.CameraOffset
- local cs = Instance.new("BoolValue",Hum)
- cs.Name = "CamShaking"
- for i = 1, times do
- local camDistFromOrigin
- if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
- camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
- elseif(typeof(origin) == 'Vector3')then
- camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
- end
- if(camDistFromOrigin)then
- intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
- end
- --cam.CoordinateFrame = cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
- if(Hum)then
- Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
- end
- swait()
- end
- if(Hum)then
- Hum.CameraOffset = oCO
- end
- cs:destroy()
- end
- end
- end)()
- end
- function CamShakeAll(times,intense,origin)
- for _,v in next, Plrs:players() do
- CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
- end
- end
- function ServerScript(code)
- if(script:FindFirstChild'Loadstring')then
- local load = script.Loadstring:Clone()
- load:WaitForChild'Sauce'.Value = code
- load.Disabled = false
- load.Parent = workspace
- elseif(NS and typeof(NS) == 'function')then
- NS(code,workspace)
- else
- warn("no serverscripts lol")
- end
- end
- function Nametag(color,tag)
- local r,g,b = C3.tRGB(color)
- local c3 = C3.RGB(255,255,50)
- local name = script:FindFirstChild'Nametag' and script.Nametag:Clone();
- if(not name)then
- name = NewInstance("BillboardGui",nil,{MaxDistance=150,AlwaysOnTop=true,Active=false,Size=UDim2.new(5,0,1,0),SizeOffset=Vector2.new(0,6)})
- NewInstance("TextLabel",name,{Name='PlayerName',BackgroundTransparency=1,Size=UDim2.new(1,0,1,0),Text=Plr.Name,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextSize=14,TextScaled=true,TextWrapped=true,})
- NewInstance("TextLabel",name,{Name='Title',BackgroundTransparency=1,Size=UDim2.new(2.5,0,1.5,0),Position=UDim2.new(-.75,0,.9,0),Text=tag,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextStrokeTransparency=0,TextSize=14,TextScaled=true,TextWrapped=true,})
- end
- name.Title.Text = tag
- name.Title.TextColor3 = color
- name.Title.TextStrokeColor3 = c3
- name.PlayerName.Text = Plr.Name
- name.PlayerName.TextColor3 = color
- name.PlayerName.TextStrokeColor3 = c3
- name.Parent = Char
- name.Adornee = Head
- --name.PlayerToHideFrom = Plr
- return name.Title
- end
- --// Customization \\--
- local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
- local Remove_Hats = false
- local Remove_Clothing = false
- local PlayerSize = 1
- local DamageColor = BrickColor.new'CGA brown'
- local MusicID = 1547875818
- local God = true
- local Muted = false
- local WalkSpeed = 16
- --// Weapon and GUI creation, and Character Customization \\--
- if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
- if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
- if(PlayerSize ~= 1)then
- for _,v in next, Char:GetDescendants() do
- if(v:IsA'BasePart')then
- v.Size = v.Size * PlayerSize
- end
- end
- end
- local Music = Sound(Char,MusicID,1,3,true,false,true)
- Music.Name = 'Music'
- --// Stop animations \\--
- for _,v in next, Hum:GetPlayingAnimationTracks() do
- v:Stop();
- end
- pcall(game.Destroy,Char:FindFirstChild'Animate')
- pcall(game.Destroy,Hum:FindFirstChild'Animator')
- --// Joints \\--
- 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)})
- 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)})
- local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
- local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
- local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
- local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
- local LSC0 = LS.C0
- local RSC0 = RS.C0
- local NKC0 = NK.C0
- local LHC0 = LH.C0
- local RHC0 = RH.C0
- local RJC0 = RJ.C0
- --// Artificial HB \\--
- local ArtificialHB = IN("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- local tf = 0
- local allowframeloss = false
- local tossremainder = false
- local lastframe = tick()
- local frame = 1/Frame_Speed
- ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- --// Effect Function(s) \\--
- function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis)
- local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
- local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
- local Scale = 1
- local speeder = Speed
- if(Type == "Multiply")then
- Scale = 1*Inc
- elseif(Type == "Divide")then
- Scale = 1/Inc
- end
- coroutine.wrap(function()
- for i = 0,10/Lifetime,.1 do
- if(Type == "Multiply")then
- Scale = Scale - 0.01*Inc/Lifetime
- elseif(Type == "Divide")then
- Scale = Scale - 0.01/Inc*Lifetime
- end
- speeder = speeder - 0.01*Speed*Lifetime
- fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
- fxP.Transparency = fxP.Transparency + 0.01*Lifetime
- if(Axis == 'x')then
- fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0)
- elseif(Axis == 'y')then
- fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0)
- elseif(Axis == 'z')then
- fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime)
- elseif(Axis == 'xyz')then
- fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime)
- elseif(Axis == 'yz')then
- fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime)
- elseif(Axis == 'xz')then
- fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime)
- else
- fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
- end
- if(fxP.Transparency >= 1)then break end
- swait()
- end
- fxP:destroy()
- end)()
- return fxP
- end
- function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId)
- local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false)
- local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
- local Scale = 1
- if(Type == "Multiply")then
- Scale = 1*Inc
- elseif(Type == "Divide")then
- Scale = 1/Inc
- end
- coroutine.wrap(function()
- for i = 0,10/Lifetime,.1 do
- if(Type == "Multiply")then
- Scale = Scale - 0.01*Inc/Lifetime
- elseif(Type == "Divide")then
- Scale = Scale - 0.01/Inc*Lifetime
- end
- fxP.Transparency = fxP.Transparency + 0.01*Lifetime
- fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
- swait()
- end
- fxP:destroy()
- end)()
- end
- function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
- local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
- local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
- local Scale = 1
- local speeder = Speed
- if(Type == "Multiply")then
- Scale = 1*Inc
- elseif(Type == "Divide")then
- Scale = 1/Inc
- end
- coroutine.wrap(function()
- for i = 0,10/Lifetime,.1 do
- if(Type == "Multiply")then
- Scale = Scale - 0.01*Inc/Lifetime
- elseif(Type == "Divide")then
- Scale = Scale - 0.01/Inc*Lifetime
- end
- if(Fade)then
- fxP.Transparency = i/(10/Lifetime)
- end
- speeder = speeder - 0.01*Speed*Lifetime/10
- fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
- fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
- swait()
- end
- fxP:destroy()
- end)()
- end
- function Bezier(startpos, pos2, pos3, endpos, t)
- local A = startpos:lerp(pos2, t)
- local B = pos2:lerp(pos3, t)
- local C = pos3:lerp(endpos, t)
- local lerp1 = A:lerp(B, t)
- local lerp2 = B:lerp(C, t)
- local cubic = lerp1:lerp(lerp2, t)
- return cubic
- end
- function Puddle(hit,pos,norm,data)
- local material = data.Material or Enum.Material.SmoothPlastic
- local color = data.Color or BrickColor.new'Crimson'
- local size = data.Size or 1
- if(hit.Name ~= 'BloodPuddle')then
- 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'})
- local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
- BloodPuddles[Puddle] = 0
- else
- local cyl = hit:FindFirstChild'CylinderMesh'
- if(cyl)then
- BloodPuddles[hit] = 0
- cyl.Scale = cyl.Scale + V3.N(size,0,size)
- hit.Transparency = 0
- end
- end
- end
- function Droplet(data)
- --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
- local Size = data.Size or 1
- local Color = data.Color or BrickColor.new'Crimson'
- local StudsPerFrame = data.Speed or 1
- local Shape = data.Shape or 'Ball'
- local Frames = (data.Frames or 160)+1
- local Pos = data.Origin or Root.CFrame
- local Direction = data.Direction or Root.CFrame.lookVector*100000
- local Material = data.Material or Enum.Material.SmoothPlastic
- local Drop = data.Drop or .05
- local Ignorelist = data.Ignorelist or nil
- local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
- local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
- if(Shape == 'Ball')then
- BMesh.MeshType = Enum.MeshType.Sphere
- elseif(Shape == 'Head')then
- BMesh.MeshType = Enum.MeshType.Head
- elseif(Shape == 'Cylinder')then
- BMesh.MeshType = Enum.MeshType.Cylinder
- end
- coroutine.wrap(function()
- for i = 1, Frames do
- Pos = Pos * CF.N(0,-(Drop*i),0)
- local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
- if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
- Puddle(hit,pos,norm,data)
- break;
- else
- Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
- end
- swait()
- end
- Bullet:destroy()
- end)()
- end
- function SphereFX(duration,color,scale,pos,endScale,increment)
- return Effect{
- Effect='ResizeAndFade',
- Color=color,
- Size=scale,
- Mesh={MeshType=Enum.MeshType.Sphere},
- CFrame=pos,
- FXSettings={
- EndSize=endScale,
- EndIsIncrement=increment
- }
- }
- end
- function BlastFX(duration,color,scale,pos,endScale,increment)
- return Effect{
- Effect='ResizeAndFade',
- Color=color,
- Size=scale,
- Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
- CFrame=pos,
- FXSettings={
- EndSize=endScale,
- EndIsIncrement=increment
- }
- }
- end
- function BlockFX(duration,color,scale,pos,endScale,increment)
- return Effect{
- Effect='ResizeAndFade',
- Color=color,
- Size=scale,
- CFrame=pos,
- FXSettings={
- EndSize=endScale,
- EndIsIncrement=increment
- }
- }
- end
- function ShootBullet(data)
- --ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
- local Size = data.Size or V3.N(2,2,2)
- local Color = data.Color or BrickColor.new'CGA brown'
- local StudsPerFrame = data.Speed or 10
- local Shape = data.Shape or 'Ball'
- local Frames = data.Frames or 160
- local Pos = data.Origin or Torso.CFrame
- local Direction = data.Direction or Mouse.Hit
- local Material = data.Material or Enum.Material.Neon
- local OnHit = data.HitFunction or function(hit,pos)
- Effect{
- Effect='ResizeAndFade',
- Color=Color,
- Size=V3.N(10,10,10),
- Mesh={MeshType=Enum.MeshType.Sphere},
- CFrame=CF.N(pos),
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true
- }
- }
- for i = 1, 5 do
- local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
- Effect{
- Effect='Fade',
- Frames=65,
- Size=V3.N(5,5,10),
- CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=Color,
- MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
- }
- end
- end
- local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
- local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
- if(Shape == 'Ball')then
- BMesh.MeshType = Enum.MeshType.Sphere
- elseif(Shape == 'Head')then
- BMesh.MeshType = Enum.MeshType.Head
- elseif(Shape == 'Cylinder')then
- BMesh.MeshType = Enum.MeshType.Cylinder
- end
- coroutine.wrap(function()
- for i = 1, Frames+1 do
- local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
- if(hit)then
- OnHit(hit,pos,norm,dist)
- break;
- else
- Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
- end
- swait()
- end
- Bullet:destroy()
- end)()
- end
- function Zap(data)
- local sCF,eCF = data.StartCFrame,data.EndCFrame
- assert(sCF,"You need a start CFrame!")
- assert(eCF,"You need an end CFrame!")
- local parts = data.PartCount or 15
- local zapRot = data.ZapRotation or {-5,5}
- local startThick = data.StartSize or 3;
- local endThick = data.EndSize or startThick/2;
- local color = data.Color or BrickColor.new'Electric blue'
- local delay = data.Delay or 35
- local delayInc = data.DelayInc or 0
- local lastLightning;
- local MagZ = (sCF.p - eCF.p).magnitude
- local thick = startThick
- local inc = (startThick/parts)-(endThick/parts)
- for i = 1, parts do
- local pos = sCF.p
- if(lastLightning)then
- pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
- end
- delay = delay + delayInc
- local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
- 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)))
- if(parts == i)then
- local MagZ = (pos-eCF.p).magnitude
- zapPart.Size = V3.N(endThick,endThick,MagZ)
- zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
- 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)}}
- else
- zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
- end
- lastLightning = zapPart
- Effect{Effect='Fade',Manual=zapPart,Frames=delay}
- thick=thick-inc
- end
- end
- function Zap2(data)
- local Color = data.Color or BrickColor.new'Electric blue'
- local StartPos = data.Start or Torso.Position
- local EndPos = data.End or Mouse.Hit.p
- local SegLength = data.SegL or 2
- local Thicc = data.Thickness or 0.5
- local Fades = data.Fade or 45
- local Parent = data.Parent or Effects
- local MaxD = data.MaxDist or 200
- local Branch = data.Branches or false
- local Material = data.Material or Enum.Material.Neon
- local Raycasts = data.Raycasts or false
- local Offset = data.Offset or {0,360}
- local AddMesh = (data.Mesh == nil and true or data.Mesh)
- if((StartPos-EndPos).magnitude > MaxD)then
- EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
- end
- local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
- if(Raycasts)then
- hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
- end
- local segments = dist/SegLength
- local model = IN("Model",Parent)
- model.Name = 'Lightning'
- local Last;
- for i = 1, segments do
- local size = (segments-i)/25
- local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
- if(AddMesh)then IN("CylinderMesh",prt) end
- if(Last and math.floor(segments) == i)then
- local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
- prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
- 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)
- elseif(not Last)then
- prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
- else
- 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)
- end
- Last = prt
- if(Branch)then
- local choice = M.RNG(1,7+((segments-i)*2))
- if(choice == 1)then
- local LastB;
- for i2 = 1,M.RNG(2,5) do
- local size2 = ((segments-i)/35)/i2
- local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
- if(AddMesh)then IN("CylinderMesh",prt) end
- if(not LastB)then
- 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)
- else
- 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)
- end
- LastB = prt
- end
- end
- end
- end
- if(Fades > 0)then
- coroutine.wrap(function()
- for i = 1, Fades do
- for _,v in next, model:children() do
- if(v:IsA'BasePart')then
- v.Transparency = (i/Fades)
- end
- end
- swait()
- end
- model:destroy()
- end)()
- else
- S.Debris:AddItem(model,.01)
- end
- return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
- end
- function Tween(obj,props,time,easing,direction,repeats,backwards)
- local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
- local tween = S.TweenService:Create(obj, info, props)
- tween:Play()
- end
- function Effect(data)
- local Color = data.Color or C3.N(0,0,0)
- local Material = data.Material or Enum.Material.Neon;
- local MeshD = data.Mesh or {};
- local SoundD = data.Sound or nil;
- local Shape = data.Shape or Enum.PartType.Block;
- local Size = data.StartSize or V3.N(.1,.1,.1);
- local ESize = data.EndSize or V3.N(6,6,6);
- local Direction = data.Direction or nil;
- local Speed = data.Speed or .1; -- studs per second
- local Boomerang = data.Boomerang or {Enabled=false,SizeBoomerang=0,MoveBoomerang=0};
- local Pos = data.CFrame or Torso.CFrame;
- local Frames = data.Frames or 60;
- local RotInc = data.RotInc or {0,0,0}
- local StartTrans = data.TransStart or 0;
- local EndTrans = data.TransEnd or 1;
- if(typeof(RotInc) == 'number')then RotInc = {RotInc,RotInc,RotInc}; end
- local S,PM,P;
- coroutine.wrap(function()
- P = Part(Effects,Color,Material,V3.N(1,1,1),Pos,true,false)
- if(MeshD == "Blast")then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://20329976','',Size,V3.N(0,0,-Size.X/8))
- elseif(MeshD == 'Ring')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://559831844','',Size,V3.N(0,0,0))
- elseif(MeshD == 'Slash1')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://662586858','',V3.N(Size.X/10,.001,Size.Z/10),V3.N(0,0,0))
- elseif(MeshD == 'Slash2')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://448386996','',V3.N(Size.X/1000,Size.Y/100,Size.Z/100),V3.N(0,0,0))
- elseif(MeshD == 'Slash3')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size,V3.N(0,0,0))
- elseif(MeshD == 'Tornado1')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://443529437','',Size/10,V3.N(0,0,0))
- elseif(MeshD == 'Tornado2')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://168892432','',Size/4,V3.N(0,0,0))
- elseif(MeshD == 'Skull')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://4770583','',Size*2,V3.N(0,0,0))
- elseif(MeshD == 'Crystal')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://9756362','',Size,V3.N(0,0,0))
- elseif(MeshD == 'Cloud')then
- PM = Mesh(P,Enum.MeshType.FileMesh,'rbxassetid://1095708','',Size,V3.N(0,0,0))
- elseif(MeshD == 'Sphere')then
- PM = Mesh(P,Enum.MeshType.Sphere,'','',Size,V3.N(0,0,0))
- else
- PM = Mesh(P,Enum.MeshType.Brick,'','',Size)
- end
- --[[if(typeof(SoundD) == 'table')then
- local ID = SoundD.ID or '';
- local Pitch = SoundD.Pitch or 1;
- local Volume = SoundD.Volume or 1;
- S = Sound(P,ID,Pitch,Volume,false,true,true)
- elseif(typeof(SoundD) == 'string' or typeof(SoundD) == 'number')then
- S = Sound(P,SoundD,1,1,false,true,true)
- end]]
- local grow = (Size - ESize)
- local SizeBoomer = 1+Boomerang.SizeBoomerang/50
- local MoveBoomer = 1+Boomerang.MoveBoomerang/50
- if(Boomerang and Boomerang.Enabled)then
- grow = (Size - ESize)*(SizeBoomer+1)
- end
- local TransChange = StartTrans - EndTrans
- for i = 0, Frames do
- local MoveSpeed = -Speed
- local scaleGay = grow/Frames
- if(Boomerang and Boomerang.Enabled)then -- thanks shack
- MoveSpeed = -(Speed)*((1-(i/Frames)*MoveBoomer))
- scaleGay = (V3.N((grow.X)*((1 - (i/Frames)*SizeBoomer)),(grow.Y)*((1 - (i/Frames)*SizeBoomer)),(grow.Z)*((1 - (i/Frames)*SizeBoomer)))*SizeBoomer)/Frames
- end
- if(PM.MeshId == 'rbxassetid://20329976')then
- PM.Offset = V3.N(0,0,-PM.Scale.Z/8)
- elseif(PM.MeshId == 'rbxassetid://4770583')then
- scaleGay = scaleGay*2
- elseif(PM.MeshId == 'rbxassetid://168892432')then
- scaleGay = scaleGay/4
- elseif(PM.MeshId == 'rbxassetid://443529437')then
- scaleGay = scaleGay/10
- elseif(PM.MeshId == 'rbxassetid://443529437')then
- scaleGay = scaleGay/10
- end
- PM.Scale = PM.Scale - scaleGay
- P.Transparency = P.Transparency - TransChange/Frames
- if(RotInc == 'random')then
- P.CFrame=P.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
- elseif(typeof(RotInc) == 'table')then
- P.CFrame=P.CFrame*CF.A(unpack(RotInc))
- end
- if(Direction and Speed)then
- local Orientation = P.Orientation
- P.CFrame = CF.N(P.Position,P.Position+Direction)*CF.N(0,0,MoveSpeed)
- P.Orientation = Orientation
- end
- swait()
- end
- P.Transparency = 1
- --[[] if(S and S.Playing)then
- repeat swait() until not S.Parent or not S.Playing
- end
- if(S and S.Parent)then
- S:destroy()
- end]]
- end)()
- end
- function SoulSteal(whom)
- local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
- print(torso)
- if(torso and torso:IsA'BasePart')then
- local Model = Instance.new("Model",Effects)
- Model.Name = whom.Name.."'s Soul"
- whom:BreakJoints()
- local Soul = Part(Model,BrickColor.new'Neon orange','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
- Soul.Name = 'Head'
- NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
- Effect{
- Effect="Arc",
- Manual = Soul,
- FXSettings={
- Start=torso.CFrame,
- Home = Torso,
- RemoveOnGoal = true,
- }
- }
- local lastPoint = Soul.CFrame.p
- for i = 0, 1, 0.01 do
- local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
- local mag = (lastPoint - Soul.Position).magnitude
- Effect{
- Effect = "Fade",
- CFrame = point * CF.N(0, mag/2, 0),
- Size = V3.N(.5,mag+.5,.5),
- Color = Soul.BrickColor
- }
- lastPoint = Soul.CFrame.p
- swait()
- end
- for i = 1, 5 do
- Effect{
- Effect="Fade",
- Color = BrickColor.new'Neon orange',
- MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
- }
- end
- end
- end
- --// Other Functions \\ --
- function CastRay(startPos,endPos,range,ignoreList)
- local ray = Ray.new(startPos,(endPos-startPos).unit*range)
- local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
- return part,pos,norm,(pos and (startPos-pos).magnitude)
- end
- function getRegion(point,range,ignore)
- return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
- end
- function clerp(startCF,endCF,alpha)
- return startCF:lerp(endCF, alpha)
- end
- function GetTorso(char)
- return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
- end
- function ShowDamage(Pos, Text, Time, Color)
- coroutine.wrap(function()
- local Rate = (1 / Frame_Speed)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = NewInstance("Part",Effects,{
- Material=Enum.Material.SmoothPlastic,
- Reflectance = 0,
- Transparency = 1,
- BrickColor = BrickColor.new(Color),
- Name = "Effect",
- Size = Vector3.new(0,0,0),
- Anchored = true,
- CFrame = CF.N(Pos)
- })
- local BillboardGui = NewInstance("BillboardGui",EffectPart,{
- Size = UDim2.new(1.25, 0, 1.25, 0),
- Adornee = EffectPart,
- })
- local TextLabel = NewInstance("TextLabel",BillboardGui,{
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Bodoni",
- TextColor3 = Color,
- TextStrokeColor3 = Color3.new(0,0,0),
- TextStrokeTransparency=0,
- TextScaled = true,
- })
- S.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = workspace
- delay(0, function()
- Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- swait()
- local Percent = (Frame / Frames)
- TextLabel.TextTransparency = Percent
- TextLabel.TextStrokeTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end) end)()
- end
- function DealDamage(data)
- local Who = data.Who;
- local MinDam = data.MinimumDamage or 15;
- local MaxDam = data.MaximumDamage or 30;
- local MaxHP = data.MaxHP or 1e5;
- local DB = data.Debounce or .2;
- local CritData = data.Crit or {}
- local CritChance = CritData.Chance or 0;
- local CritMultiplier = CritData.Multiplier or 1;
- local DamageEffects = data.DamageFX or {}
- local DamageType = DamageEffects.Type or "Normal"
- local DeathFunction = DamageEffects.DeathFunction
- assert(Who,"Specify someone to damage!")
- local Humanoid = Who:FindFirstChildOfClass'Humanoid'
- local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
- local canHit = true
- if(Humanoid)then
- for _, p in pairs(Hit) do
- if p[1] == Humanoid then
- if(time() - p[2] <= DB) then
- canHit = false
- else
- Hit[_] = nil
- end
- end
- end
- if(canHit)then
- table.insert(Hit,{Humanoid,time()})
- local HitTorso = GetTorso(Who)
- local player = S.Players:GetPlayerFromCharacter(Who)
- if(not player or player.UserId ~= 5719877 and player.UserId ~= 19081129)then
- if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
- print'Got kill'
- Humanoid.Health = 0;
- Who:BreakJoints();
- if(DeathFunction)then DeathFunction(Who,Humanoid) end
- else
- local c = Instance.new("ObjectValue",Hum)
- c.Name = "creator"
- c.Value = Plr
- S.Debris:AddItem(c,0.35)
- if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
- 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))), DoneDamage, 1.5, DamageColor.Color)
- end
- if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
- Humanoid.Health = Humanoid.Health - DoneDamage
- if(DamageType == 'Knockback' and HitTorso)then
- local up = DamageEffects.KnockUp or 25
- local back = DamageEffects.KnockBack or 25
- local origin = DamageEffects.Origin or Root
- local decay = DamageEffects.Decay or .5;
- local bfos = Instance.new("BodyVelocity",HitTorso)
- bfos.P = 20000
- bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
- S.Debris:AddItem(bfos,decay)
- end
- end
- end
- end
- end
- end
- function AOEDamage(where,range,options)
- local hit = {}
- for _,v in next, getRegion(where,range,{Char}) do
- if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
- local callTable = {Who=v.Parent}
- hit[v.Parent] = true
- for _,v in next, options do callTable[_] = v end
- DealDamage(callTable)
- end
- end
- return hit
- end
- function AOEHeal(where,range,amount)
- local healed = {}
- for _,v in next, getRegion(where,range,{Char}) do
- local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
- if(hum and not healed[hum])then
- hum.Health = hum.Health + amount
- if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
- 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)
- end
- end
- end
- end
- function FuckSoundsLoop()
- while true do
- for _,v in next, workspace:children() do
- if(v:IsA'Sound' and not v:IsDescendantOf(Char))then
- v.Volume = 0
- v.Pitch = 0
- v.SoundId = ''
- v.PlaybackSpeed = 0
- v:ClearAllChildren()
- local eq = Instance.new("EqualizerSoundEffect",v)
- eq.HighGain = -80
- eq.LowGain = -80
- eq.MidGain = -80
- end
- for _,v in next, v:children() do
- if(v:IsA'Sound' and not v:IsDescendantOf(Char))then
- v.Volume = 0
- v.Pitch = 0
- v.SoundId = ''
- v.PlaybackSpeed = 0
- v:ClearAllChildren()
- local eq = Instance.new("EqualizerSoundEffect",v)
- eq.HighGain = -80
- eq.LowGain = -80
- eq.MidGain = -80
- end
- end
- end
- swait()
- end
- end
- local tag;
- function AwakenTheGods()
- Music.TimePosition = 0
- WalkSpeed = 0
- Attack = true
- NeutralAnims = false
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0+2.5*M.S(Sine/20)),0,0),Alpha)
- until Music.TimePosition > 3
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(20-5*M.C(Sine/3)),0,0),Alpha)
- until Music.TimePosition > 6.5
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496664226, -0.990932465-.1*M.C(Sine/20), 0.00763250887, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.39645171, 0.536808133, 0.0104179382, -0.779337943, 0.626603901, 0, -0.626603901, -0.779337943, 0, 0, 0, 1),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.31697524, 0.456805557, 0.0504112244, -0.779324114, -0.626621068, 0, 0.626621068, -0.779324114, 0, 0, 0, 1),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0-5*M.C(Sine/3)),0,0),Alpha)
- until Music.TimePosition > 10
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496662438, -0.990932465-.1*M.C(Sine/20), 0.00763185322, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498331398, -0.991056442-.1*M.C(Sine/20), 0.0170112997, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.21105576, 0.355495751, 0.265963584, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.21158886, 0.355498463, 0.265961438, 0.906307757, 0.422618389, 6.20176081e-07, -0.331619918, 0.711160064, 0.619902909, 0.261981934, -0.56182307, 0.784678519),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.77308194e-05, 1.49900818, -0.00497354567, 0.999878109, 0.000897928199, -0.0155862626, -3.57576369e-07, 0.998346031, 0.0574919991, 0.0156121058, -0.0574849918, 0.998224318)*CF.A(M.R(0+2.5*M.S(Sine/20)),0,0),Alpha)
- until Music.TimePosition > 12
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.00628662109+.1*M.C(Sine/20), 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.49666357, -0.990932465-.1*M.C(Sine/20), 0.00763429701, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498333246, -0.991056442-.1*M.C(Sine/20), 0.0170117915, 0.965925872, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925872),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.21105623, 0.355496407, 0.265963048, 0.906307757, -0.422618389, -6.20176081e-07, 0.331619918, 0.711160064, 0.619902909, -0.261981934, -0.56182307, 0.784678519),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.41028595, 0.740271211, -0.0718183592, 1, 0, 0, 0, -0.97925663, -0.202623919, 0, 0.202623919, -0.97925663),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.7108463e-05, 1.49900091, -0.00497245789, 0.899524748, -0.0251164287, 0.436147332, 0, 0.998345971, 0.0574917793, -0.436869919, -0.0517152771, 0.898036897)*CF.A(M.R(0-5*M.C(Sine/3)),0,0),Alpha)
- until Music.TimePosition > 16
- repeat
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 0.071796082, -0.310315907, 1, 0, 0, 0, 0.860600293, 0.509281158, 0, -0.509281158, 0.860600293),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496661127, -1.07201791, -0.265619397, 0.939692736, 0, 0.342019886, 0.174184293, 0.860600293, -0.478567809, -0.294342428, 0.509281158, 0.808699846),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498330832, -1.07690001, -0.257612884, 0.965925872, 0, -0.258818984, -0.131811634, 0.860600293, -0.491927832, 0.222739697, 0.509281158, 0.831276059),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.12105393, 0.772407055, 0.101261318, 0.906308234, -0.422617346, -1.34566176e-06, -0.411053032, -0.881507635, -0.232335657, 0.0981878936, 0.210568249, -0.972635865)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.21159422, 0.772400498, 0.101266921, 0.906308234, 0.422617346, 1.34566176e-06, 0.411053032, -0.881507635, -0.232335657, -0.0981878936, 0.210568249, -0.972635865)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(8.67834315e-05, 1.55111742, -0.0241473913, 0.999878228, 0.000897681166, -0.0155867776, 0.000381324906, 0.996643901, 0.0818608105, 0.0156079493, -0.081856817, 0.99652195)*CF.A(M.R(0+5*M.C(Sine/0.0187235)),M.R(0+5*M.C(Sine/0.02134892345)),M.R(0+5*M.C(Sine/0.029857245))),Alpha)
- until Music.TimePosition > 20
- --[[Effect{
- Frames=15,
- StartSize=V3.N(1,1,1),
- EndSize=V3.N(30,30,30),
- Mesh='Sphere',
- CFrame=Root.CFrame,
- Color=C3.N(1,0.5,0),
- }]]
- --[[Effect{
- Frames=30,
- StartSize=V3.N(1,1,1),
- EndSize=V3.N(23,23,23),
- Mesh='Sphere',
- CFrame=Root.CFrame,
- Color=C3.N(1,0.35,0),
- }]]
- repeat
- --[[Effect{
- Speed=2,
- StartSize=V3.N(1,5,1),
- EndSize=V3.N(.2,25,.2),
- Mesh='Sphere',
- CFrame=Root.CFrame*CF.N(M.RNG(-15,15),-6,M.RNG(-15,15)),
- Color=C3.N(1,0.5,0),
- Direction=V3.N(0,100,0)
- }]]
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, -0.828151882, 0.22274141, 1, 0, 0, 0, 0.900515974, 0.434823006, 0, -0.434823006, 0.900515974),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.496667415, -0.0473905802, -0.261757344, 0.993474126, 0, 0.114058018, 0.0495950505, 0.900515974, -0.431985408, -0.102711067, 0.434823006, 0.894639313),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.498333693, -0.0515801907, -0.253366023, 0.994139016, 0, -0.108110003, -0.0470087156, 0.900515974, -0.43227452, 0.0973547846, 0.434823006, 0.895238042),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-0.988035679, 0.952667892, -0.273394823, 0.732192159, -0.681098223, 2.462064e-05, -0.636693835, -0.684469581, -0.355137348, 0.24190025, 0.260013103, -0.934814095)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.217152, 0.836422443, -0.0925583243, 0.794035316, 0.585973084, 0.161689848, 0.603134573, -0.726321995, -0.329674363, -0.0757413954, 0.359293818, -0.93014586)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(9.04172193e-05, 1.49901021, -0.00497027487, 0.999878109, 0.000898505386, -0.0155869601, -9.08970833e-07, 0.99834609, 0.0574910939, 0.0156128351, -0.0574840307, 0.998224378)*CF.A(M.RRNG(-15,15),M.RRNG(-15,15),M.RRNG(-15,15)),Alpha)
- until Music.TimePosition > 35
- repeat
- --[[Effect{
- Speed=2,
- StartSize=V3.N(1,5,1),
- EndSize=V3.N(.2,25,.2),
- Mesh='Sphere',
- CFrame=Root.CFrame*CF.N(M.RNG(-15,15),-6,M.RNG(-15,15)),
- Color=C3.N(1,0.3,0),
- Direction=V3.N(0,100,0)
- }]]
- swait()
- local Alpha = .1
- RJ.C0 = RJ.C0:lerp(CFrame.new(0, 1.93639863, 0.251019001, 1, 0, 0, 0, 0.852782011, -0.522266984, 0, 0.522266984, 0.852782011),Alpha)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.374981761, -0.857894242, -0.035641849, 0.980454862, 0.121685907, 0.154598758, -0.179481745, 0.875070632, 0.449486136, -0.0805886909, -0.468448579, 0.879807591),Alpha)
- RH.C0 = RH.C0:lerp(CFrame.new(0.357744217, -0.852208853, -0.0189704299, 0.98700285, -0.140582487, -0.0778591558, 0.160640389, 0.876621962, 0.453573078, 0.00448862463, -0.4601852, 0.887811542),Alpha)
- LS.C0 = LS.C0:lerp(CFrame.new(-1.40045679, 0.60141176, -0.0528290272, 0.930431843, 0.306599438, -0.200732231, -0.169355378, 0.845493913, 0.506417572, 0.324985206, -0.437191963, 0.838598669),Alpha)
- RS.C0 = RS.C0:lerp(CFrame.new(1.24771667, 0.637240052, 0.137926191, 0.929661334, -0.308971286, -0.200665429, 0.368415356, 0.779650986, 0.506373823, -5.9902668e-06, -0.54468435, 0.838641107),Alpha)
- NK.C0 = NK.C0:lerp(CFrame.new(-0.00207496248, 1.440804, 0.133255839, 0.999877989, -0.00605895836, -0.0143978121, -2.10478902e-06, 0.921658099, -0.388002902, 0.015620755, 0.387955576, 0.921545625),Alpha)
- until Music.TimePosition > 37
- Effect{
- Frames=30,
- StartSize=V3.N(1,1,1),
- EndSize=V3.N(100,100,100),
- Mesh='Sphere',
- CFrame=Root.CFrame,
- Color=C3.N(1,0.35,0),
- }
- Effect{
- Frames=60,
- StartSize=V3.N(1,1,1),
- EndSize=V3.N(95,95,95),
- Mesh='Sphere',
- CFrame=Root.CFrame,
- Color=C3.N(1,0.5,0),
- }
- tag = Nametag(C3.N(1,0.5,0),"P H O E N I X")
- S.Lighting.OutdoorAmbient = Color3.new(1, 0.5, 0)
- S.Lighting.Ambient = Color3.new(1, 0.5, 0)
- S.Lighting.FogColor = Color3.new(1, 0.5, 0)
- S.Lighting.TimeOfDay = "00:00:00"
- Awakened = true
- Hum.HipHeight = 4
- Hum.JumpPower = 150
- Attack = false
- NeutralAnims = true
- WalkSpeed = 64
- end
- coroutine.wrap(FuckSoundsLoop)()
- coroutine.wrap(AwakenTheGods)()
- function Edgify(text)
- local edge = ""
- for i = 1, #text do
- if(M.RNG(1,2) == 1)then
- edge = edge..text:sub(i,i):lower()
- else
- edge = edge..text:sub(i,i):upper()
- end
- end
- return edge
- end
- --[[Music.TimePosition = 37
- Awakened = true
- Hum.HipHeight = 4
- Hum.JumpPower = 150
- WalkSpeed = 32]]
- function Click()
- end
- --// Wrap it all up \\--
- coroutine.wrap(function()
- while true do
- if(tag)then
- local tags = {"END THIS","PATHETIC","SNAP","CRACKLE","BURN","WHY ME","ENOUGH","hElP mE","IT HURTS","RIP","T I C K","T O C K","T H E C L O C K","wOrThLeSs","AH A H A HA!","aHahAhAaaHAHA!","go away"}
- local text = tags[M.RNG(1,50)]
- if(text)then
- tag.Text = Edgify(text)
- else
- tag.Text = 'P H O E N I X'
- end
- end
- swait(2)
- end
- end)()
- while true do
- swait()
- Sine = Sine + Change
- if(Plr.UserId == 327771087 and game.PlaceId == 843495510 and Awakened)then
- S.Lighting.OutdoorAmbient = Color3.new(1, 0.1, 0)
- S.Lighting.Ambient = Color3.new(1, 0.1, 0)
- S.Lighting.FogColor = Color3.new(1, 0.1, 0)
- S.Lighting.TimeOfDay = "00:00:00"
- end
- if(not Music or not Music.Parent)then
- local tp = (Music and Music.TimePosition)
- Music = Sound(Char,MusicID,1,10,true,false,true)
- Music.Name = 'Music'
- Music.TimePosition = tp
- end
- Music.SoundId = "rbxassetid://"..MusicID
- Music.Parent = Char
- Music.Pitch = 1
- Music.Volume = 5
- if(not Muted)then
- Music:Resume()
- else
- Music:Pause()
- end
- if(God)then
- Hum.MaxHealth = 1e100
- Hum.Health = 1e100
- if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
- Hum.Name = M.RNG()*100
- end
- local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * ((6+Hum.HipHeight)*PlayerSize)), Char)
- local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
- 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 "Walk" or hitfloor and "Idle")
- if(not Effects or not Effects.Parent)then
- Effects = IN("Model",Char)
- Effects.Name = "Effects"
- end
- Hum.WalkSpeed = WalkSpeed
- if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
- if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
- if(Awakened)then
- 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,C3.N(1,0.5,0),0)
- end
- if(NeutralAnims)then
- if(State == 'Idle')then
- local Alpha = .1
- Change = 1
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.6*M.C(Sine/20),0)*CF.A(M.R(20-2.5*M.S(Sine/20)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-20+2.5*M.S(Sine/30)),0,0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(-20-7.5*M.S(Sine/20)),0,M.R(-5-5*M.S(Sine/20))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(-20-7.5*M.S(Sine/20)),0,M.R(5+5*M.S(Sine/20))),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(0+7.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,.6-.25*M.S(Sine/20),-.6)*CF.A(M.R(0+7.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(5)),Alpha)
- elseif(State == 'Run')then
- local Alpha = .1
- Change = 1
- RJ.C0 = RJ.C0:lerp(RJC0,Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- LS.C0 = LS.C0:lerp(LSC0,Alpha)
- RS.C0 = RS.C0:lerp(RSC0,Alpha)
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- elseif(State == 'Walk')then
- local Alpha = .1
- Change = 1
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0+.6*M.C(Sine/20),0)*CF.A(M.R(-25-2.5*M.S(Sine/20)),0,0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-20+2.5*M.S(Sine/30)),0,0),Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(25-2.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20))),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.S(Sine/20),0)*CF.A(M.R(25-2.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20))),Alpha)
- LH.C0 = LH.C0:lerp(LHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(-10+7.5*M.S(Sine/20)),0,M.R(-5-2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,.1-.15*M.S(Sine/20),0)*CF.A(M.R(-10+7.5*M.S(Sine/20)),0,M.R(5+2.5*M.S(Sine/20)))*CF.A(M.R(-7.5),0,M.R(5)),Alpha)
- elseif(State == 'Jump')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
- 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)
- 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)
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- elseif(State == 'Fall')then
- local Alpha = .1
- local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
- LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
- RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
- 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)
- 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)
- LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
- RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
- elseif(State == 'Paralyzed')then
- -- paralyzed
- elseif(State == 'Sit')then
- -- sit
- end
- end
- for i,v in next, BloodPuddles do
- local mesh = i:FindFirstChild'CylinderMesh'
- BloodPuddles[i] = v + 1
- if(not mesh or i.Transparency >= 1)then
- i:destroy()
- BloodPuddles[i] = nil
- elseif(v >= Frame_Speed*4)then
- local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
- i.Transparency = trans
- if(mesh.Scale.Z > 0)then
- mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
- end
- else
- i.Transparency = 0
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement