Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Created by Nebula_Zorua --
- -- Two invisible eyes..
- -- Two, invisible, monsterous eyes..
- -- Discord: Nebula the Zorua#6969
- -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
- -- Credit to makhail07 for the idea (lub u bby)
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
- do
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= InternalData.RealOwner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/60) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- return setmetatable({},{
- __index = function (self,Index)
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if Index:lower() == "playertohidefrom" then
- if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
- else
- Real[Index] = Value
- end
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- end
- return Real
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return tostring(RealPlayer) end
- })
- end
- end
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- --//Paste script below this line.
- wait(1)
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local plr = S.Players.LocalPlayer
- 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 sine = 0;
- local combo = 1;
- local lastClick = time()
- local change = 1;
- local runService = S.RunService
- local mouse = plr:GetMouse()
- local Attack = false
- local neutralAnims = true
- local GlitchTime = 0;
- local PaintBody = 'Black'
- local DeleteClothing = true
- local PlayerSize = 2
- local Debounces = {Debounces={}}
- local Hit = {}
- local BloodPuddles = {}
- local Teamed = {}
- hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- hum.MaxHealth = 1e4
- hum.Health = 1e4
- hum.Name = '13'
- Instance.new("ForceField",char).Visible = false
- 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
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local V3 = {N=Vector3.new}
- local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge}
- local Effects,Sounds = {},{};
- --Stop animations
- for _,v in next, hum:GetPlayingAnimationTracks() do
- v:Stop();
- end
- pcall(game.Destroy,char:FindFirstChild'Animate')
- pcall(game.Destroy,hum:FindFirstChild'Animator')
- -- Sounds
- Sounds['Wet'] = {Id=256738023,Loop=false,Pitch=1}
- Sounds['Swoosh1'] = {Id=320557353,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh2'] = {Id=320557382,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh3'] = {Id=320557413,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh4'] = {Id=320557453,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh5'] = {Id=320557487,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh6'] = {Id=320557537,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh7'] = {Id=320557563,Loop=false,Pitch=1,Volume=6}
- Sounds['Swoosh8'] = {Id=320557518,Loop=false,Pitch=1,Volume=6}
- Sounds['SmallBoom'] = {Id=341336485,Loop=false,Volume=5,Pitch=1}
- Sounds['ChaosBuster'] = {Id=333534812,Loop=false,Volume=5,Pitch=0.75}
- Sounds['Magic'] = {Id=315743350,Loop=false,Volume=5,Pitch=1}
- Sounds['ShrekRemix'] = {Id=163306929,Loop=true,Pitch=1,Volume = 4}
- Sounds['CreoDimension'] = {Id=927529620,Loop=true,Pitch=1,Volume=4}
- Sounds['BlackBlizzard'] = {Id=657626121,Loop=true,Pitch=1,Volume=4}
- Sounds['ColbreakzFantasy'] = {Id=876981900,Loop=true,Pitch=1,Volume=4}
- Sounds['NeflCrystals'] = {Id=340106355,Loop=true,Pitch=1,Volume=4}
- Sounds['EvilMortyRemix'] = {Id=1057401232,Loop=true,Pitch=1,Volume=10}
- Sounds['Astronaut13'] = {Id=723652641,Loop=true,Pitch=0.9,Volume=10}
- -- Functions
- local NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- ArtificialHB = NewInstance("BindableEvent", script,{
- Parent = script,
- Name = "Heartbeat",
- })
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat: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
- script.Heartbeat: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
- function ClearChildrenWithClass(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
- function clerp(startCF,endCF,alpha)
- return startCF:lerp(endCF, alpha)
- end
- local sndFromData = function(data,parent)
- assert(typeof(data) == 'table',"sndFromData's first argument must be a table!")
- local snd = NewInstance("Sound",parent or char,{SoundId = "rbxassetid://"..data.Id,Looped=data.Loop or false,Pitch = data.Pitch or 1,Volume = data.Volume or 1})
- if(not snd.Looped)then
- snd.Ended:connect(function()
- snd:Stop()
- snd:destroy()
- end)
- end
- return snd;
- end
- local FX = function(ID,vol,pitch,parent)
- local snd = NewInstance("Sound",parent or torso, {Pitch=pitch or 1, Volume = vol or 1,SoundId = "rbxassetid://"..ID})
- snd:Play()
- repeat wait() until snd.IsLoaded and snd.IsPlaying
- delay(snd.TimePosition+.5,function()
- snd:Stop()
- snd:Destroy()
- end)
- end
- function Fragment(part,number,delayE)
- part.Anchored = true
- local Fragments = NewInstance("Folder",part.Parent,{Name='Fragmentation'})
- local Size = V3.N(part.Size.X/number,part.Size.Y/number,part.Size.Z/number)
- local Start = CF.N((part.CFrame.X-part.Size.X/2) + Size.X/2,(part.CFrame.Y-part.Size.Y/2) + Size.Y/2,(part.CFrame.Z-part.Size.Z/2) + Size.Z/2)
- for x = 0, number-1 do
- for y = 0, number-1 do
- for z = 0, number-1 do
- local frag = NewInstance('Part',Fragments,{Anchored=true,Size=Size,BrickColor=part.BrickColor,Material=part.Material,Transparency=part.Transparency,Reflectance=part.Reflectance,CanCollide=true,CFrame=CF.N(Start.X+x*Size.X,Start.Y+y*Size.Y,Start.Z+z*Size.Z)})
- if(delayE ~= false)then swait(delayE or nil) end
- end
- end
- end
- part:destroy()
- return Fragments
- end
- function halfit(v)
- v:ClearAllChildren()
- v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
- v.Name = v.Name.."Half"
- local a = v:Clone()
- a.Parent = v.Parent
- a.CFrame = CF.N(1,1,-.5) * v.CFrame
- v.CFrame = CF.N(1,1,.5) * v.CFrame
- return a,v
- end
- function Fragment2(v)
- v:ClearAllChildren()
- local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'})
- v.Archivable = true
- -- X
- v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z)
- v.Name = v.Name.."Fragment"
- local a = v:Clone()
- a.Parent = Fragments
- a.CFrame = CF.N(-.5,1,1) * a.CFrame
- v.CFrame = CF.N(.5,1,1) * v.CFrame
- -- Y
- v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z)
- local a = v:Clone()
- a.Parent = Fragments
- a.CFrame = CF.N(1,-.5,1) * a.CFrame
- v.CFrame = CF.N(1,.5,1) * v.CFrame
- -- Z
- v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2)
- local a = v:Clone()
- a.Parent = Fragments
- a.CFrame = CF.N(1,1,-.5) * a.CFrame
- v.CFrame = CF.N(1,1,.5) * v.CFrame
- v.Parent = Fragments
- return Fragments
- end
- function UnbindLoops()
- pcall(runService.UnbindFromRenderStep,runService,"N_Effects")
- pcall(runService.UnbindFromRenderStep,runService,"N_Animations")
- end;
- UnbindLoops() -- Just so if the loops already exist from previously running a script using this template, there's no errors
- -- Model
- game:service'Lighting'.FogEnd = 100
- game:service'Lighting'.FogStart = 0
- game:service'Lighting'.FogColor = BrickColor.new'Black'.Color
- game:service'Lighting'.ClockTime = 22
- local Sky = Instance.new("Sky",game:service'Lighting')
- Sky.MoonAngularSize = 30
- Sky.MoonTextureId = "http://www.roblox.com/asset/?id=156679858"
- local Music = sndFromData(Sounds.Astronaut13,torso) -- incase u want music
- Music.MaxDistance = 500
- Music:Play()
- local Distorted = NewInstance("EqualizerSoundEffect",Music,{MidGain=0,HighGain=0,LowGain=0})
- ClearChildrenWithClass(char,"Decal",true)
- ClearChildrenWithClass(char,"Clothing",true)
- -- Joints, etc
- if(PaintBody)then
- char['Body Colors'].LeftArmColor = BrickColor.new(PaintBody)
- char['Body Colors'].RightArmColor = BrickColor.new(PaintBody)
- char['Body Colors'].LeftLegColor = BrickColor.new(PaintBody)
- char['Body Colors'].RightLegColor = BrickColor.new(PaintBody)
- char['Body Colors'].TorsoColor = BrickColor.new(PaintBody)
- char['Body Colors'].HeadColor = BrickColor.new(PaintBody)
- end
- local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
- FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
- RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
- LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
- RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
- LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize)
- 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 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 HW = NewInstance('Motor',char,{Part0=rarm,Part1=Handle,C0 = CF.N(0,.5,0)})
- -- watevr
- -- Default C0s
- local LSD=LS.C0
- local RSD=RS.C0
- local HD=NK.C0
- local TD=RJ.C0
- local LHD=LH.C0
- local RHD=RH.C0
- -- Check State
- function CheckState(rPart)
- if(math.abs(rPart.Velocity.x) > 2 or math.abs(rPart.Velocity.z) > 2)then
- return 'Walk';
- end
- return 'Idle';
- end
- -- Effect Functions
- function SphereFX(duration,color,scale,pos,endScale)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1,1,1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
- return rng
- end
- function BlastFX(duration,color,scale,pos,endScale)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1,1,1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- rngm.MeshId = 'rbxassetid://20329976'
- rngm.Scale = scale
- table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
- return rng
- end
- function BlockFX(duration,color,scale,pos,endScale)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1,1,1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("BlockMesh", rng)
- rngm.Scale = scale
- table.insert(Effects, {Frame = 0, Effect="Block", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
- return rng
- end
- function LaserFX(duration,color,cframe,scale,endScale)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Material = Enum.Material.Neon
- rng.Name = "Laser"
- rng.Size = Vector3.new(.5,.5,.5)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = cframe
- local rngm = Instance.new("CylinderMesh", rng)
- rngm.Scale = scale
- table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = cframe})
- return rng
- end
- function BloodDrop(pos,dir,maxsize)
- local owo = NewInstance("Part",char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false})
- owo.CFrame=CF.N(pos,dir)
- local bv = Instance.new("BodyVelocity",owo)
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15
- bv.Name = "MOVE"
- game:service'Debris':AddItem(bv,0.05)
- local touch
- touch = owo.Touched:connect(function(hit)
- if(hit.Anchored==true)then
- touch:disconnect()
- BloodPuddle(owo.Position+V3.N(0,1,0),10,maxsize,owo)
- owo:destroy()
- end
- end)
- end
- function BloodPuddle(position,range,maxSize,where)
- local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new(
- position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range
- ),{where,char},false,true)
- if(hit)then
- if(BloodPuddles[hit])then
- BloodPuddles[hit].Frame = 0
- if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then
- hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1)
- end
- else
- local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),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] = {MaxSize=maxSize or 7,Frame=0}
- end
- end
- end
- function ShatterFX(duration,color,scale,cframe)
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1,1,1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = cframe * CF.fEA(M.RNG(-50, 50), M.RNG(-50, 50), M.RNG(-50, 50))
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.Scale = scale
- rngm.MeshType = "Sphere"
- table.insert(Effects, {Frame = 0, Effect="Shatter", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale,Position=rng.CFrame})
- end
- function RingFX(duration,color,scale,pos,endScale)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1,1,1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "rbxassetid://3270017"
- rngm.Scale = scale
- table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos})
- return rng
- end
- function Shoot(StartCF,EndCF,Spread,Speed,Num,Color,Drop,MinDamage,MaxDamage)
- local Spread = V3.N(M.RNG(-Spread,Spread),M.RNG(-Spread,Spread),M.RNG(-Spread,Spread))
- local Start = StartCF.p
- local End = EndCF.p
- local SpreadPos = End + Spread
- local Look = CF.N((Start + SpreadPos) / 2, SpreadPos)
- local Count = Num
- spawn(function()
- repeat
- wait()
- local hit, pos = workspace:findPartOnRay(Ray.new(
- Start,(Look.lookVector).unit * Speed
- ),char,false,true)
- local dist = (Start-pos).magnitude
- local yScale = dist * (Speed / (Speed/2))
- local aa = CF.N((Start + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0)
- LaserFX(25,Color,aa,Vector3.new(1,yScale,1),Vector3.new(-1,yScale,-1))
- Start = Start + Look.lookVector * Speed
- Look = Look * CF.A(M.R(Drop or -1),0,0)
- Count = Count - 1
- if(hit)then
- Count = 0
- MagniDamage(pos,10,MinDamage,MaxDamage,0,'Normal')
- end
- if(Count <= 0)then
- local sphere = SphereFX(25,Color,Vector3.new(5,5,5),CF.N(pos),Vector3.new(15,15,15))
- local ring = RingFX(25,Color,Vector3.new(6,6,6),CF.N(pos) * CF.A(0,M.R(90),0) * CF.A(M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360))),Vector3.new(16,16,16))
- end
- until Count <= 0
- end)
- end
- -- Effect Loop
- runService:BindToRenderStep("N_Effects",Enum.RenderPriority.Character.Value + 2,function()
- for _,data in next, Effects do
- local frame,effect,duration = data.Frame,data.Effect,data.Duration
- local transparency = (frame / duration)
- local opacity = 1 - transparency
- if(frame > duration)then
- Effects[_] = nil
- end
- frame = frame + 1
- data.Frame = frame
- if(effect == 'Sphere')then
- local Part,Mesh,Scale,CF,eScale = data.Part,data.Mesh,data.Scale,data.Position,data.EndScale
- Mesh.Scale = Mesh.Scale:lerp(eScale, transparency/6)
- Part.Transparency = transparency
- if(frame > duration)then
- Part:destroy()
- end
- elseif(effect == 'Shatter')then
- local Part,Mesh,Scale,Position,Thingie,Thingie2,Inc = data.Part,
- data.Mesh,
- data.Scale,
- data.Position,
- (data.Thingie or 0),
- (data.Thingie2 or M.RNG(50, 100) / 100),
- (data.Inc or M.RNG() - M.RNG())
- Part.Transparency = transparency
- Position = Position * CF.N(0,Thingie2,0)
- Part.CFrame = Position * CF.fEA(Thingie,0,0)
- Thingie = Thingie + Inc
- data.Position = Position
- data.Thingie = Thingie
- data.Thingie2 = Thingie2
- data.Inc = Inc
- elseif(effect == 'Block')then
- local Part,Mesh,Scale,CF,eScale = data.Part,data.Mesh,data.Scale,data.Position,data.EndScale
- Mesh.Scale = Mesh.Scale:lerp(eScale, transparency/6)
- Part.Transparency = transparency
- Part.CFrame = CF * CFrame.Angles(M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)))
- if(frame > duration)then
- Part:destroy()
- end
- end
- end
- for puddle,data in next, BloodPuddles do
- if(puddle.Transparency > 0.9)then
- BloodPuddles[puddle] = nil
- puddle:destroy()
- end
- data.Frame = data.Frame + 1
- if(data.Frame > 105)then
- local trans = (data.Frame-105)/30
- puddle.Transparency = trans
- if(puddle:FindFirstChild'CylinderMesh' and puddle.CylinderMesh.Scale.Z > 0)then
- puddle.CylinderMesh.Scale = puddle.CylinderMesh.Scale-V3.N(.1,0,.1)
- end
- else
- puddle.Transparency = 0
- end
- end
- end)
- -- Animation Loop
- runService:BindToRenderStep("N_Animations",Enum.RenderPriority.Character.Value + 1,function()
- sine=sine+change
- local GlitchEffect = M.RNG(1,500)
- hum.WalkSpeed = 8
- if(Music.TimePosition > 2.7 and Music.TimePosition < 2.75 or Music.TimePosition > 6.8 and Music.TimePosition < 6.9)then GlitchTime = time()+.45 elseif(Music.TimePosition > 7.6)then
- if(GlitchEffect == 1 and time()-GlitchTime >= .5)then
- GlitchTime = time()
- end
- end
- if(time()-GlitchTime < .5)then
- Distorted.MidGain = -25
- Distorted.LowGain = 10
- Distorted.HighGain = -25
- FT.Parent = torso
- RA.Parent = rarm
- LA.Parent = larm
- RL.Parent = rleg
- LL.Parent = lleg
- for _,v in next, char:GetDescendants() do
- if(v:IsA'DataModelMesh')then
- v.Offset = V3.N(M.RNG(-200,200)/100,M.RNG(-200,200)/100,M.RNG(-200,200)/100)
- end
- end
- else
- Distorted.MidGain = 0
- Distorted.LowGain = 0
- Distorted.HighGain = 0
- FT.Parent = nil
- RA.Parent = nil
- LA.Parent = nil
- RL.Parent = nil
- LL.Parent = nil
- for _,v in next, char:GetDescendants() do
- if(v:IsA'DataModelMesh')then
- v.Offset = V3.N(0,0,0)
- end
- end
- end
- if(neutralAnims)then
- if(CheckState(root) == 'Idle')then
- -- Idle anim
- RJ.C0 = RJ.C0:lerp(CF.N(0,.2*M.S(time()*16),0)*CF.A(.2*M.S(time()*16),0,0),.2)
- NK.C0 = NK.C0:lerp(HD*CF.A(-.2*M.S(time()*16),0,0),.2)
- RH.C0 = RH.C0:lerp(RHD*CF.N(0,.2*-M.S(time()*16),.2*M.S(time()*16))*CF.A(-.2*M.S(time()*16),0,0),.2)
- LH.C0 = LH.C0:lerp(LHD*CF.N(0,.2*-M.S(time()*16),.2*M.S(time()*16))*CF.A(-.2*M.S(time()*16),0,0),.2)
- RS.C0 = RS.C0:lerp(RSD*CF.A(0,0,.4*M.C(time()*16)),.2)
- LS.C0 = LS.C0:lerp(LSD*CF.A(0,0,.4*-M.C(time()*16)),.2)
- elseif(CheckState(root) == 'Walk')then
- -- Walk anim
- RH.C0 = RH.C0:lerp(RHD*CF.A(-M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0)*CF.N(0,-M.S(time()*hum.WalkSpeed/2)/2,0),.2)
- LH.C0 = LH.C0:lerp(LHD*CF.A(M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0)*CF.N(0,-M.S(time()*hum.WalkSpeed/2)/2,0),.2)
- RS.C0 = RS.C0:lerp(RSD*CF.A(-M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0),.2)
- LS.C0 = LS.C0:lerp(LSD*CF.A(M.R(35+45*M.C(time()*hum.WalkSpeed)),0,0)*CF.A(M.R(-25),0,0),.2)
- RJ.C0 = RJ.C0:lerp(CF.N(0,M.S(time()*hum.WalkSpeed/2)/2,0)*CF.A(M.R(25),0,0),.2)
- end
- end
- end)
- -- Died event
- hum.Died:connect(function() -- When the player dies
- UnbindLoops() -- Unbind all of the loops used
- end)
- -- Everything else
- function GetTorso(char)
- return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
- end
- function DealDamage(who,minDam,maxDam,Knock,Type)
- if(who)then
- local hum = who:FindFirstChildOfClass'Humanoid'
- local Damage = M.RNG(minDam,maxDam)
- local canHit = true
- if(hum)then
- for _, p in pairs(Hit) do
- if p[1] == hum then
- if(time() - p[2] < 0.1) then
- canHit = false
- else
- Hit[_] = nil
- end
- end
- end
- if(canHit)then
- if(hum.Health >= math.huge)then
- who:BreakJoints()
- else
- local player = S.Players:GetPlayerFromCharacter(who)
- if(not player or not Teamed[player])then
- if(Type == "Fire")then
- --idk..
- else
- local c = Instance.new("ObjectValue",hum)
- c.Name = "creator"
- c.Value = plr
- game:service'Debris':AddItem(c,0.35)
- hum.Health = hum.Health - Damage
- if(Type == 'Knockback' and GetTorso(who))then
- local angle = GetTorso(who).Position - root.Position + Vector3.new(0, 0, 0).unit
- local body = NewInstance('BodyVelocity',GetTorso(who),{
- P = 500,
- maxForce = V3.N(math.huge,0,math.huge),
- velocity = root.CFrame.lookVector * Knock + root.Velocity / 1.05
- })
- game:service'Debris':AddItem(body,.5)
- elseif(Type == 'Knockdown' and GetTorso(who))then
- local rek = GetTorso(who)
- print(rek)
- hum.PlatformStand = true
- delay(1,function()
- hum.PlatformStand = false
- end)
- local angle = (GetTorso(who).Position - (root.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = NewInstance("BodyVelocity",rek,{
- velocity = angle * Knock,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- })
- local rl = NewInstance("BodyAngularVelocity",rek,{
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- })
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- end
- end
- end
- end
- table.insert(Hit,{hum,time()})
- end
- end
- end
- end
- function MagniDamage(pos,radius,mindamage,maxdamage,knockback,damagetype)
- local Recursive
- Recursive = function(whom)
- for _,c in next, whom:children() do
- local hum = c:FindFirstChildOfClass'Humanoid'
- local hed = c:FindFirstChild'Torso' or c:FindFirstChild'UpperTorso' or c:FindFirstChild'LowerTorso'
- if(hum and hed)then
- local mag = (hed.CFrame.p - pos).magnitude
- if(mag <= radius and c ~= char)then
- DealDamage(c,mindamage,maxdamage,knockback,damagetype)
- end
- end
- Recursive(c)
- end
- end
- Recursive(workspace)
- end
- function MagniHeal(pos,radius,heal,needsTeamed)
- for _,v in next, workspace:GetDescendants() do
- local player = S.Players:GetPlayerFromCharacter(v)
- local hum = v:FindFirstChildOfClass'Humanoid'
- if(hum and v:IsA'Model')then
- if(not needsTeamed or player and (not plr.Neutral and player.TeamColor == plr.TeamColor))then
- local pp = v.PrimaryPart or v:FindFirstChild'Torso' or v:FindFirstChild'UpperTorso' or v:FindFirstChild'LowerTorso'
- if(pp and (pp.CFrame.p-pos).magnitude <= radius)then
- hum.Health = hum.Health + heal
- end
- end
- end
- end
- end
- --[[
- for _,v in next, workspace:GetDescendants() do
- if(v ~= char and v:FindFirstChildOfClass'Humanoid' and GetTorso(v) and plr:DistanceFromCharacter(GetTorso(v).CFrame.p) < 15)then
- for _,c in next, v:children() do
- coroutine.wrap(function()
- if(c:IsA'BasePart')then
- local a = halfit(c)
- a.Anchored = false
- c.Anchored = false
- local bodpos = Instance.new("BodyPosition",a)
- bodpos.D = 1e4
- bodpos.Position = a.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
- local bodpos = Instance.new("BodyPosition",c)
- bodpos.D = 1e4
- bodpos.Position = c.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
- end
- end)()
- end
- end
- end
- ]]
- function SpaceExplode(pos)
- local explode = NewInstance("Explosion",workspace,{Visible=false,DestroyJointRadiusPercent = 0,Position=pos,BlastPressure=10000,ExplosionType=Enum.ExplosionType.CratersAndDebris,BlastRadius=30})
- local explodeP = NewInstance("Part",workspace,{Anchored=true,CanCollide=false,CFrame=CF.N(pos),Transparency=1})
- local particles = NewInstance("ParticleEmitter",explodeP,{Enabled=false,Texture='rbxasset://textures/particles/sparkles_main.dds',Size=NumberSequence.new(3),LightInfluence=.5,Lifetime=NumberRange.new(1),Rate=250,RotSpeed=NumberRange.new(25),SpreadAngle=Vector2.new(360,360),Color=ColorSequence.new(Color3.new(0,0,0),Color3.new(.3,.3,.3)),Transparency=NumberSequence.new(0,1),Speed=NumberRange.new(50)})
- particles:Emit(2500)
- explode.Hit:connect(function(t,d)
- if(d <= explode.BlastRadius and t ~= explodeP and not char:IsAncestorOf(t))then
- local a = Fragment2(t)
- t.Anchored = false
- local bodpos = Instance.new("BodyPosition",t)
- bodpos.D = 1e4
- bodpos.Position = t.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
- for _,a in next, a:children() do
- a.Anchored = false
- local bodpos = Instance.new("BodyPosition",a)
- bodpos.D = 1e4
- bodpos.Position = a.Position + V3.N(M.RNG(-100,100),M.RNG(100,200),M.RNG(-100,100))
- end
- end
- end)
- delay(1, function()
- explodeP:destroy()
- end)
- end
- function Explode(pos)
- local explode = NewInstance("Explosion",workspace,{Visible=false,DestroyJointRadiusPercent = 0,Position=pos,BlastPressure=10000,ExplosionType=Enum.ExplosionType.CratersAndDebris,BlastRadius=30})
- local explodeP = NewInstance("Part",workspace,{Anchored=true,CanCollide=false,CFrame=CF.N(pos),Transparency=1})
- local particles = NewInstance("ParticleEmitter",explodeP,{Enabled=false,Texture='rbxasset://textures/particles/sparkles_main.dds',Size=NumberSequence.new(3),LightInfluence=.5,Lifetime=NumberRange.new(1),Rate=250,RotSpeed=NumberRange.new(25),SpreadAngle=Vector2.new(360,360),Color=ColorSequence.new(Color3.new(0,0,0),Color3.new(.3,.3,.3)),Transparency=NumberSequence.new(0,1),Speed=NumberRange.new(50)})
- particles:Emit(2500)
- explode.Hit:connect(function(t,d)
- if(d <= explode.BlastRadius and t ~= explodeP and not char:IsAncestorOf(t))then
- t:BreakJoints()
- end
- end)
- delay(1, function()
- explodeP:destroy()
- end)
- end
- function FragmentedSmash()
- Attack = true
- neutralAnims = false
- for i = 0, 1, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(0.0124750687, 0.0806899369, 0.797527909, 0.999973536, 0.00707971025, -0.00174606312, -0.00709000183, 0.888056755, -0.459679216, -0.00170379225, 0.459679425, 0.888083458),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.992911518, -2.19722176, 0.263476431, 0.999878228, -0.00709000183, 0.0139080146, -9.7673139e-05, 0.888056755, 0.459733874, -0.0156106194, -0.459679216, 0.887947857),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(1.00195694, -2.19321394, 0.240732491, 0.999878228, -0.00709000183, 0.0139080146, -9.7673139e-05, 0.888056755, 0.459733874, -0.0156106194, -0.459679216, 0.887947857),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-2.9985857, 1.23600769, 0.359443754, 0.999878228, -0.00421095407, -0.0150323557, -9.77925229e-05, -0.964603186, 0.26370576, -0.0156107098, -0.263672143, -0.964486003),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(3.00798082, 1.02948105, 0.236942679, 0.999878228, -0.00421202509, -0.0150319505, -9.76680021e-05, -0.964581847, 0.263783902, -0.0156106092, -0.263750285, -0.964464784),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-4.57763526e-05, 2.99385953, -0.167541847, 1.00000012, 0, 9.31322575e-10, 0, 0.997965097, 0.0637644231, 9.31322575e-10, -0.0637643933, 0.997965038),0.3)
- end
- wait(.25)
- for i = 0, 1, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0162220523, -3.28057575, -1.04076338, 0.999646187, -0.0140592707, -0.0225835219, 0.0139190033, -0.447028011, 0.894411683, -0.0226702448, -0.894409537, -0.446674198),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.995434463, -2.54280162, 0.103460789, 0.999878228, -0.0153137166, 0.00301438384, -9.40344544e-05, 0.187221676, 0.982317746, -0.0156072918, -0.982198358, 0.187197477),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(0.999332726, -2.53378367, 0.0742077827, 0.999878228, -0.0153137166, 0.00301438384, -9.40344544e-05, 0.187221676, 0.982317746, -0.0156072918, -0.982198358, 0.187197477),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-3.00734401, 1.78636146, -0.204609811, 0.999878228, 0.0048848032, -0.0148234647, -9.40344544e-05, -0.947858274, -0.318692297, -0.0156072918, 0.318654835, -0.947742343),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(3.00109315, 1.59880495, -0.207441658, 0.999878228, 0.00488352403, -0.0148238856, -9.40344544e-05, -0.947885811, -0.318610489, -0.0156072918, 0.318573087, -0.94776988),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-6.10337302e-05, 2.99385333, -0.167541668, 1, 4.65661287e-10, 1.16415322e-09, 0, 0.997965038, 0.0637648106, 4.65661287e-10, -0.0637647808, 0.997964978),0.3)
- end
- SpaceExplode(torso.CFrame.p)
- neutralAnims = true
- Attack = false
- end
- function Boom()
- neutralAnims = false
- Attack = true
- for i = 0, 1, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(2.85624766, 0.825717211, -0.0160068981, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
- end
- wait(.5)
- for i = 0, .65, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(2.64173985, 0.428497076, -0.0101612248, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
- end
- --BlockFX(duration,color,scale,pos,endScale)
- local p = mouse.Hit.p
- local start = time()
- delay(0, function()
- repeat wait() BlockFX(15,BrickColor.new'Black',V3.N(3,3,3),CF.N(p),V3.N(4,4,4)) until time()-start > 1.25
- Explode(p)
- end)
- BlockFX(45,BrickColor.new'Black',V3.N(3,3,3),rarm.CFrame*CF.N(0,-rarm.Size.Y/2,0),V3.N(9,9,9))
- for i = 0, .65, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0267966501, 0.00628957665, 0.118403517, 0.888822019, -0.00288028526, -0.458243728, 1.83618964e-09, 0.99998033, -0.00628535915, 0.458252817, 0.00558656547, 0.888804436),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-1.13602376, -1.9913373, -0.0583203211, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(1.13044202, -1.99142766, -0.0518710092, 0.881559432, 1.97843608e-09, 0.472073227, -0.00296715181, 0.99998033, 0.00554091716, -0.472063869, -0.00628535915, 0.881541908),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-2.87729907, 0.999060631, 0.0152502041, 0.991834939, 0.126569927, 0.0156156719, -0.126680851, 0.991923511, 0.00632756483, -0.0146886408, -0.00825411081, 0.999858022),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(2.85624766, 0.825717211, -0.0160068981, -0.879796147, -0.475095063, 0.0156087577, 0.47522983, -0.879839301, 0.00628530141, 0.0107470751, 0.0129475296, 0.999858439),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.0986121893, 2.99323964, -0.268526018, 0.888822138, -0.026346216, 0.457494676, -0.00288064196, 0.998005033, 0.0630696788, -0.458243549, -0.0573755801, 0.886972964),0.3)
- end
- wait(.25)
- neutralAnims = true
- Attack = false
- end
- function Meteor()
- neutralAnims = false
- Attack = true
- for i = 0, 1, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0223131552, -2.04613924, -1.43031895, 0.999952257, -0.00929827243, -0.00299749151, 0.00927900057, 0.807942808, 0.589187801, -0.0030566277, -0.589187562, 0.80799067),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-1.0033766, 0.39615345, -0.423063278, 0.999878109, 0.00927900057, 0.0125550134, -9.8735909e-05, 0.807942808, -0.589260876, -0.0156114856, 0.589187801, 0.807845294),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(0.960870802, -1.8572216, -2.39271688, 0.999878109, -0.0101528121, 0.0118595241, -9.87424937e-05, 0.75552392, 0.655120969, -0.0156114763, -0.655042291, 0.755430818),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-3.0046792, 0.857568204, -0.0285525322, 0.999878109, -0.0146704866, -0.00533898873, -9.87424937e-05, -0.347920358, 0.93752414, -0.0156114763, -0.937409401, -0.347879499),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(3.00213504, 0.943184912, -0.13698405, 0.999878109, -0.0146704866, -0.00533898873, -9.87424937e-05, -0.347920358, 0.93752414, -0.0156114763, -0.937409401, -0.347879499),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-2.44036382e-05, 2.99386311, -0.167564437, 1, 2.0461157e-06, -8.96863639e-07, -1.98557973e-06, 0.99796474, 0.0637678504, 1.02538615e-06, -0.0637679994, 0.99796468),0.3)
- end
- wait(.25)
- for i = 0, 1, 0.1 do
- swait()
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.051363945, -3.60286617, -3.29043484, 0.999872804, -0.0137674687, -0.00806680601, 0.0137160039, 0.483212173, 0.875395894, -0.00815400854, -0.875395119, 0.483339548),0.3)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.996045709, -1.73839223, 0.0600171089, 0.999878228, 0.00310409069, 0.0153003354, -9.91220222e-05, 0.981277168, -0.192601174, -0.0156117193, 0.19257623, 0.981157899),0.3)
- RH.C0 = clerp(RH.C0,CFrame.new(0.987435639, -1.55498588, -0.69317311, 0.999878228, -0.00418921839, 0.015039484, -9.91220222e-05, 0.961603463, 0.274442703, -0.0156117193, -0.274410754, 0.961485863),0.3)
- LS.C0 = clerp(LS.C0,CFrame.new(-3.0160594, 1.11446631, -0.759037852, 0.999878228, 0.0153746856, -0.00271196151, -9.91220222e-05, -0.167454362, -0.985879958, -0.0156117193, 0.985760093, -0.167432487),0.3)
- RS.C0 = clerp(RS.C0,CFrame.new(2.99049282, 1.03188896, -0.883246303, 0.999878228, 0.0153746856, -0.00271196151, -9.91220222e-05, -0.167454362, -0.985879958, -0.0156117193, 0.985760093, -0.167432487),0.3)
- NK.C0 = clerp(NK.C0,CFrame.new(-2.51147103e-05, 2.99386525, -0.167563885, 1.00000024, 1.80862844e-06, -8.5355714e-07, -1.75042078e-06, 0.997964859, 0.063767463, 9.66712832e-07, -0.063767463, 0.997964919),0.3)
- end
- local meteor = NewInstance("Part",char,{BrickColor=BrickColor.new'Dark stone grey',Material=Enum.Material.Granite,Size=V3.N(5,5,5),CanCollide=false,CFrame = CF.N(mouse.Hit.p)*CF.N(0,200,0)})
- Instance.new("SpecialMesh",meteor).MeshType = Enum.MeshType.Sphere
- meteor.Touched:connect(function(touch)
- if(not touch:IsA'Terrain' and touch.CanCollide and touch.Transparency < .9 and not touch:IsDescendantOf(char))then
- meteor:Destroy()
- Explode(meteor.CFrame.p)
- end
- end)
- wait(.25)
- neutralAnims = true
- Attack = false
- end
- mouse.KeyDown:connect(function(k)
- if(Attack)then return end
- if(k == 'z')then
- Meteor()
- elseif(k == 'x')then
- Boom()
- elseif(k == 'c')then
- FragmentedSmash()
- elseif(k == 'v')then
- SpaceExplode(mouse.Hit.p)
- elseif(k == 'm')then
- Music.Playing = not Music.Playing
- end
- end)
- hum.Died:connect(function()
- SpaceExplode(torso.CFrame.p)
- end)
- runService.RenderStepped:connect(function()
- if(not Attack and combo ~= 1 and time()-lastClick > 0.4)then
- combo = 1
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement