Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- x10Shield --
- local me = game:GetService("Players").LocalPlayer
- local ShieldSize = 5
- local canCollide = false
- local isLocked = false
- local defaultTransparency = 1
- local whitelist = {"", "", "", ""}
- local scriptBreak = false
- local followPart = me.Character.HumanoidRootPart
- local actualList = {}
- local playerList = {}
- table.insert(playerList, me)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- for _,wplay in pairs(whitelist) do
- if v.Name:lower() == wplay:lower() then
- table.insert(playerList, v)
- end
- end
- end
- local MainLocation = me.Character.Torso
- function createShield()
- pcall(function()
- pcall(function()
- for i,v in pairs(MainLocation:GetChildren()) do
- if v.Name == "weinershield" then
- v:Destroy()
- end
- end
- end)
- local mod = Instance.new("Model", MainLocation)
- mod.Name = "weinershield"
- local p1 = Instance.new("Part", mod)
- p1.Name = "front"
- p1.Size = Vector3.new(ShieldSize,ShieldSize,1)
- p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
- local b = Instance.new("BlockMesh", p1)
- b.Scale = Vector3.new(1, 1, 0)
- local p2 = Instance.new("Part", mod)
- p2.Name = "back"
- p2.Size = Vector3.new(ShieldSize,ShieldSize,1)
- p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
- local b = Instance.new("BlockMesh", p2)
- b.Scale = Vector3.new(1, 1, 0)
- local p3 = Instance.new("Part", mod)
- p3.Name = "left"
- p3.Size = Vector3.new(1,ShieldSize,ShieldSize)
- p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- local b = Instance.new("BlockMesh", p3)
- b.Scale = Vector3.new(0, 1, 1)
- local p4 = Instance.new("Part", mod)
- p4.Name = "right"
- p4.Size = Vector3.new(1,ShieldSize,ShieldSize)
- p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- local b = Instance.new("BlockMesh", p4)
- b.Scale = Vector3.new(0, 1, 1)
- local p5 = Instance.new("Part", mod)
- p5.Name = "top"
- p5.Size = Vector3.new(ShieldSize,1,ShieldSize)
- p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
- local b = Instance.new("BlockMesh", p5)
- b.Scale = Vector3.new(1, 0, 1)
- local p6 = Instance.new("Part", mod)
- p6.Name = "bottom"
- p6.Size = Vector3.new(ShieldSize,1,ShieldSize)
- p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
- local b = Instance.new("BlockMesh", p6)
- b.Scale = Vector3.new(1, 0, 1)
- for i,v in pairs(mod:GetChildren()) do
- v.Anchored = true
- v.Transparency = defaultTransparency
- v.Material = "Neon"
- v.TopSurface = "Smooth"
- v.BottomSurface = "Smooth"
- v.CanCollide = canCollide
- end
- mod.ChildRemoved:connect(function(a)
- game:GetService("RunService").Stepped:wait()
- if a.ClassName == "Part" then
- createShield()
- end
- end)
- end)
- end
- function updateShield()
- pcall(function()
- char = me.Character
- for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do
- v.Anchored = true
- v.Transparency = defaultTransparency
- v.Material = "Neon"
- v.TopSurface = "Smooth"
- v.BottomSurface = "Smooth"
- v.CanCollide = canCollide
- end
- MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1)
- MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
- MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1)
- MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
- MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize)
- MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize)
- MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize)
- MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
- MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize)
- MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
- end)
- end
- local function CreateRegion3FromLocAndSize(Position, Size)
- local SizeOffset = Size/2
- local Point1 = Position - SizeOffset
- local Point2 = Position + SizeOffset
- return Region3.new(Point1, Point2)
- end
- createShield()
- game:GetService("RunService").Heartbeat:connect(function()
- if not scriptBreak then
- local me = game:GetService("Players").LocalPlayer
- local char = workspace:findFirstChild(me.Name)
- actualList = {}
- for i,v in pairs(playerList) do
- pcall(function()
- table.insert(actualList, workspace:findFirstChild(v.Name))
- end)
- end
- if MainLocation:findFirstChild("weinershield") ~= nil then
- updateShield()
- else
- createShield()
- end
- pcall(function()
- local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1))
- for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do
- if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then
- Part:Destroy()
- end
- end
- end)
- pcall(function()
- for i,v in pairs(actualList) do
- if v:findFirstChild("Humanoid") ~= nil then
- v.Humanoid.MaxHealth = math.huge
- v.Humanoid.Health = math.huge
- else
- Instance.new("Humanoid", v)
- end
- end
- end)
- end
- end)
- p = game.Players.LocalPlayer
- char = p.Character
- local char = p.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- tors = Character.Torso
- root = Character.HumanoidRootPart
- lleg = Character["Left Leg"]
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- ypcall(function()
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- end)
- CV="Hot pink"
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Fantasy"
- text.TextStrokeColor3 = BrickColor.new("Really black").Color
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=p.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = BrickColor.new("Really Black").Color
- v.Shape="Block"
- text.Text = "Death"
- hed.face.Texture = "http://www.roblox.com/asset/?id=0"
- hed.Transparency = 0.7
- rleg.Transparency = 0.7
- rarm.Transparency = 0.7
- larm.Transparency = 0.7
- lleg.Transparency = 0.7
- tors.Transparency = 0.7
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- vt = Vector3.new
- bc = BrickColor.new
- wit = bc("Really black").Color
- local prth = Instance.new("Part",Character)
- prth.Size = vt(1.25,1.25,1.25)
- prth.CanCollide = false
- prth.Material = "Neon"
- prth.Transparency = 0.1
- prth.BrickColor = bc("Really black")
- local wldh = Instance.new("Weld",Character)
- wldh.Part0 = hed
- wldh.Part1 = prth
- local prtrm = Instance.new("Part",Character)
- prtrm.Size = vt(2.1,2.1,1.1)
- prtrm.CanCollide = false
- prtrm.Transparency = 0.1
- prtrm.Material = "Neon"
- prtrm.BrickColor = bc("Really black")
- local wldm = Instance.new("Weld",Character)
- wldm.Part0 = root
- wldm.Part1 = prtrm
- local prtr = Instance.new("Part",Character)
- prtr.Size = vt(1.1,2.1,1.1)
- prtr.CanCollide = false
- prtr.Transparency = 0.8
- prtr.Material = "Neon"
- prtr.BrickColor = bc("Really black")
- local prtrl = Instance.new("Part",Character)
- prtrl.Size = vt(1.1,2.1,1.1)
- prtrl.CanCollide = false
- prtrl.Transparency = 0.1
- prtrl.Material = "Neon"
- prtrl.BrickColor = bc("Really black")
- local eff = Instance.new("ParticleEmitter",prtr)
- eff.LightEmission = 1
- eff.Texture = "rbxassetid://284205403"
- eff.Color = ColorSequence.new(wit)
- eff.Size = NumberSequence.new(0.5,1)
- eff.Acceleration = vt(0,25,0)
- eff.Speed = NumberRange.new(-5)
- eff.LockedToPart = false
- eff.Transparency = NumberSequence.new(0.95)
- eff.Lifetime = NumberRange.new(0.5)
- eff.Rate = 100000
- eff.VelocitySpread = 25
- local wld = Instance.new("Weld",Character)
- wld.Part0 = rarm
- wld.Part1 = prtr
- local wldl = Instance.new("Weld",Character)
- wldl.Part0 = rleg
- wldl.Part1 = prtrl
- local prtr2 = Instance.new("Part",Character)
- prtr2.Size = vt(1.1,2.1,1.1)
- prtr2.CanCollide = false
- prtr2.Transparency = 0.1
- prtr2.Material = "Neon"
- prtr2.BrickColor = bc("black")
- local prtrl2 = Instance.new("Part",Character)
- prtrl2.Size = vt(1.1,2.1,1.1)
- prtrl2.CanCollide = false
- prtrl2.Transparency = 0.1
- prtrl2.Material = "Neon"
- prtrl2.BrickColor = bc("black")
- local eff2 = Instance.new("ParticleEmitter",prtr2)
- eff2.LightEmission = 1
- eff2.Texture = "rbxassetid://284205403"
- eff2.Color = ColorSequence.new(wit)
- eff2.Size = NumberSequence.new(0.5,1)
- eff2.Acceleration = vt(0,25,0)
- eff2.Speed = NumberRange.new(-5)
- eff2.LockedToPart = false
- eff2.Transparency = NumberSequence.new(0.95)
- eff2.Lifetime = NumberRange.new(0.5)
- eff2.Rate = 100000
- eff2.VelocitySpread = 25
- local wld2 = Instance.new("Weld",Character)
- wld2.Part0 = larm
- wld2.Part1 = prtr2
- local wldl2 = Instance.new("Weld",Character)
- wldl2.Part0 = lleg
- wldl2.Part1 = prtrl2
- local mouse = game.Players.LocalPlayer:GetMouse()
- tors = game.Players.LocalPlayer.Character.Torso
- vt = Vector3.new
- bc = BrickColor.new
- local Effect = Instance.new("Part",game.Lighting)
- Effect.BrickColor = bc("Deep orange")
- Effect.Transparency = 1
- Effect.Anchored = true
- Effect.CanCollide = false
- Effect.Material = "Neon"
- Effect.Shape = "Ball"
- Effect.Size = vt(5,5,5)
- local fire1 = Instance.new("Fire",Effect)
- fire1.Name = "Fire"
- fire1.Heat = 0
- fire1.Size = 30
- fire1.SecondaryColor = bc("Really black").Color
- fire1.Color = bc("Deep orange").Color
- local fire2 = Instance.new("Fire",Effect)
- fire2.Name = "Fire2"
- fire2.Heat = 0
- fire2.Size = 25
- fire2.SecondaryColor = bc("Really black").Color
- fire2.Color = bc("Neon orange").Color
- function Explode(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://"
- snd.Volume = 2.5
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.1
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Black")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.1
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Black")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function Explode2(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local snd = Instance.new("Sound",expart)
- snd.SoundId = "rbxassetid://"
- snd.Volume = 3
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.1
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("black")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.1
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("black")
- expart2.CFrame = par.CFrame
- snd:Play()
- for i = 0, 100 do
- expart.Transparency = expart.Transparency + 0.005
- partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25)
- expart.CFrame = expart.CFrame
- expart2.Transparency = expart.Transparency + 0.005
- partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25)
- expart2.CFrame = expart.CFrame
- wait(0)
- end
- snd.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "p" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95
- wait()
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode(25,spart)
- spart:Destroy()
- end
- if k == "p" then
- local spart = Effect:Clone()
- spart.Parent = game.Players.LocalPlayer.Character
- spart.Transparency = 0
- spart.Anchored = false
- spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0
- spart.Position = spart.Position + vt(0,100,0)
- spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150
- wait(1)
- spart.Transparency = 1
- spart.Fire2:Destroy()
- spart.Fire:Destroy()
- Explode2(75,spart)
- spart:Destroy()
- end
- if k == "p" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275
- wait(0.75)
- game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165
- Explode(30,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- if k == "p" then
- local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character)
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0)
- wait(0)
- end
- for i = 0, 5 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0)
- wait(0)
- end
- game.Players.LocalPlayer.Character.Torso.Anchored = true
- wait(1.5)
- game.Players.LocalPlayer.Character.Torso.Anchored = false
- for i = 0, 10 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0)
- wait(0)
- end
- wait(0.25)
- Explode2(62.5,game.Players.LocalPlayer.Character.Torso)
- wait(0.5)
- ff:Destroy()
- end
- end)
- wait(5)
- --// Initializing \\--
- local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
- local Plrs = S.Players
- local Plr = Plrs.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 NeutralAnims = true
- local Attack = false
- local BloodPuddles = {}
- local Effects = {}
- local Debounces = {Debounces={}}
- local Mouse = Plr:GetMouse()
- local Hit = {}
- local Sine = 0
- local Change = 1
- local BanishedEvents = {}
- --// Effect Thread System \\--
- --// 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
- --// Shortcut Variables \\--
- local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
- local C3 = {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
- --// Instance Creation Functions \\--
- function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
- 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
- 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[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.Anchored = anchored or true
- part.CanCollide = cancollide or false
- part.Parent = parent or Char
- return part
- 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,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- 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})
- --// 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'Really Black'
- local MusicID = 1119237438
- local ChatSounds = {["You will know pain."] = 1,["Submit now."] = 1,["I will show you true power."] = 907329532, ["Your death is assured."] = 907332670, ["My attacks will tear you apart!"] = 907329893, ["Most worrying indeed."] = 1}
- local TauntDialogues = {"I will deside Your Fate !", "Even god will die!","Submit now.","I am Death", "I will show you true Death.", "Nothing satifies me but your soul.","No one can excel"}
- --// 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
- local Effects = IN("Folder",Char)
- Effects.Name = "Effects"
- pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really black' Char.ReaperShadowHead.Eye1.Material = 'Glass' end)
- pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' Char.ReaperShadowHead.Eye2.Material = 'Glass' end)
- pcall(function() Char.LeftWing.BrickColor = BrickColor.new'Really red' Char.LeftWing.Transparency = 0.5 end)
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- if(PlayerSize ~= 1)then
- for _,v in next, Char:GetDescendats() 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 HW = NewInstance('Weld',Char,{Part0=RArm,Part1=Handle,C0 = CF.N(0,-.5,-.4)* CF.A(M.R(0),M.R(90),M.R(-30))})
- 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 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 OnceWas(who,dontRemove)
- coroutine.wrap(function()
- local c = who:children()
- if(not dontRemove)then who:destroy() end
- for _,v in next, c do
- if(v:IsA'BasePart' and v.Transparency < 0.9)then
- local Prt = v:Clone()
- Prt.Parent = Effects
- Prt.BrickColor = BrickColor.new
- 'Light stone grey'
- Prt.Material = Enum.Material.Glass
- Prt.CanCollide = false
- Prt.Anchored = true
- Prt:breakJoints()
- local part = Effect{
- Manual=Prt,
- Effect='Fade',
- Frames = 90,
- }
- end
- end
- 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 Effect(data)
- local FX = data.Effect or 'ResizeAndFade'
- local Parent = data.Parent or Effects
- local Color = data.Color or C3.N(0,0,0)
- local Size = data.Size or V3.N(1,1,1)
- local MoveDir = data.MoveDirection or nil
- local MeshData = data.Mesh or nil
- local SndData = data.Sound or nil
- local Frames = data.Frames or 45
- local Manual = data.Manual or nil
- local Material = data.Material or nil
- local CFra = data.CFrame or Torso.CFrame
- local Settings = data.FXSettings or {}
- local Snd,Prt,Msh;
- local Shape = data.Shape or Enum.PartType.Block
- coroutine.resume(coroutine.create(function()
- if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
- Prt = Manual
- else
- Prt = Part(Parent,Color,Material,Size,CFra,true,false)
- Prt.Shape = Shape
- end
- if(typeof(MeshData) == 'table')then
- Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
- elseif(typeof(MeshData) == 'Instance')then
- Msh = MeshData:Clone()
- Msh.Parent = Prt
- elseif(Shape == Enum.PartType.Block)then
- Msh = Mesh(Prt,Enum.MeshType.Brick)
- end
- if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
- Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
- end
- if(Snd)then
- repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
- Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
- end
- local MoveSpeed = nil;
- if(MoveDir)then
- MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
- end
- local Inc = M.RNG()-M.RNG()
- local Thingie = 0
- local Thingie2 = M.RNG(50,100)/100
- if(FX ~= 'Arc')then
- for i = 1, Frames do
- if(swait and typeof(swait) == 'function')then
- swait()
- else
- wait()
- end
- if(FX == 'ResizeAndFade')then
- if(not Settings.EndSize)then
- Settings.EndSize = V3.N(0,0,0)
- end
- local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
- if(Settings.EndIsIncrement)then
- Prt.Size = Prt.Size + Settings.EndSize
- else
- Prt.Size = Prt.Size - grow/Frames
- end
- Prt.Transparency = (i/Frames)
- elseif(FX == 'Fade')then
- Prt.Transparency = (i/Frames)
- end
- if(Settings.RandomizeCFrame)then
- Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
- end
- if(MoveDir and MoveSpeed)then
- local Orientation = Prt.Orientation
- Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
- Prt.Orientation = Orientation
- end
- end
- Prt:destroy()
- else
- local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
- if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
- local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
- local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
- assert(start ~= nil,"You need to specify a start point!")
- assert(endP ~= nil,"You need to specify an end point!")
- for i = 0, 1, Settings.Speed or 0.01 do
- if(swait and typeof(swait) == 'function')then
- swait()
- else
- wait()
- end
- if(Settings.Home)then
- endP = Settings.Home.CFrame
- end
- Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
- end
- if(Settings.RemoveOnGoal)then
- Prt:destroy()
- end
- end
- end))
- return Prt,Msh,Snd
- 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'Really red','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, 15 do
- Effect{
- Effect="Fade",
- Color = BrickColor.new'Light stone grey',
- MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
- }
- end
- end
- end
- --// Other Functions \\ --
- function Turn(position)
- Root.CFrame=CFrame.new(Root.CFrame.p,V3.N(position.X,Root.Position.Y,position.Z))
- end
- function Shoot(startP,endP)
- local part,pos,norm,dist = CastRay(startP,endP,1500)
- if(part and part.Parent and part.Parent ~= workspace)then
- local part = part
- local who = part.Parent;
- OnceWas(who)
- local plr = S.Players:GetPlayerFromCharacter(who)
- warn("Banished "..who.Name)
- if(plr)then
- BanishedEvents[plr] = plr.CharacterAdded:connect(function(c)
- c:destroy()
- end)
- end
- if(who:FindFirstChild'Head' and Hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0))
- end
- end
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.1,.1,.1),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='Fade',
- Frames=15,
- Size=V3.N(.15,.15,dist),
- CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2),
- Color=BrickColor.new'Light stone grey',
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.5,.5,.5),
- CFrame=CF.N(pos),
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- for i = 1, 5 do
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(.2,.2,1),
- CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Really red',
- FXSettings={
- EndSize=V3.N(.005,.005,.05),
- EndIsIncrement=true,
- }
- }
- end
- end
- function Chat(text)
- if(ChatSounds[text])then
- Sound(Head,ChatSounds[text],1,3,false,true,true)
- end
- --if(game.PlaceId ~= 843468296)then
- coroutine.wrap(function()
- if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
- local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
- local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
- local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
- for i = 1, #text do
- delay(i/25, function()
- SND.Pitch = M.RNG(9,11)/10
- SND.Volume = 0
- SND.Parent = Effects
- SND:Play()
- Txt.Text = text:sub(1,i)
- end)
- end
- delay((#text/25)+2, function()
- Txt.Text = ""
- for i = 1, #text do
- Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
- end
- end)
- delay((#text/25)+3, function()
- BBG:destroy()
- SND:destroy()
- end)
- end)()
- --else
- -- Chat2(text)
- --end
- end
- function Chat2(text)
- coroutine.wrap(function()
- if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
- local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
- local offset = 0;
- local xsize = 0;
- for i = 1, #text do
- offset = offset - 16
- xsize = xsize + 32
- delay(i/25, function()
- local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,0,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
- offset = offset + 32
- while Txt and Txt.Parent do
- Txt.Rotation = M.RNG(-15,15)
- swait()
- end
- end)
- end
- BBG.Size = UDim2.new(0,xsize,0,40)
- delay((#text/25)+3, function()
- for _,v in next, BBG:children() do
- pcall(function() v.Text = string.char(M.RNG(0,126)) end)
- end
- end)
- delay((#text/25)+4, function()
- BBG:destroy()
- end)
- end)()
- 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 / 30)
- 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,
- CanCollide=false,
- BrickColor = BrickColor.new(Color),
- Name = "Effect",
- Size = Vector3.new(0,0,0),
- Anchored = true,
- CFrame = CFrame.new(Pos)
- })
- local BillboardGui = NewInstance("BillboardGui",EffectPart,{
- Size = UDim2.new(3.75, 0, 3.75, 0),
- Adornee = EffectPart,
- })
- local TextLabel = NewInstance("TextLabel",BillboardGui,{
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Arial",
- TextColor3 = Color,
- TextStrokeColor3 = Color3.new(0,0,0),
- TextStrokeTransparency=0,
- TextScaled = true,
- })
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- TextLabel.TextStrokeTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end) end)()
- end
- function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
- 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()
- if(who:FindFirstChild'Head' and hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "INSTANT", 1.5, C3.N(1,0,0))
- end
- else
- local player = S.Players:GetPlayerFromCharacter(who)
- 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)
- if(M.RNG(1,100) <= (critChance or 0))then
- if(who:FindFirstChild'Head' and hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
- end
- hum.Health = hum.Health - Damage*(critMult or 2)
- else
- if(who:FindFirstChild'Head' and hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), Damage, 1.5, DamageColor.Color)
- end
- hum.Health = hum.Health - Damage
- end
- 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
- function ClosestPart(pos,range)
- local mag,closest = math.huge;
- for _,v in next, getRegion(pos,range or 10,{Char}) do
- if((v.CFrame.p-pos).magnitude < mag)then
- mag = (v.CFrame.p-pos).magnitude
- closest = v
- end
- end
- return closest
- end
- function AOEBanish(pos,range)
- local mag,closest = math.huge;
- for _,v in next, getRegion(pos,range or 10,{Char}) do
- local who = v.Parent
- if((v.CFrame.p-pos).magnitude < mag and who and who ~= workspace and not Char:IsAncestorOf(v))then
- local plr = S.Players:GetPlayerFromCharacter(who)
- if(plr)then
- BanishedEvents[plr] = plr.CharacterAdded:connect(function(c)
- c:destroy()
- end)
- end
- warn("Banished "..who.Name)
- if(who:FindFirstChild'Head' and Hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "BANISHED", 1.5, C3.N(1,0,0))
- end
- OnceWas(who)
- end
- end
- end
- function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
- for _,v in next, getRegion(where,range,{Char}) do
- if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
- DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
- end
- end
- 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'Light stone grey'.Color)
- end
- end
- end
- end
- 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
- --// Attack Functions \\--
- function Show_Mercy()
- Chat "I will show you mercy."
- ShowDamage((Head.CFrame * CF.N(0, 0, (Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "Soul Returned", 1.5, C3.N(.7,0,0))
- for p,v in next, BanishedEvents do
- warn("Unbanished "..p.Name)
- v:disconnect()
- BanishedEvents[p] = nil
- end
- end
- function Banishing_Storm()
- Attack = true
- NeutralAnims = false
- Hum.AutoRotate = false
- for i = 0, 2.3, .1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .15
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha)
- end
- local numberFall = 0;
- repeat
- for i = 0, .8, 0.1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha)
- end
- Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true)
- local part,pos,dist = Shoot(Barrel.CFrame.p,Barrel.CFrame*CF.N(0,-1500,0).p)
- if(not part)then
- numberFall = numberFall + 1
- end
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Really red',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Really red',
- FXSettings={
- EndSize=V3.N(.1,.1,.1),
- EndIsIncrement=true,
- }
- }
- for i = 0, .7, 0.1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.47678053, 0.526562393, 0.174270749, 0.947701395, 0.126782924, 0.292896599, 0.194988653, -0.956529498, -0.216866404, 0.252669275, 0.262636065, -0.931225359),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110761039, -0.749590993, -0.415038049, 5.96046448e-07, -4.7236681e-06, 1.00000012, -0.500009775, 0.866019845, 4.39817086e-06, -0.866019845, -0.500009775, -1.90734863e-06),Alpha)
- end
- until not S.UserInputService:IsKeyDown(Enum.KeyCode.Z)
- delay(2, function()
- for i = 1, numberFall*2 do
- local part,pos,dist = ClosestPart(Mouse.Hit.p,2),Mouse.Hit.p+V3.N(M.RNG(-100,100)/100,0,M.RNG(-100,100)/100),1500
- Effect{
- Effect='Fade',
- Frames=15,
- Size=V3.N(.15,dist,.15),
- CFrame=CF.N(pos)*CF.N(0,dist/2,0),
- Color=BrickColor.new'Light stone grey',
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.5,.5,.5),
- CFrame=CF.N(pos),
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- for i = 1, 5 do
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(.2,.2,1),
- CFrame=CF.N(CF.N(pos)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,pos),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.005,.005,.05),
- EndIsIncrement=true,
- }
- }
- end
- if(part and part.Parent and part.Parent ~= workspace)then
- local part = part
- local who = part.Parent
- OnceWas(who)
- local plr = S.Players:GetPlayerFromCharacter(who)
- if(plr)then
- BanishedEvents[plr] = plr.CharacterAdded:connect(function(c)
- c:destroy()
- end)
- end
- if(who:FindFirstChild'Head' and Hum.Health > 0)then
- ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(M.RNG(-3,3),1.5,M.RNG(-3,3))), "Soul Returned", 1.5, C3.N(1,0,0))
- end
- end
- swait(5)
- end
- end)
- Hum.AutoRotate = true
- Attack = false
- NeutralAnims = true
- end
- function Spectral_Banish()
- Attack = true
- Chat "If you desire to be a ghost.."
- swait(120)
- Chat "Then move on to the afterlife!"
- NeutralAnims = false
- Hum.AutoRotate = false
- for i = 0, 6, .1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .15
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha)
- end
- for i = 0, .8, 0.1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.47921813, 0.661770463, 0.060773734, 0.947700858, 0.195051998, 0.252622485, 0.194988579, -0.980473101, 0.0255415048, 0.252671421, 0.0250527933, -0.967227817),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110747263, -0.749596298, -0.415039092, -1.66893005e-06, -5.14090061e-06, 1.00000012, -0.500009954, 0.866019845, 3.60608101e-06, -0.866019726, -0.500009894, -3.9935112e-06),Alpha)
- end
- Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true)
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.1,.1,.1),
- EndIsIncrement=true,
- }
- }
- for i = 1, 5 do
- local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
- local cf = Barrel.CFrame
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(.2,.2,1),
- CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Light stone grey',
- MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p,
- FXSettings={
- EndSize=V3.N(.005,.005,.05),
- EndIsIncrement=true,
- }
- }
- end
- Effect{
- Effect='Fade',
- Frames=35,
- Size=V3.N(.15,2048,.15),
- CFrame=CF.N(Barrel.CFrame.p)*CF.N(0,2048/2,0),
- Color=BrickColor.new'Light stone grey',
- }
- for i = 0, .8, .1 do
- swait()
- Turn(Mouse.Hit.p)
- local Alpha = .15
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.149688482, 0.00629410101, -0.0288102441, 0.908953488, -0.00262140064, -0.416884065, -7.05317973e-08, 0.99998033, -0.00628811028, 0.41689238, 0.00571563188, 0.908935547),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.404874682, -0.991180301, -0.0352490693, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.71690762, -0.991053104, 0.00471016858, 0.902334571, -7.05317973e-08, 0.4310323, -0.00271031447, 0.99998033, 0.00567401201, -0.431023717, -0.00628811028, 0.902316749),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.26718163, 0.394917995, 0.30748421, 0.758522511, -0.65150404, 0.013650775, 0.563350797, 0.666130126, 0.488780826, -0.327535838, -0.363061011, 0.87229985),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.46891451, 0.639140844, 0.117049158, 0.947687626, 0.107383646, 0.300595015, 0.195006967, -0.940317333, -0.278883517, 0.252707064, 0.322912514, -0.912067294),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.232400328, 1.4423281, 0.0608692467, 0.612107515, -0.5404585, -0.577260137, 0.0609407648, 0.760062039, -0.646986902, 0.788422942, 0.360846847, 0.498175651),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110755987, -0.74960357, -0.415038228, -5.42402267e-06, -2.98023224e-07, 1.00000024, -0.500007331, 0.866021454, -2.48476863e-06, -0.866021395, -0.500007272, -4.7981739e-06),Alpha)
- end
- for _,v in next, S.Players:players() do
- if(v.Character and v.Character:FindFirstChild'Head' and not v.Character.Parent)then
- pcall(function()
- v.Character.Parent = workspace
- local tor = v.Character:FindFirstChild'Head'
- Effect{
- Effect='Fade',
- Frames=15,
- Size=V3.N(.15,2048,.15),
- CFrame=CF.N(tor.CFrame.p)*CF.N(0,2048/2,0),
- Color=BrickColor.new'Really red',
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.5,.5,.5),
- CFrame=CF.N(tor.CFrame.p),
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- for i = 1, 5 do
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(.2,.2,1),
- CFrame=CF.N(CF.N(tor.CFrame.p)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))*CF.N(0,0,-2).p,tor.CFrame.p),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.005,.005,.05),
- EndIsIncrement=true,
- }
- }
- end
- local asd = v.Character;
- OnceWas(asd)
- v.Character:destroy()
- BanishedEvents[v] = v.CharacterAdded:connect(function(c)
- c:destroy()
- end)
- end)
- end
- end
- Hum.AutoRotate = true
- Attack = false
- NeutralAnims = true
- end
- function Teleport()
- Attack = true
- NeutralAnims = false
- Hum.AutoRotate = false
- repeat
- Turn(Mouse.Hit.p)
- swait()
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha)
- until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
- Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true)
- local pos,dist = Mouse.Hit.p,(Barrel.CFrame.p-Mouse.Hit.p).magnitude
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.05,.05,.05),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='ResizeAndFade',
- Frames=45,
- Size=V3.N(.1,.1,.1),
- CFrame=Barrel.CFrame,
- Mesh ={MeshType=Enum.MeshType.Sphere},
- Color=BrickColor.new'Light stone grey',
- FXSettings={
- EndSize=V3.N(.1,.1,.1),
- EndIsIncrement=true,
- }
- }
- Effect{
- Effect='Fade',
- Frames=15,
- Size=V3.N(.15,.15,dist),
- CFrame=CF.N(Barrel.CFrame.p,pos)*CF.N(0,0,-dist/2),
- Color=BrickColor.new'Light stone grey',
- }
- for i = 0, .3, .05 do
- swait()
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha)
- end
- OnceWas(Char,true)
- Torso.CFrame = CF.N(pos)*CF.N(0,3,0)
- for i = 1, 15 do
- local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
- local cf = Torso.CFrame
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(2,2,10),
- CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-2).p,cf.p),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Light stone grey',
- MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-25).p,cf.p).p,
- FXSettings={
- EndSize=V3.N(.005,.005,.05),
- EndIsIncrement=true,
- }
- }
- end
- OnceWas(Char,true)
- for i = 0, .4, .05 do
- swait()
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha)
- end
- Attack = false
- NeutralAnims = true
- Hum.AutoRotate = true
- end
- function BGone()
- Attack = true
- NeutralAnims = false
- Hum.AutoRotate = false
- Chat "Be gone.."
- --repeat
- for i = 0, 9, .1 do
- Turn(Mouse.Hit.p)
- swait()
- Hum.WalkSpeed = 0
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0296121463, -0.249109969, -0.153551444, -0.000328990631, -0.0094739655, -0.999952853, 0.204196915, 0.978885293, -0.0093415454, 0.978927732, -0.204190359, 0.0016125096),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.475788742, -0.651965797, 0.0191618577, 0.978805363, 0.204197079, 0.0156120053, -0.204313993, 0.978885233, 0.00628500246, -0.0139989806, -0.0093415454, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.498535633, -0.912865818, 0.0149653442, 0.999878168, 5.14090061e-06, 0.0156120053, -0.000103279948, 0.999980271, 0.00628500246, -0.0156116625, -0.00628584996, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.29815638, 0.566930115, -0.00661327224, -0.237626657, 0.971231222, 0.0156120053, -0.971307039, -0.237746239, 0.00628500246, 0.00981588662, -0.0136705656, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.24513125, 0.449408412, -0.155189604, 0.502771139, -0.519900203, -0.690597773, 0.303394169, 0.854222655, -0.422203362, 0.809427798, 0.00274830475, 0.587213099),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(-0.0153051838, 1.498806, -0.0364812165, 1.34855509e-06, 0.0477146953, 0.998861074, -0.00628432725, 0.998841345, -0.0477137454, -0.999980271, -0.00627710624, 0.000301202759),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110760681, -0.749610901, -0.415069938, -1.63912773e-06, 9.19401646e-06, 1.00000024, -0.500005245, 0.866022348, -8.86109865e-06, -0.866022408, -0.500005245, 3.1888485e-06),Alpha)
- end
- --until not S.UserInputService:IsKeyDown(Enum.KeyCode.V)
- for i = 0, .7, 0.1 do
- swait()
- Hum.WalkSpeed = 0
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00766070001, -0.269241363, -0.0518192649, 0.00021806825, 0.00368537591, 0.99999094, -0.166544884, 0.9860273, -0.00359759619, -0.986031651, -0.166542619, 0.000828802586),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.497863114, -0.984335184, 0.0215952508, 0.987798393, 0.154953942, 0.0156120034, -0.155066714, 0.987884164, 0.00628500665, -0.0144489631, -0.00862922147, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.462316692, -0.882526457, 0.015341443, 0.985910237, -0.166545048, 0.0156120034, 0.166465312, 0.9860273, 0.00628500665, -0.0164405983, -0.00359759573, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.34305215, 0.64557004, 0.206238627, 0.819938838, 0.417069167, 0.392114401, -0.412350535, 0.905431569, -0.100800663, -0.397073597, -0.0790382028, 0.914377153),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.3656987, 0.557721138, -0.0314715505, 0.0156120034, -0.985910237, 0.166545048, 0.00628500665, -0.166465312, -0.9860273, 0.999858379, 0.0164405983, 0.00359759573),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0260951146, 1.49902618, -0.00289419782, -1.0067597e-06, 0.0574942529, -0.998345912, 0.00628517801, 0.998326182, 0.0574931316, 0.999980211, -0.00627472438, -0.000362364575),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.11075601, -0.749610424, -0.415073156, 0, 0, 1, -0.500000238, 0.866025388, 0, -0.866025388, -0.500000238, 0),Alpha)
- end
- Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true)
- Sound(Barrel,415700134,1.6,10,false,true,true)
- Sound(Barrel,138677306,1.2,7,false,true,true)
- coroutine.wrap(function()
- local cf = Root.CFrame * CF.N(0,0,-2)
- for i = 1, 100 do
- Effect{
- Effect='ResizeAndFade',
- CFrame = cf*CF.A(M.R(90),0,M.R(90)),
- Size=V3.N(2,5,5),
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Crimson',
- Shape='Cylinder',
- FXSettings={
- EndSize=V3.N(0,.3,.3),
- EndIsIncrement=true
- }
- }
- for i = 1, 3 do
- local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
- Effect{
- Effect='ResizeAndFade',
- Frames=65,
- Size=V3.N(1,1,1),
- CFrame=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-10).p,cf.p),
- Mesh = {MeshType=Enum.MeshType.Sphere},
- Material=Enum.Material.Neon,
- Color=BrickColor.new'Really red',
- MoveDirection=CF.N(CF.N(cf.p)*angles*CF.N(0,0,-50).p,cf.p).p,
- FXSettings={
- EndSize=V3.N(0,0,.3),
- EndIsIncrement=true,
- }
- }
- end
- AOEBanish(cf.p,8)
- cf = cf*CF.N(0,0,-2)
- swait()
- end
- end)()
- swait(30)
- Hum.WalkSpeed = 16
- Attack = false
- NeutralAnims = true
- Hum.AutoRotate = true
- end
- function Banisher_Bullet()
- Attack = true
- NeutralAnims = false
- Hum.AutoRotate = false
- for i = 0, .4, .1/3 do
- Turn(Mouse.Hit.p)
- swait()
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.56039762, 0.53398639, -0.0236691795, 0.0156120034, -0.99157083, 0.128623411, 0.00628500059, -0.128539219, -0.991684735, 0.999858379, 0.0162905809, 0.00422526803),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749616861, -0.415070713, 0, 0, 1, -0.500001788, 0.866024435, 0, -0.866024435, -0.500001788, 0),Alpha)
- end
- repeat
- for i = 0, .2, .1/3 do
- Turn(Mouse.Hit.p)
- swait()
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.43598688, 0.64456445, -0.0224216785, 0.0156120034, -0.933606386, 0.357960403, 0.00628500059, -0.357905358, -0.933736861, 0.999858379, 0.0168272816, 0.000280098058),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749611259, -0.415075362, 0, 0, 1, -0.500002265, 0.866024256, 0, -0.866024256, -0.500002265, 0),Alpha)
- end
- Sound(Barrel,238353911,M.RNG(7,13)/10,10,false,true,true)
- Shoot(Barrel.CFrame.p,Mouse.Hit.p)
- for i = 0, .3, .1/3 do
- swait()
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(-0.027945349, 0.0062955129, 0.00791542884, -4.65661287e-09, 0.00628571073, 0.99997133, -1.62185909e-08, 0.99998033, -0.00628576661, -0.999991417, -3.25962901e-09, -9.31322575e-10),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.513343155, -0.990872025, 0.0134561155, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.504049361, -0.991316199, -0.037166521, 0.999878228, 0, 0.0156120034, -9.81333942e-05, 0.99998033, 0.00628500059, -0.0156116933, -0.00628576661, 0.999858379),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.48807681, 0.583711386, -0.00375273079, 0.980986238, 0.193449557, 0.0156120034, -0.193565607, 0.981067359, 0.00628500059, -0.0141005944, -0.00918744504, 0.999858379),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.46904922, 0.532365739, -0.0222326554, 0.0156120034, -0.987360775, 0.157718793, 0.00628500059, -0.157637998, -0.987477064, 0.999858379, 0.0164077543, 0.00374451769),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(0.0128910094, 1.4991622, 0.0185256526, -1.87195837e-07, 0.0574935488, -0.998337269, 0.0062853531, 0.998326361, 0.0574929118, 0.99997133, -0.00627500238, -0.00036155805),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110757828, -0.749605894, -0.415075004, 0, 0, 1, -0.50000155, 0.866024613, 0, -0.866024613, -0.50000149, 0),Alpha)
- end
- until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
- Hum.AutoRotate = true
- Attack = false
- NeutralAnims = true
- end
- function Taunt()
- Attack = true
- NeutralAnims = false
- local taunt = 1 --M.RNG(1,3)
- if(taunt == 1)then
- local rad = 0
- for i = 0, 6, 0.1 do
- swait()
- rad = rad + 35
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.41887283, 0.461011291, -0.0306870341, 0.0158389043, -0.994383454, -0.104623824, 0.00844715256, 0.104766518, -0.994461119, 0.999836862, 0.0148673952, 0.0100591201),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(8.88854265e-06, 1.49895382, -0.0144050419, 0.566473544, 0.0473791771, -0.82271415, 0.00518015958, 0.99812144, 0.0610474497, 0.824061036, -0.0388435796, 0.56516397),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.11075747, -0.749606431, -0.415068656, -5.63569483e-06, -1.58343755e-06, 1.00000012, -0.500001132, 0.866024792, -1.44650403e-06, -0.866024852, -0.500001192, -5.67225288e-06)*CF.A(0,0,M.R(rad)),Alpha)
- end
- Chat (TauntDialogues[M.RNG(1,#TauntDialogues)])
- for i = 0, 6, 0.1 do
- swait()
- local Alpha = .3
- RJ.C0 = clerp(RJ.C0,CFrame.new(5.9524434e-13, 0.00629317388, 1.41309647e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.500225782, -0.996483386, 0.0217089336, 0.994214952, 0.10624785, 0.0156119671, -0.106356524, 0.994308293, 0.00628523249, -0.014855314, -0.00790933147, 0.999856234),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.512264967, -0.996646643, 0.0152785685, 0.994214535, -0.106250875, 0.0156119233, 0.106164388, 0.994328737, 0.00628523249, -0.0161911994, -0.0045914636, 0.999856234),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.44726694, 0.503729105, -0.00388534926, 0.993391156, 0.113691822, 0.0156119671, -0.113801189, 0.993483663, 0.00628523249, -0.0147956526, -0.00802037865, 0.999856234),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.30098641, 0.458334863, -0.45630464, 0.97372508, 0.226236522, 0.0259280894, 0.00073058781, 0.110756524, -0.99384743, -0.227716282, 0.967752993, 0.10768114),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(8.21147114e-06, 1.49895406, -0.0144038275, 0.99988234, -0.000873879122, 0.0151748769, -9.55477299e-05, 0.997964978, 0.0637657493, -0.015199719, -0.0637597144, 0.997847497),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110763341, -0.749599576, -0.415068239, -6.5267086e-06, -2.71201134e-06, 1.00000012, -0.500001013, 0.866024971, -9.23871994e-07, -0.866024971, -0.500001013, -7.01099634e-06),Alpha)
- end
- end
- Attack = false
- NeutralAnims = true
- end
- Mouse.KeyDown:connect(function(k)
- if(Attack)then return end
- if(k == 'x')then Show_Mercy() end
- if(k == 'l')then Banishing_Storm() end
- if(k == 'b')then Spectral_Banish() end
- if(k == 'c')then Teleport() end
- if(k == 'v')then BGone() end
- if(k == 't')then Taunt() end
- end)
- Mouse.Button1Down:connect(function()
- if(Attack)then return end
- Banisher_Bullet()
- end)
- --// Wrap it all up \\--
- Plr.Chatted:connect(function(m)
- local succ,text = pcall(function() return game:service'Chat':FilterStringForBroadcast(m,Plr) end)
- if(not succ)then
- text = string.rep("_",#text)
- end
- Chat(text)
- end)
- while true do
- swait()
- Sine = Sine + Change
- --[[if(not Music or not Music.Parent)then
- local a = Music.TimePosition
- Music = Sound(Char,MusicID,1,1,true,false,true)
- Music.Name = 'Music'
- Music.TimePosition = a
- end
- Music.Volume = 0
- Music.Pitch = 1
- Music.Playing = true]]
- Sine = Sine + Change
- local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), 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(State == 'Walk')then
- local wsVal = 32 / (Hum.WalkSpeed/14)
- local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
- Change = 2
- RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
- LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
- else
- RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
- LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
- end
- if(NeutralAnims)then
- if(State == 'Idle')then
- Change = .5
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,CFrame.new(5.95311994e-13, 0.00629388914+.2*M.C(Sine/20), 1.41759301e-06, 0.99999553, 9.4587449e-11, 0, -5.58664226e-12, 0.999980271, -0.00628617778, 9.31322575e-10, 0.00628615683, 0.99997592),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.560905516, -0.984790266-.2*M.C(Sine/20), 0.0225828942, 0.997905374, 0.0627432317, 0.0156119671, -0.062847726, 0.998003423, 0.00628523249, -0.0151864393, -0.00725326827, 0.999856234),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.507978499, -0.98526901-.2*M.C(Sine/20), 0.0152739538, 0.995106399, -0.0975458771, 0.0156119671, 0.0974583924, 0.995219886, 0.00628523249, -0.016150441, -0.00473298226, 0.999856234),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-0.997352481, 0.328557909+.1*M.C(Sine/20), 0.373372614, 0.726782799, -0.595508456, 0.342274755, 0.369578063, 0.759076476, 0.535924494, -0.578960299, -0.263003558, 0.771770597),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589+.1*M.C(Sine/20), 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(4.35163702e-06, 1.4989562, -0.0144046843, 0.99999553, 3.67523171e-07, -1.62050128e-07, -3.56434612e-07, 0.997964919, 0.0637686774, 1.8440187e-07, -0.0637684539, 0.997960329)*CF.A(M.R(-6*-M.C(Sine/20)),0,0),Alpha)
- HW.C0 = clerp(HW.C0,CFrame.new(-0.110785089, -0.749598742, -0.415072441, 2.87592411e-06, 1.69873238e-06, 1.00000012, -0.500000358, 0.866025329, 0, -0.866025269, -0.500000358, 3.33799494e-06),Alpha)
- elseif(State == 'Walk')then
- local wsVal = 32 / (Hum.WalkSpeed/14)
- local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
- RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha)
- NK.C0 = NK.C0:lerp(NKC0,Alpha)
- LH.C0 = LH.C0:lerp(LHC0,Alpha)
- RH.C0 = RH.C0:lerp(RHC0,Alpha)
- LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.35597444, 0.402479589, 0.0100756176, 0.788939416, -0.614269078, 0.0156119671, 0.614255786, 0.78908211, 0.00628523249, -0.0161799639, 0.00463105366, 0.999856234),Alpha)
- elseif(State == 'Jump' or State == 'Fall')then
- if(Walking)then
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
- else
- local Alpha = .1
- RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
- LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
- RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
- LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
- RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
- NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
- end
- elseif(State == 'Paralyzed')then
- -- paralyzed
- elseif(State == 'Sit')then
- -- sit
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement