Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- local rp = RealPlayer
- script.Parent = rp.Character
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- CAS.UnbindAction = CAS.BindAction
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return m:TrigEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- local _rg = game
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- local g = {
- GetService = function(self,s)
- return rawget(self,s) or _rg:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- FakeService(g,game)
- game,owner = g,g.Players.LocalPlayer
- end
- local p=owner
- local char=p.Character
- wait(2)
- speech = Instance.new("Sound",char)
- speech.SoundId = "rbxassetid://606241996"
- speech.Volume = 10
- speech.Looped = false
- speech:Play()
- print("Server Admin Loaded...")
- local p=owner
- local char=p.Character
- local Char=p.Character
- script.Parent=char
- local torso=char.Torso
- local hed=char.Head
- local larm=char:FindFirstChild("Left Arm")
- local rarm=char:FindFirstChild("Right Arm")
- local lleg=char:FindFirstChild("Left Leg")
- local rleg=char:FindFirstChild("Right Leg")
- local hum=char.Humanoid
- local Character=p.Character
- local mouse=p:GetMouse()
- local cam=workspace.CurrentCamera
- local root=char.HumanoidRootPart
- local hb=game:service("RunService").Heartbeat
- local rs=game:service("RunService").Stepped
- hum.MaxHealth=math.huge
- hum.Health=hum.MaxHealth
- local Create = Instance.new
- local pgui=Instance.new("ScreenGui",p.PlayerGui)
- random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- local run = 30
- local normal = 16
- local color = "Really black"
- local color2 = "Really blue"
- local righteyebrickcolor = "Really blue"
- local NumCol = 0,0,255
- local GodSlayer = true
- local Full = false
- hum.WalkSpeed = 5
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- aurapart = Instance.new("Part",Character)
- aurapart.Size = Vector3.new(0.1,0.1,0.1)
- aurapart.Transparency = 0
- aurapart.CanCollide = false
- aurapart.Position = Vector3.new(0,2,0)
- auraweld = Instance.new("Weld",Character)
- auraweld.Part0 = aurapart
- auraweld.Part1 = torso
- auraweld.C0 = CFrame.new(0,-2,0)
- aura = Instance.new("ParticleEmitter",aurapart)
- aura.Transparency = NumberSequence.new(0)
- aura.Size = NumberSequence.new(20)
- aura.Speed = NumberRange.new(0)
- aura.LockedToPart = true
- aura.Rate = 2
- aura.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
- aura.Texture = "rbxassetid://926709486"
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- framee = Instance.new("Frame")
- framee.Parent = screenGui
- framee.Position = UDim2.new(0, 8, 0, -500)
- framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
- framee.BackgroundColor3 = BrickColor.new("White").Color
- framee.BackgroundTransparency = 1
- for i = 1, 10 do
- framee.BackgroundTransparency = framee.BackgroundTransparency - .1
- wait()
- end
- imageLabelo = Instance.new("ImageLabel")
- imageLabelo.Parent = screenGui
- imageLabelo.BackgroundTransparency = 1
- imageLabelo.ImageTransparency = 0
- imageLabelo.Position = UDim2.new(0, 0, 0, -50)
- imageLabelo.Size = UDim2.new(0, 1370, 0, 750)
- imageLabelo.Image = "rbxassetid://11836901"
- p = owner
- char = p.Character
- 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 = "Cartoon"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- 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 = Color3.new(0,0,255)
- v.Shape="Block"
- text.Text = "Server Admin Joined..."
- speech.Ended:Wait()
- text.Text = "Server Admin"
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Fantasy"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(0,0,255)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Fantasy"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- Player.Chatted:connect(onChatted)
- local shadowhead = Create("Part",Char.Head)
- shadowhead.BrickColor = BrickColor.new("Black")
- shadowhead.Size = Vector3.new(1.2, 0.6, 1)
- shadowhead.CanCollide = false
- local shadowheadmesh = Create("SpecialMesh",shadowhead)
- shadowheadmesh.MeshType = "Head"
- shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
- local weld2 = Create("Weld",shadowhead)
- weld2.Part0 = shadowhead
- weld2.Part1 = Char.Head
- weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- --[[function Transformation()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Script0 = Instance.new("Script")
- Script1 = Instance.new("Script")
- LocalScript2 = Instance.new("LocalScript")
- Script0.Name = "ScreenShake"
- Script0.Parent = mas
- table.insert(cors,sandbox(Script0,function()
- function shake()
- local players = game.Players:GetPlayers()
- for i=1, #players do
- local character = players[i].Character
- local shakescript = character:FindFirstChild("ShakeScript")
- if shakescript ~= nil then
- shakescript.Disabled = false
- end
- end
- end
- script.ShakeScriptAdder.ShakeScript.Disabled=false
- shake()
- end))
- Script1.Name = "ShakeScriptAdder"
- Script1.Parent = Script0
- table.insert(cors,sandbox(Script1,function()
- local players = game.Players:GetPlayers()
- for i=1, #players do
- local player = players[i]
- if player.Character ~= nil then
- script.ShakeScript:clone().Parent = player.Character
- end
- end
- game.Players.PlayerAdded:connect(function(player)
- player.CharacterAdded:connect(function(character)
- script.ShakeScript:clone().Parent = character
- end)
- end)
- end))
- LocalScript2.Name = "ShakeScript"
- LocalScript2.Parent = Script1
- table.insert(cors,sandbox(LocalScript2,function()
- while true do
- local cam = workspace.CurrentCamera
- cam.CFrame=cam.CFrame*CFrame.Angles(math.random(-3,3)/360,math.random(-3,3)/360,math.random(-3,3)/360)
- cam.FieldOfView=math.random(69,71)
- wait()
- end
- end))
- LocalScript2.Disabled = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- hum.WalkSpeed = 0
- local Portal = Instance.new("Model",char)
- local prt1 = Instance.new("Model",Portal)
- local prt2 = Instance.new("Model",Portal)
- local prt3 = Instance.new("Model",Portal)
- for i = 1,7 do
- local p = Instance.new("Part",prt1)
- p.Locked = true
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Really blue")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end for i = 1,7 do
- local p = Instance.new("Part",prt2)
- p.Locked = true
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 1
- p.BrickColor = BrickColor.new("Really black")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end for i = 1,7 do
- local p = Instance.new("Part",prt3)
- p.Locked = true
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 1
- p.BrickColor = BrickColor.new("Really blue")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end
- local Rot,Rate,Dist,Size = 0,65,65,1
- coroutine.wrap(function()
- while wait()do
- if _DEBOUNCE then break end
- for i,v in pairs(prt1:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end for i,v in pairs(prt2:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end for i,v in pairs(prt3:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end
- Rot = Rot >= 360 and 0 or Rot +Rate
- end end)()
- wait(0.75)
- for i = 1,90 do
- Rate = Rate -(2.3/3)
- Dist = Dist -(1.5/3)
- wait()
- end
- wait(1)
- for i = 1,30 do
- Rate = Rate -(2.3/3)
- Dist = Dist +0.5
- wait()
- end
- wait(2)
- for i = 1,30 do
- Rate = Rate +(9.2/3)
- Dist = Dist -1.75
- wait()
- end
- wait(0.75)
- for i = 1,6 do
- Rate = Rate -4
- Dist = Dist +0.5
- wait()
- end
- Rate = 0
- Dist = 6
- wait(2)
- for i = 1,90 do
- Rate = Rate +0.5
- Dist = Dist +0.2
- wait()
- end
- wait(1)
- for i = 1,30 do
- Dist = Dist -(24/30)
- Size = Size +0.05
- wait()
- end
- -- Scream in pain
- coroutine.resume(coroutine.create(function()
- wait(2)
- game.Lighting.TimeOfDay = "24:00:00"
- hat.Transparency = 1
- Hat3=function()
- hat3 = Instance.new("Part", char)
- CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
- hat3.Name = "RedHair"
- hat3.Locked = true
- hat3.BrickColor = BrickColor.new("Really blue")
- hat3.CanCollide=true
- hat3.Size=Vector3.new(1,1,1)
- hat3w = Instance.new("Weld",hat3)
- hat3w.Part0=hat3
- hat3w.Part1=char['Head']
- hat3w.C0=CFrame.new(-0.1,-0.4,0)
- hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
- end
- ypcall(function()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://519769931"
- char.Pants.PantsTemplate = "rbxassetid://519770250"
- end)
- ragesong2 = "815464203"
- s02=Instance.new("Sound",char)
- s02.SoundId="rbxassetid://"..ragesong2
- s02.Volume=1999
- s02.Pitch=1
- s02.Looped=true
- righteyebrickcolor = "Really blue"
- s0:Stop()
- wait(0.01)
- s02:Play()
- reye.BrickColor = BrickColor.new(righteyebrickcolor)
- leye.BrickColor = BrickColor.new(righteyebrickcolor)
- text.TextStrokeColor3 = Color3.new(255,0,0)
- hat.BrickColor = BrickColor.new("Maroon")
- Hat3()
- end))
- tran = 0
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
- Glow1 = Color3.new(.6,0,.1)
- Glow2 = Color3.new(0,0,0)
- GlowParticle = Instance.new("ParticleEmitter",v)
- GlowParticle.LightEmission = 1
- GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
- GlowParticle.Size = NumberSequence.new(0,2)
- GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
- GlowParticle.Transparency = NumberSequence.new(tran,1)
- GlowParticle.LockedToPart = true
- GlowParticle.Lifetime = NumberRange.new(0.5)
- GlowParticle.Rate= 300
- GlowParticle.Speed =NumberRange.new(0)
- end end
- coroutine.wrap(function()
- for i = 1,3 do
- wait()
- end end)()
- wait(1.65)
- _DEBOUNCE = true
- wait()
- Portal:Destroy()
- coroutine.wrap(function()
- local Pos = char.Torso.Position
- local BOOSH = Instance.new("Sound",Workspace)
- BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
- BOOSH.Volume = 1
- BOOSH.Pitch = 0.675
- local Fuse = Instance.new("Sound",Workspace)
- Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
- Fuse.Volume = 1
- Fuse.Pitch = 0.25
- local BOOSH2 = Instance.new("Sound",Workspace)
- BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
- BOOSH2.Volume = 1
- BOOSH2.Pitch = 0.25
- local dsound = true
- local PewPew = Instance.new("Sound",Workspace)
- PewPew.Name = "PewPew"
- PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
- PewPew.Volume = 1
- PewPew.Pitch = 0.32
- local function GetHumanoids()
- local Characters = {}
- for i,v in pairs(Workspace:GetChildren())do
- if v:IsA("Model")then
- local Hu = v:findFirstChild("Humanoid")
- local Torso = v:findFirstChild("Torso")
- if Hu and Torso and v.Name ~= p.Name then
- table.insert(Characters,Torso)
- end end end
- return Characters
- end
- local function Boom()
- for i = 1,25 do
- for _,v in pairs(GetHumanoids())do
- if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really blue")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
- local rm = Instance.new("SpecialMesh",p)
- rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rm.Name = "BlastMesh"
- rm.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for n = 1,15 do
- rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
- if 2 +i/5 == 1.2 then
- rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/15
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
- wait()
- end
- p:Destroy()
- end)()
- local p = Instance.new("Part",char)
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1,1,1)
- p.Anchored = true
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Really blue")
- p.CFrame = CFrame.new(Pos)
- local m = Instance.new("BlockMesh",p)
- coroutine.wrap(function()
- for x = 1,48 do
- m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
- p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
- p.Transparency = x/48
- Wait()
- end
- p:Destroy()
- end)()
- Game:GetService("Debris"):AddItem(p,5)
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1,0.25,1)
- coroutine.wrap(function()
- for n = 1,13 do
- m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
- if 1 +i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/13
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
- Wait()
- end
- p:Destroy()
- end)()
- Wait(0.1)
- end for i = 10,19 do
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really blue")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1,0.25,1)
- coroutine.wrap(function()
- for n = 1,13 do
- m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
- if 1 +i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/13
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
- Wait()
- end
- p:Destroy()
- end)()
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
- p.Parent = workspace
- local m = Instance.new("SpecialMesh",p)
- m.Name = "BlastMesh"
- m.Scale = Vector3.new(0.1,0.1,0.1)
- m.MeshId = "http://www.roblox.com/asset/?id=3270017"
- coroutine.wrap(function()
- for n = 1,15 do
- m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
- if 3+i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/15
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
- Wait()
- end
- p:Destroy()
- end)()
- for _,v in pairs(GetHumanoids())do
- if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end
- Wait(0.1)
- end for i = 30,37 do
- for _,v in pairs(GetHumanoids())do
- if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end end
- dsound = false
- wait(6.5)
- for i = 1,30 do
- BOOSH.Volume = BOOSH.Volume -0.033
- BOOSH2.Volume = BOOSH.Volume
- Fuse.Volume = BOOSH.Volume
- Wait()
- end
- BOOSH:Stop()
- BOOSH2:Stop()
- Fuse:Stop()
- end
- BOOSH2:Play()
- Fuse:Play()
- BOOSH:Play()
- Boom()
- end)()
- hum.WalkSpeed = 5
- end]]
- GroundWave = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"Really blue", "Really blue"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- function BurningEff(part)
- local eff1 = Instance.new("ParticleEmitter",part)
- eff1.Size = NumberSequence.new(.1)
- eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff1.LightEmission = 1
- eff1.Lifetime = NumberRange.new(1)
- eff1.Speed = NumberRange.new(0)
- eff1.Rate = 100
- eff1.Texture = "rbxassetid://284205403"
- eff1.Acceleration = Vector3.new(0,10,0)
- eff1.Color = ColorSequence.new(Color3.new(0,0,255))
- local eff2 = Instance.new("ParticleEmitter",part)
- eff2.Size = NumberSequence.new(.1)
- eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff2.LightEmission = 1
- eff2.Lifetime = NumberRange.new(0.2)
- eff2.Speed = NumberRange.new(0)
- eff2.Rate = 100
- eff2.Texture = "rbxassetid://347504259"
- eff2.Acceleration = Vector3.new(0,10,0)
- eff2.Color = ColorSequence.new(Color3.new(0,0,255))
- local eff3 = Instance.new("ParticleEmitter",part)
- eff3.Size = NumberSequence.new(0.2)
- eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- eff3.LightEmission = 1
- eff3.Lifetime = NumberRange.new(1)
- eff3.Speed = NumberRange.new(0)
- eff3.Rate = 100
- eff3.Texture = "rbxassetid://284205403"
- eff3.Acceleration = Vector3.new(0,10,0)
- eff3.Color = ColorSequence.new(Color3.new(0,0,255))
- end
- script.Name = "Banisher Gun V3 / 1"
- script:ClearAllChildren()
- wait(0.2)
- Player = owner
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- local TIME = 0
- local sick = Instance.new("Sound",Torso)
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- local FORCERESET = false
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "BanishV3Gui"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character:FindFirstChild("Animate")
- local UNANCHOR = true
- local TOBANISH = {}
- script.Parent = PlayerGui
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "1753701701"..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or C3(1,1,1))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- SOUND.Stopped:Connect(function()
- EFFECT:remove()
- end)
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function SpawnTrail(FROM,TO,BIG)
- local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
- MakeForm(TRAIL,"Cyl")
- local DIST = (FROM - TO).Magnitude
- if BIG == true then
- TRAIL.Size = VT(0.5,DIST,0.5)
- else
- TRAIL.Size = VT(0.25,DIST,0.25)
- end
- TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 5 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + 0.1
- end
- TRAIL:remove()
- end))
- end
- Debris = game:GetService("Debris")
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return Raycast(StartPos, DIRECTION, Distance, Ignore)
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- local Particle = IT("ParticleEmitter",nil)
- Particle.Enabled = false
- Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
- Particle.LightEmission = 0.5
- Particle.Rate = 150
- Particle.ZOffset = 0.2
- Particle.Rotation = NumberRange.new(-180, 180)
- Particle.RotSpeed = NumberRange.new(-180, 180)
- Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
- Particle.Color = ColorSequence.new(C3(0,0,1),C3(0,0,0.4))
- --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
- function ParticleEmitter(Table)
- local PRTCL = Particle:Clone()
- local Speed = Table.Speed or 5
- local Drag = Table.Drag or 0
- local Size1 = Table.Size1 or 1
- local Size2 = Table.Size2 or 5
- local Lifetime1 = Table.Lifetime1 or 1
- local Lifetime2 = Table.Lifetime2 or 1.5
- local Parent = Table.Parent or Torso
- local Emit = Table.Emit or 100
- local Offset = Table.Offset or 360
- local Acel = Table.Acel or VT(0,0,0)
- local Enabled = Table.Enabled or false
- PRTCL.Parent = Parent
- PRTCL.Size = NumberSequence.new(Size1,Size2)
- PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
- PRTCL.Speed = NumberRange.new(Speed)
- PRTCL.VelocitySpread = Offset
- PRTCL.Drag = Drag
- PRTCL.Acceleration = Acel
- if Enabled == false then
- PRTCL:Emit(Emit)
- Debris:AddItem(PRTCL,Lifetime2)
- else
- PRTCL.Enabled = true
- end
- return PRTCL
- end
- local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
- local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- for i = 1, 8 do
- local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
- end
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
- MakeForm(Part,"Ball")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
- local LASTPART = Handle
- for i = 1, 10 do
- if LASTPART == Handle then
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
- LASTPART = Part
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- else
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
- CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
- LASTPART = Part
- end
- end
- local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
- MakeForm(Barrel,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
- MakeForm(Part,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
- MakeForm(Part,"Wedge")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
- local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
- MakeForm(Hole,"Cyl")
- CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
- local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
- local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
- local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
- CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
- coroutine.resume(coroutine.create(function()
- while wait() do
- GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
- GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
- end
- end))
- ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
- --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
- for _, c in pairs(Weapon:GetDescendants()) do
- if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
- c.Material = "Glass"
- c.Color = C3(0,0,0)
- elseif c.ClassName == "Part" and c.Name == "Eye" then
- c.Color = C3(0,0,1)
- c.Material = "Neon"
- end
- end
- Weapon.Parent = Character
- for _, c in pairs(Weapon:GetChildren()) do
- if c.ClassName == "Part" then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- end
- local SKILLTEXTCOLOR = C3(0,0,1)
- local SKILLFONT = "Antique"
- local SKILLTEXTSIZE = 7
- Humanoid.Died:connect(function()
- ATTACK = true
- end)
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- ]]
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
- --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
- ]]
- function printbye(Name)
- local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
- chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
- end
- workspace.ChildAdded:connect(function(instance)
- for BANISH = 1, #TOBANISH do
- if TOBANISH[BANISH] ~= nil then
- if instance.Name == TOBANISH[BANISH] then
- coroutine.resume(coroutine.create(function()
- printbye(instance.Name)
- instance:ClearAllChildren()
- Debris:AddItem(instance,0.0005)
- end))
- end
- end
- end
- end)
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function Banish(Foe)
- if Foe then
- coroutine.resume(coroutine.create(function()
- --if game.Players:FindFirstChild(Foe.Name) then
- table.insert(TOBANISH,Foe.Name)
- printbye(Foe.Name)
- --end
- Foe.Archivable = true
- local CLONE = Foe:Clone()
- Foe:Destroy()
- CLONE.Parent = Effects
- CLONE:BreakJoints()
- local MATERIALS = {"Glass","Neon"}
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
- CreateSound(340722848, c, 10, 1, false)
- end
- c.Anchored = true
- c.Transparency = c.Transparency + 0.2
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Color = C3(0,0,1)
- if c.ClassName == "MeshPart" then
- c.TextureID = ""
- end
- if c:FindFirstChildOfClass("SpecialMesh") then
- c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
- end
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal"):remove()
- end
- c.Name = "Banished"
- c.CanCollide = false
- else
- c:remove()
- end
- end
- local A = false
- for i = 1, 35 do
- if A == false then
- A = true
- elseif A == true then
- A = false
- end
- for _, c in pairs(CLONE:GetDescendants()) do
- if c:IsA("BasePart") then
- c.Anchored = true
- c.Material = MATERIALS[MRANDOM(1,2)]
- c.Transparency = c.Transparency + 0.8/35
- if A == false then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- elseif A == true then
- c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
- end
- end
- end
- Swait()
- end
- CLONE:remove()
- end))
- end
- end
- function ApplyAoE(POSITION,RANGE,ISBANISH)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - POSITION).Magnitude <= RANGE then
- if ISBANISH == true then
- Banish(CHILD)
- else
- if ISBANISH == "Gravity" then
- HUM.PlatformStand = true
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- local grav = Instance.new("BodyPosition",TORSO)
- grav.D = 15
- grav.P = 20000
- grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- grav.position = TORSO.Position
- grav.Name = "V3BanishForce"..Player.Name
- else
- TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
- TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
- end
- else
- HUM.PlatformStand = false
- end
- end
- elseif ISBANISH == "Gravity" then
- if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
- TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
- HUM.PlatformStand = false
- end
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- function Banisher_Bullet()
- ATTACK = true
- Rooted = false
- for i=0, 0.4, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- repeat
- for i=0, 0.2, 0.1 / Animation_Speed do
- Swait()
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
- SpawnTrail(Hole.Position,POS)
- if HIT ~= nil then
- if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
- Banish(HIT.Parent)
- end
- end
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
- end
- until KEYHOLD == false
- ATTACK = false
- Rooted = false
- end
- function AttackTemplate()
- ATTACK = true
- Rooted = false
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- if ATTACK == false then
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if Key == "z" and ATTACK == false then
- Banisher_Bullet()
- end
- if Key == "b" and ATTACK == false then
- FullPower3()
- end
- if Key == "c" and ATTACK == false then
- end
- if Key == "v" and ATTACK == false then
- end
- if Key == "x" and ATTACK == false then
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" then
- g[i].Anchored = false
- end
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- local CONNECT = nil
- while true do
- Swait()
- ANIMATE.Parent = nil
- if Character:FindFirstChildOfClass("Humanoid") == nil then
- Humanoid = IT("Humanoid",Character)
- end
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 50), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- sick.Parent = Torso
- sick:resume()
- sick.Volume = 5
- sick.Pitch = 1
- sick.Looped = true
- sick.SoundId = "rbxassetid://1182336979"
- sick.Name = "BanishV3Music"
- speech.Ended:Wait()
- sick:Play()
- end
- hum.Died:connect(function()
- speech:Stop()
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to mastuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- --God Slayer
- --[[wait(0.1)
- -------------------------------
- local p=game:service("Players").AxeuerAlt
- if p.Name=="Localplayer" then
- p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
- elseif p.Name=="Rerumu" then
- p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
- end]]
- local p=owner
- local char=p.Character
- script.Parent=char
- local torso=char.Torso
- local hed=char.Head
- local larm=char:FindFirstChild("Left Arm")
- local rarm=char:FindFirstChild("Right Arm")
- local lleg=char:FindFirstChild("Left Leg")
- local rleg=char:FindFirstChild("Right Leg")
- local hum=char.Humanoid
- local mouse=p:GetMouse()
- local cam=workspace.CurrentCamera
- local root=char.HumanoidRootPart
- local hb=game:service("RunService").Heartbeat
- local rs=game:service("RunService").Stepped
- hum.MaxHealth=math.huge
- hum.Health=hum.MaxHealth
- local pgui=Instance.new("ScreenGui",p.PlayerGui)
- random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- local run = 30
- local normal = 16
- local color = "Really black"
- local color2 = "Really blue"
- local righteyebrickcolor = "Really blue"
- local NumCol = 0,0,255
- local GodSlayer = true
- local Full = false
- hum.WalkSpeed = 5
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- -------------------
- local drinks="10722059"
- local m="41707332"
- local tx="41708701"
- local ragesong="815464203"
- local breaks="368270172"
- local scream="527276541"
- local Shirt = "rbxassetid://427841675"
- local Pants = "rbxassetid://428282416"
- -------------------
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function chatfunc(text)
- local chat = coroutine.wrap(function()
- if char:FindFirstChild("TalkingBillBoard")~= nil then
- char:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = char.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = "Code"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- tecks2.TextStrokeColor3 = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = "Code"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.new(255,0,0)
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- tecks3.Size = UDim2.new(1,0,0.5,0)
- for i = 1,string.len(text),1 do
- tecks2.Text = string.sub(text,1,i)
- tecks3.Text = string.sub(text,1,i)
- wait(0.01)
- end
- wait(2)
- for i = 1, 50 do
- swait()
- tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks2.Rotation = tecks2.Rotation - .8
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
- tecks3.Rotation = tecks2.Rotation + .8
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- function onChatted(msg)
- chatfunc(msg)
- end
- p.Chatted:connect(onChatted)
- coroutine.resume(coroutine.create(function()
- wait(2)
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- speech = Instance.new("Sound",workspace)
- speech.SoundId = "rbxassetid://2340816511"
- speech.Volume = 10
- speech:Play()
- framee = Instance.new("Frame")
- framee.Parent = screenGui
- framee.Position = UDim2.new(0, 8, 0, -500)
- framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
- framee.BackgroundColor3 = BrickColor.new("White").Color
- framee.BackgroundTransparency = 1
- for i = 1, 10 do
- framee.BackgroundTransparency = framee.BackgroundTransparency - .1
- wait()
- end
- imageLabelo = Instance.new("ImageLabel")
- imageLabelo.Parent = screenGui
- imageLabelo.BackgroundTransparency = 0
- imageLabelo.ImageTransparency = 0
- imageLabelo.Position = UDim2.new(0, 0, 0, -50)
- imageLabelo.Size = UDim2.new(0, 1370, 0, 750)
- imageLabelo.Image = "rbxassetid://36421062"
- wait(6)
- imageLabelo2 = Instance.new("ImageLabel")
- imageLabelo2.Parent = screenGui
- imageLabelo2.BackgroundTransparency = 0
- imageLabelo2.ImageTransparency = 0
- imageLabelo2.Position = UDim2.new(0, 0, 0, -50)
- imageLabelo2.Size = UDim2.new(0, 1370, 0, 750)
- imageLabelo2.Image = "rbxassetid://1322204387"
- for i = 1, 50 do
- imageLabelo.ImageTransparency = imageLabelo.ImageTransparency + 0.025
- imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency - 0.025
- wait()
- end
- wait(2.9)
- for i = 1, 10 do
- framee.BackgroundTransparency = framee.BackgroundTransparency + .1
- imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency + .1
- wait()
- end
- imageLabelo:Remove()
- imageLabelo2:Remove()
- chatfunc("Demons Have Taken Control I Must Become The Slayer Of The Demons")
- end))
- local s0=Instance.new("Sound",char)
- s0.SoundId="rbxassetid://"..ragesong
- s0.Volume=1999
- s0.Pitch=1
- s0.Looped=true
- local s02=Instance.new("Sound",char)
- s02.SoundId="rbxassetid://815464203"
- s02.Volume=1999
- s02.Pitch=1
- s02.Looped=false
- s02:Play()
- function Sound(ID,Parent,Vol,Pitch,Loop)
- local S0 = Instance.new("Sound",Parent)
- S0.SoundId = ID
- S0.Volume = Vol
- S0.Looped = Loop
- S0.Pitch = Pitch
- wait(.1)
- S0:Play()
- end
- function weld(a, b, acf)
- local w = Instance.new("Weld", a)
- w.Part0 = a
- w.Part1 = b
- w.C0 = acf
- end
- wait(9)
- local reye = Instance.new("Part", char)
- reye.CanCollide = false
- reye.BrickColor = BrickColor.new(righteyebrickcolor)
- reye.Material = "Neon"
- reye.Size = Vector3.new(.15,.15,.15)
- weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
- m1 = Instance.new("SpecialMesh", reye)
- m1.MeshType = "Sphere"
- m1.Scale = Vector3.new(0.9,0.9,0.9)
- reye.Locked = true
- reye.Name = "re"
- local leye = Instance.new("Part", char)
- leye.CanCollide = false
- leye.BrickColor = BrickColor.new(righteyebrickcolor)
- leye.Material = "Neon"
- leye.Size = Vector3.new(.15,.15,.15)
- weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
- local m = Instance.new("SpecialMesh", leye)
- m.MeshType = "Sphere"
- m.Scale = Vector3.new(0.9,0.9,0.9)
- leye.Locked = true
- leye.Name = "le"
- coroutine.resume(coroutine.create(function(Part,Weld)
- while Part.Parent~=nil do
- wait(2)
- for i=0,1,0.2 do
- wait()
- m.Scale = Vector3.new(.9,.9-.8*i,.5)
- end
- for i=0,1,0.2 do
- wait()
- m.Scale = Vector3.new(.9,.9+.8*i,.5)
- end
- end
- end),leye,weld)
- coroutine.resume(coroutine.create(function(Part,Weld)
- while Part.Parent~=nil do
- wait(2)
- for z=0,1,0.2 do
- wait()
- m1.Scale = Vector3.new(.9,.9-.8*z,.5)
- end
- for z=0,1,0.2 do
- wait()
- m1.Scale = Vector3.new(.9,.9+.8*z,.5)
- end
- end
- end),reye,weld)
- function fnt(pos,dist,splr)
- if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
- local list = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -pos).magnitude <= dist then
- table.insert(list,v)
- end
- end
- end
- end
- end
- return list
- end
- function fnp(pos,dist,splr)
- if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
- local list = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Part")then
- if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
- if(v.Position -pos).magnitude <= dist then
- table.insert(list,v)
- end
- end
- end
- end
- return list
- end
- fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- local trans=false
- ------------------------------------
- ------------------------------------
- anim="idle"
- local sine=0
- local add=0
- local value=0
- local ffing=false
- local msgs=0
- attack=false
- NoAnims=false
- ----preparing character----
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- fw(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- fw(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- fw(torso, hed, 0, 1.5, 0)
- fw(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- fw(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- fw(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- --------------rot------------
- local r=0
- local radd=0.04
- coroutine.wrap(function()
- while rs:wait() do
- r=r+radd
- end
- end)()
- attack = false
- -----------------------------
- -----------------------------
- if trans == false then
- attack=true
- NoAnims=true
- hum.WalkSpeed=0
- local fx = Instance.new("Sound",char)
- fx.SoundId="rbxassetid://"..drinks
- fx.Volume=0
- fx.Pitch=1
- fx:Play()
- fx.SoundId="rbxassetid://"..breaks
- fx.Volume=10
- fx:Play()
- print("drinked")
- coroutine.wrap(function()
- while trans == false do
- wait(0.2)
- local ef = Instance.new("Part",char)
- ef.Name="pulse"
- ef.BrickColor=BrickColor.new(color2)
- ef.Material="Neon"
- ef.Shape="Ball"
- ef.CanCollide=false
- ef.Anchored=true
- ef.Size=Vector3.new(1,1,1)
- ef.CFrame=root.CFrame
- local ef2 = ef:Clone()
- ef2.Parent=ef
- ef2.BrickColor=BrickColor.new(color)
- ef2.Name="call"
- ef2.Size=Vector3.new(1,1,1)
- local em=Instance.new("SpecialMesh",ef2)
- em.MeshId="rbxassetid://3270017"
- em.Scale=Vector3.new(1,1,0.0001)
- local ef3 = ef2:Clone()
- ef3.Parent=ef
- ef3.Name="aura"
- ef3.CFrame=root.CFrame
- local em2=ef3.Mesh
- em2.MeshId="rbxassetid://20329976"
- em2.Scale=Vector3.new(1,0.4,1)
- local ef4 = ef3:Clone()
- ef4.Parent=ef
- local em3=ef4.Mesh
- local ef5 = ef2:Clone()
- ef5.Parent=ef
- local em4=ef5.Mesh
- coroutine.wrap(function()
- for i = 1, 60 do
- rs:wait()
- ef.Size=ef.Size+Vector3.new(1,1,1)
- ef.Transparency=ef.Transparency+1/60
- ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
- ef2.Transparency=ef2.Transparency+1/60
- em.Scale=em.Scale+Vector3.new(1,1,0)
- ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
- ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
- ef3.Transparency=ef3.Transparency+1/60
- ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
- em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
- ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
- ef4.Transparency=ef4.Transparency+1/60
- ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
- em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
- ef5.Transparency=ef5.Transparency+1/60
- em4.Scale=em4.Scale+Vector3.new(1,1,0)
- ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
- end
- ef:Destroy()
- ef2:Destroy()
- ef3:Destroy()
- ef4:Destroy()
- ef5:Destroy()
- end)()
- end
- local ef = Instance.new("Part",char)
- ef.Name="pulse"
- ef.BrickColor=BrickColor.new(color2)
- ef.Material="Neon"
- ef.Shape="Ball"
- ef.CanCollide=false
- ef.Anchored=true
- ef.Size=Vector3.new(1,1,1)
- ef.CFrame=root.CFrame
- local em=Instance.new("SpecialMesh",ef)
- em.MeshId="rbxassetid://9982590"
- em.Scale=Vector3.new(1,0.3,1)
- local ef2 = ef:Clone()
- ef2.Parent=ef
- ef2.Name="aura"
- ef2.CFrame=root.CFrame
- ef2.Mesh:Destroy()
- local ef3 = ef:Clone()
- ef3.Parent=ef
- ef3.Name="aura"
- ef3.CFrame=root.CFrame
- ef3.Mesh:Destroy()
- local em2=Instance.new("SpecialMesh",ef3)
- em2.MeshId="rbxassetid://20329976"
- em2.Scale=Vector3.new(1,0.3,1)
- coroutine.wrap(function()
- for i = 1, 250 do
- ef.Size=ef.Size+Vector3.new(2,2,2)
- ef.Transparency=ef.Transparency+1/160
- em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
- ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
- ef3.Transparency=ef3.Transparency+1/160
- ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
- em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
- ef2.Size=ef2.Size+Vector3.new(2,2,2)
- ef2.Transparency=ef2.Transparency+1/160
- rs:wait()
- end
- ef:Destroy()
- ef2:Destroy()
- ef3:Destroy()
- s02:Destroy()
- end)()
- end)()
- for i = 1, 270 do
- torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
- rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
- lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
- rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
- larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
- hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
- rs:wait()
- end
- wait(8.7)
- s0:Play()
- trans=true
- print("screamed")
- for i,v in pairs(char:GetChildren()) do
- if v:FindFirstChild("Handle") then
- v.Handle.Transparency=1
- end
- end
- hum.WalkSpeed=normal
- NoAnims=false
- attack=false
- end
- ------effects------
- ypcall(function()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = Shirt
- char.Pants.PantsTemplate = Pants
- end)
- char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
- char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
- char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
- char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
- hum = char.Humanoid
- function CreateMesh(parent, id, x, y, z, texture)
- local m=Instance.new("SpecialMesh", parent)
- m.MeshType = "FileMesh"
- m.MeshId=id
- if texture ~= nil then
- m.TextureId=texture
- end
- m.Scale = Vector3.new(x,y,z)
- end
- local euler = CFrame.fromEulerAnglesXYZ
- Hat=function()
- hat = Instance.new("Part", char)
- CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
- hat.Name = "PurpleHair"
- hat.Locked = true
- hat.BrickColor = BrickColor.new("Really blue")
- hat.CanCollide=true
- hat.Size=Vector3.new(1,1,1)
- hatw = Instance.new("Weld",hat)
- hatw.Part0=hat
- hatw.Part1=char['Head']
- hatw.C0=CFrame.new(-0.1,-0.4,0)
- hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
- end
- Hat2=function()
- hat2 = Instance.new("Part", char)
- CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
- hat2.Name = "DisguiseScarf"
- hat2.Locked = true
- hat2.BrickColor = BrickColor.new("Dark indigo")
- hat2.CanCollide=true
- hat2.Size=Vector3.new(1,1,1)
- hat2w = Instance.new("Weld",hat2)
- hat2w.Part0=hat2
- hat2w.Part1=char['Head']
- hat2w.C0=CFrame.new(0,0.5,0)
- hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
- end
- Hat()
- Hat2()
- hum.MaxHealth=math.huge
- hum.Health=hum.MaxHealth
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- CV="Really blue"
- 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, 11, 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 = "Code"
- text.TextStrokeColor3 = Color3.new(255,0,0)
- 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 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = "Demon Slayer"
- rarm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://588693156"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 20
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://588693156"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 20
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- end
- end)
- larm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://588693156"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 20
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://588693156"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 20
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- end
- end)
- local attacktype = 1
- local attack = false
- function attackone()
- Debounces.RPunch = true
- Debounces.LPunch = true
- attack = true
- NoAnims = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- attack = false
- NoAnims = false
- Debounces.RPunch = false
- Debounces.LPunch = false
- end
- function attacktwo()
- Debounces.RPunch = true
- Debounces.LPunch = true
- NoAnims = true
- attack = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- attack = false
- NoAnims = false
- Debounces.RPunch = false
- Debounces.LPunch = false
- end
- function attackthree()
- Debounces.RPunch = true
- Debounces.LPunch = true
- NoAnims = true
- attack = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- attack = false
- NoAnims = false
- Debounces.RPunch = false
- Debounces.LPunch = false
- end
- function attackfour()
- Debounces.RPunch = true
- Debounces.LPunch = true
- NoAnims = true
- attack = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- attack = false
- NoAnims = false
- Debounces.RPunch = false
- Debounces.LPunch = false
- end
- mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 4
- attackthree()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- attackfour()
- end
- end)
- --[[function Transformation()
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Script0 = Instance.new("Script")
- Script1 = Instance.new("Script")
- LocalScript2 = Instance.new("LocalScript")
- Script0.Name = "ScreenShake"
- Script0.Parent = mas
- table.insert(cors,sandbox(Script0,function()
- function shake()
- local players = game.Players:GetPlayers()
- for i=1, #players do
- local character = players[i].Character
- local shakescript = character:FindFirstChild("ShakeScript")
- if shakescript ~= nil then
- shakescript.Disabled = false
- end
- end
- end
- script.ShakeScriptAdder.ShakeScript.Disabled=false
- shake()
- end))
- Script1.Name = "ShakeScriptAdder"
- Script1.Parent = Script0
- table.insert(cors,sandbox(Script1,function()
- local players = game.Players:GetPlayers()
- for i=1, #players do
- local player = players[i]
- if player.Character ~= nil then
- script.ShakeScript:clone().Parent = player.Character
- end
- end
- game.Players.PlayerAdded:connect(function(player)
- player.CharacterAdded:connect(function(character)
- script.ShakeScript:clone().Parent = character
- end)
- end)
- end))
- LocalScript2.Name = "ShakeScript"
- LocalScript2.Parent = Script1
- table.insert(cors,sandbox(LocalScript2,function()
- while true do
- local cam = workspace.CurrentCamera
- cam.CFrame=cam.CFrame*CFrame.Angles(math.random(-3,3)/360,math.random(-3,3)/360,math.random(-3,3)/360)
- cam.FieldOfView=math.random(69,71)
- wait()
- end
- end))
- LocalScript2.Disabled = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- hum.WalkSpeed = 0
- local Portal = Instance.new("Model",char)
- local prt1 = Instance.new("Model",Portal)
- local prt2 = Instance.new("Model",Portal)
- local prt3 = Instance.new("Model",Portal)
- for i = 1,7 do
- local p = Instance.new("Part",prt1)
- p.Locked = true
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Really blue")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end for i = 1,7 do
- local p = Instance.new("Part",prt2)
- p.Locked = true
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 1
- p.BrickColor = BrickColor.new("Really black")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end for i = 1,7 do
- local p = Instance.new("Part",prt3)
- p.Locked = true
- p.Anchored = true
- p.CanCollide = false
- p.Transparency = 1
- p.BrickColor = BrickColor.new("Really blue")
- p.TopSurface = 0
- p.Material = "Neon"
- p.BottomSurface = 0
- p.Size = Vector3.new(1,1,1)
- local m = Instance.new("SpecialMesh",p)
- m.Name = 'm'
- m.Scale = Vector3.new(1,1,1)
- m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- end
- local Rot,Rate,Dist,Size = 0,65,65,1
- coroutine.wrap(function()
- while wait()do
- if _DEBOUNCE then break end
- for i,v in pairs(prt1:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end for i,v in pairs(prt2:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end for i,v in pairs(prt3:GetChildren())do
- v.Transparency = v.Transparency -0.035
- v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
- v.m.Scale = Vector3.new(Size,Size,Size)
- end
- Rot = Rot >= 360 and 0 or Rot +Rate
- end end)()
- wait(0.75)
- for i = 1,90 do
- Rate = Rate -(2.3/3)
- Dist = Dist -(1.5/3)
- wait()
- end
- wait(1)
- for i = 1,30 do
- Rate = Rate -(2.3/3)
- Dist = Dist +0.5
- wait()
- end
- wait(2)
- for i = 1,30 do
- Rate = Rate +(9.2/3)
- Dist = Dist -1.75
- wait()
- end
- wait(0.75)
- for i = 1,6 do
- Rate = Rate -4
- Dist = Dist +0.5
- wait()
- end
- Rate = 0
- Dist = 6
- wait(2)
- for i = 1,90 do
- Rate = Rate +0.5
- Dist = Dist +0.2
- wait()
- end
- wait(1)
- for i = 1,30 do
- Dist = Dist -(24/30)
- Size = Size +0.05
- wait()
- end
- -- Scream in pain
- coroutine.resume(coroutine.create(function()
- wait(2)
- game.Lighting.TimeOfDay = "24:00:00"
- hat.Transparency = 1
- Hat3=function()
- hat3 = Instance.new("Part", char)
- CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
- hat3.Name = "RedHair"
- hat3.Locked = true
- hat3.BrickColor = BrickColor.new("Really blue")
- hat3.CanCollide=true
- hat3.Size=Vector3.new(1,1,1)
- hat3w = Instance.new("Weld",hat3)
- hat3w.Part0=hat3
- hat3w.Part1=char['Head']
- hat3w.C0=CFrame.new(-0.1,-0.4,0)
- hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
- end
- ypcall(function()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://519769931"
- char.Pants.PantsTemplate = "rbxassetid://519770250"
- end)
- ragesong2 = "815464203"
- s02=Instance.new("Sound",char)
- s02.SoundId="rbxassetid://"..ragesong2
- s02.Volume=1999
- s02.Pitch=1
- s02.Looped=true
- righteyebrickcolor = "Really blue"
- s0:Stop()
- wait(0.01)
- s02:Play()
- reye.BrickColor = BrickColor.new(righteyebrickcolor)
- leye.BrickColor = BrickColor.new(righteyebrickcolor)
- text.TextStrokeColor3 = Color3.new(255,0,0)
- hat.BrickColor = BrickColor.new("Maroon")
- Hat3()
- end))
- tran = 0
- for i,v in pairs(char:GetChildren()) do
- if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
- Glow1 = Color3.new(.6,0,.1)
- Glow2 = Color3.new(0,0,0)
- GlowParticle = Instance.new("ParticleEmitter",v)
- GlowParticle.LightEmission = 1
- GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
- GlowParticle.Size = NumberSequence.new(0,2)
- GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
- GlowParticle.Transparency = NumberSequence.new(tran,1)
- GlowParticle.LockedToPart = true
- GlowParticle.Lifetime = NumberRange.new(0.5)
- GlowParticle.Rate= 300
- GlowParticle.Speed =NumberRange.new(0)
- end end
- coroutine.wrap(function()
- for i = 1,3 do
- wait()
- end end)()
- wait(1.65)
- _DEBOUNCE = true
- wait()
- Portal:Destroy()
- coroutine.wrap(function()
- local Pos = char.Torso.Position
- local BOOSH = Instance.new("Sound",Workspace)
- BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
- BOOSH.Volume = 1
- BOOSH.Pitch = 0.675
- local Fuse = Instance.new("Sound",Workspace)
- Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
- Fuse.Volume = 1
- Fuse.Pitch = 0.25
- local BOOSH2 = Instance.new("Sound",Workspace)
- BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
- BOOSH2.Volume = 1
- BOOSH2.Pitch = 0.25
- local dsound = true
- local PewPew = Instance.new("Sound",Workspace)
- PewPew.Name = "PewPew"
- PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
- PewPew.Volume = 1
- PewPew.Pitch = 0.32
- local function GetHumanoids()
- local Characters = {}
- for i,v in pairs(Workspace:GetChildren())do
- if v:IsA("Model")then
- local Hu = v:findFirstChild("Humanoid")
- local Torso = v:findFirstChild("Torso")
- if Hu and Torso and v.Name ~= p.Name then
- table.insert(Characters,Torso)
- end end end
- return Characters
- end
- local function Boom()
- for i = 1,25 do
- for _,v in pairs(GetHumanoids())do
- if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really blue")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
- local rm = Instance.new("SpecialMesh",p)
- rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rm.Name = "BlastMesh"
- rm.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for n = 1,15 do
- rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
- if 2 +i/5 == 1.2 then
- rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/15
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
- wait()
- end
- p:Destroy()
- end)()
- local p = Instance.new("Part",char)
- p.TopSurface = 0
- p.BottomSurface = 0
- p.formFactor = "Symmetric"
- p.Size = Vector3.new(1,1,1)
- p.Anchored = true
- p.CanCollide = false
- p.BrickColor = BrickColor.new("Really blue")
- p.CFrame = CFrame.new(Pos)
- local m = Instance.new("BlockMesh",p)
- coroutine.wrap(function()
- for x = 1,48 do
- m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
- p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
- p.Transparency = x/48
- Wait()
- end
- p:Destroy()
- end)()
- Game:GetService("Debris"):AddItem(p,5)
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1,0.25,1)
- coroutine.wrap(function()
- for n = 1,13 do
- m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
- if 1 +i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/13
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
- Wait()
- end
- p:Destroy()
- end)()
- Wait(0.1)
- end for i = 10,19 do
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really blue")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "http://www.roblox.com/asset/?id=20329976"
- m.Scale = Vector3.new(1,0.25,1)
- coroutine.wrap(function()
- for n = 1,13 do
- m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
- if 1 +i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/13
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
- Wait()
- end
- p:Destroy()
- end)()
- local p = Instance.new("Part",char)
- p.Name = "BlastRing"
- p.TopSurface = 0
- p.BottomSurface = 0
- p.CanCollide = false
- p.Anchored = true
- p.BrickColor = BrickColor.new("Really black")
- p.Size = Vector3.new(1,1,1)
- p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
- p.Parent = workspace
- local m = Instance.new("SpecialMesh",p)
- m.Name = "BlastMesh"
- m.Scale = Vector3.new(0.1,0.1,0.1)
- m.MeshId = "http://www.roblox.com/asset/?id=3270017"
- coroutine.wrap(function()
- for n = 1,15 do
- m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
- if 3+i/5 == 1.2 then
- m.Scale = m.Scale + Vector3.new(0,0.9,0)
- end
- p.Transparency = n/15
- p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
- Wait()
- end
- p:Destroy()
- end)()
- for _,v in pairs(GetHumanoids())do
- if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end
- Wait(0.1)
- end for i = 30,37 do
- for _,v in pairs(GetHumanoids())do
- if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
- local h = v.Parent:findFirstChild("Humanoid")
- if h then
- local Moar =(Pos - v.Position).unit
- end end end end
- dsound = false
- wait(6.5)
- for i = 1,30 do
- BOOSH.Volume = BOOSH.Volume -0.033
- BOOSH2.Volume = BOOSH.Volume
- Fuse.Volume = BOOSH.Volume
- Wait()
- end
- BOOSH:Stop()
- BOOSH2:Stop()
- Fuse:Stop()
- end
- BOOSH2:Play()
- Fuse:Play()
- BOOSH:Play()
- Boom()
- end)()
- hum.WalkSpeed = 5
- end]]
- GroundWave = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"Really blue", "Really blue"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- function BurningEff(part)
- local eff1 = Instance.new("ParticleEmitter",part)
- eff1.Size = NumberSequence.new(.1)
- eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff1.LightEmission = 1
- eff1.Lifetime = NumberRange.new(1)
- eff1.Speed = NumberRange.new(0)
- eff1.Rate = 100
- eff1.Texture = "rbxassetid://284205403"
- eff1.Acceleration = Vector3.new(0,10,0)
- eff1.Color = ColorSequence.new(Color3.new(0,0,255))
- local eff2 = Instance.new("ParticleEmitter",part)
- eff2.Size = NumberSequence.new(.1)
- eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
- eff2.LightEmission = 1
- eff2.Lifetime = NumberRange.new(0.2)
- eff2.Speed = NumberRange.new(0)
- eff2.Rate = 100
- eff2.Texture = "rbxassetid://347504259"
- eff2.Acceleration = Vector3.new(0,10,0)
- eff2.Color = ColorSequence.new(Color3.new(0,0,255))
- local eff3 = Instance.new("ParticleEmitter",part)
- eff3.Size = NumberSequence.new(0.2)
- eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
- eff3.LightEmission = 1
- eff3.Lifetime = NumberRange.new(1)
- eff3.Speed = NumberRange.new(0)
- eff3.Rate = 100
- eff3.Texture = "rbxassetid://284205403"
- eff3.Acceleration = Vector3.new(0,10,0)
- eff3.Color = ColorSequence.new(Color3.new(0,0,255))
- end
- function FullPower()
- NoAnims = true
- attack = true
- Full = true
- for i = 1, 40 do
- wait()
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
- end
- for i = 1, 20 do
- wait()
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
- end
- s0:Destroy()
- ragesong = "815464203"
- wait(0.001)
- s02 = Instance.new("Sound",char)
- s02.Volume = 90
- s02.SoundId = "rbxassetid://"..ragesong
- s02.Looped = true
- s02.Pitch = 1
- wait(0.001)
- s02:Play()
- -------[[ Lets start with something simple like the Variables & Settings ]]-----
- chatfunc("Demons Have Taken Control Fully And Corrupted Me With This God Powers")
- wait(2)
- local char = owner.Character
- for i,v in pairs(char:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- local aura = Instance.new("ParticleEmitter",owner.Character.Torso)
- aura.Size = NumberSequence.new(0)
- aura.Lifetime = NumberRange.new(0)
- aura.LightEmission = 0
- local jun = owner
- local Player=owner
- repeat wait()
- until Player
- local Char=Player.Character
- repeat wait()
- until Char
- local CurrentEffects={}
- local CurrentDamages={}
- local Human=Char.Humanoid
- local LArm=Char["Left Arm"]
- local RArm=Char["Right Arm"]
- local LLeg=Char["Left Leg"]
- local RLeg=Char["Right Leg"]
- local Torso=Char.Torso
- local RS=Torso["Right Shoulder"]
- local LS=Torso["Left Shoulder"]
- local RH=Torso["Right Hip"]
- local LH=Torso["Left Hip"]
- local Head=Char.Head
- local Neck=Torso.Neck
- local RootPart=Char.HumanoidRootPart
- local RootJoint=RootPart.RootJoint
- local equipped=false
- local Debounce=false
- local Anim="Idle"
- local chat = game:GetService("Chat")
- local Lighting=game.Lighting
- local cf=CFrame.new
- local v3=Vector3.new
- local c3=Color3.new
- local it=Instance.new
- local angles=CFrame.Angles
- local rad=math.rad
- local ran=math.random
- local huge=math.huge
- local attacking=false
- local attacktype=1
- local Portalling=false
- local p = owner
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local symbolimg = "rbxassetid://349165228"
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").Stepped
- local eColors = {"Really blue", "Really black"}
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- r=game:service'RunService'.Stepped
- --------------------------------------------------------------------
- local Transforming = true
- Human.WalkSpeed = 0
- Player:ClearCharacterAppearance()
- wait(0.1)
- Player.Character.Head.BrickColor = BrickColor.new("Really black")
- Player.Character.Torso.BrickColor = BrickColor.new("Really black")
- Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
- Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
- Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
- Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
- Player.Character.Head.face:Destroy()
- local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
- selectionBoxOfTorso.Adornee = Torso
- selectionBoxOfTorso.Color = BrickColor.new("Lime green")
- selectionBoxOfTorso.LineThickness = 0.01
- selectionBoxOfTorso.Transparency = 0
- local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
- selectionBoxOfRightArm.Adornee = Char["Right Arm"]
- selectionBoxOfRightArm.Color = BrickColor.new("Lime green")
- selectionBoxOfRightArm.LineThickness = 0.01
- selectionBoxOfRightArm.Transparency = 0
- local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
- selectionBoxOfRightLeg.Adornee = Char["Right Leg"]
- selectionBoxOfRightLeg.Color = BrickColor.new("Lime green")
- selectionBoxOfRightLeg.LineThickness = 0.01
- selectionBoxOfRightLeg.Transparency = 0
- local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
- selectionBoxOfLeftArm.Adornee = Char["Left Arm"]
- selectionBoxOfLeftArm.Color = BrickColor.new("Lime green")
- selectionBoxOfLeftArm.LineThickness = 0.01
- selectionBoxOfLeftArm.Transparency = 0
- local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
- selectionBoxOfLeftLeg.Adornee = Char["Left Leg"]
- selectionBoxOfLeftLeg.Color = BrickColor.new("Lime green")
- selectionBoxOfLeftLeg.LineThickness = 0.01
- selectionBoxOfLeftLeg.Transparency = 0
- LightOnBody = Instance.new("PointLight", Head)
- LightOnBody.Brightness = 3000
- LightOnBody.Range = 20
- LightOnBody.Color = Color3.new(0, 225, 0)
- local p = owner
- local char = p.Character
- GodOfDestruction = Instance.new("Model",owner.Character.Torso)
- GodOfDestruction.Name = "GodOfDestruction"
- humanoid = Instance.new("Humanoid",owner.Character.Torso.GodOfDestruction)
- shirt = Instance.new("Shirt",owner.Character.Torso.GodOfDestruction)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants",owner.Character.Torso.GodOfDestruction)
- pants.Name = "Pants"
- torso = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- torso.Size = Vector3.new(2,2,1)
- torso.Rotation = Vector3.new(0,180,0)
- torso.Position = Vector3.new(0,4,0)
- torso.BrickColor = BrickColor.new("Really black")
- torso.Name = "Torso"
- head = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- head.Size = Vector3.new(1.25,1.25,1.25)
- head.BrickColor = BrickColor.new("Really black")
- head.Name = "Head"
- head.Position = Vector3.new(0,6,0)
- headmesh = Instance.new("SpecialMesh",head)
- headmesh.MeshType = "Head"
- larm = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- larm.Size = Vector3.new(1,2,1)
- larm.BrickColor = BrickColor.new("Really black")
- larm.Name = "Left Arm"
- larm.Position = Vector3.new(-2,4,0)
- rarm = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- rarm.Size = Vector3.new(1,2,1)
- rarm.BrickColor = BrickColor.new("Really black")
- rarm.Name = "Right Arm"
- rarm.Position = Vector3.new(2,4,0)
- lleg = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- lleg.Size = Vector3.new(1,2,1)
- lleg.Name = "Left Leg"
- lleg.Position = Vector3.new(1,2,0)
- lleg.BrickColor = BrickColor.new("Really black")
- rleg = Instance.new("Part",owner.Character.Torso.GodOfDestruction)
- rleg.Size = Vector3.new(1,2,1)
- rleg.Name = "Right Leg"
- rleg.Position = Vector3.new(-1,2,0)
- rleg.BrickColor = BrickColor.new("Really black")
- headweld = Instance.new("Weld",owner.Character.Torso.GodOfDestruction.Head)
- headweld.Part0 = owner.Character.Torso.GodOfDestruction.Head
- headweld.Part1 = torso
- headweld.C0 = CFrame.new(0, -1.5, 0)
- larmweld = Instance.new("Weld",owner.Character.Torso.GodOfDestruction.Torso)
- larmweld.Part0 = owner.Character.Torso.GodOfDestruction.Torso
- larmweld.Part1 = larm
- larmweld.C0 = CFrame.new(1.5, 0, 0)
- rarmweld = Instance.new("Weld",owner.Character.Torso.GodOfDestruction.Torso)
- rarmweld.Part0 = owner.Character.Torso.GodOfDestruction.Torso
- rarmweld.Part1 = rarm
- rarmweld.C0 = CFrame.new(-1.5, 0, 0)
- rlegweld = Instance.new("Weld",owner.Character.Torso.GodOfDestruction.Torso)
- rlegweld.Part0 = owner.Character.Torso.GodOfDestruction.Torso
- rlegweld.Part1 = rleg
- rlegweld.C0 = CFrame.new(-0.5, -2, 0)
- llegweld = Instance.new("Weld",owner.Character.Torso.GodOfDestruction.Torso)
- llegweld.Part0 = owner.Character.Torso.GodOfDestruction.Torso
- llegweld.Part1 = lleg
- llegweld.C0 = CFrame.new(0.5, -2, 0)
- npctoplayer = Instance.new("Weld",owner.Character.Torso)
- npctoplayer.Part0 = owner.Character.Torso
- npctoplayer.Part1 = torso
- npctoplayer.C0 = CFrame.new(0, 0, -10) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
- local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
- selectionBoxOfTorso.Adornee = torso
- selectionBoxOfTorso.Color = BrickColor.new("Really blue")
- selectionBoxOfTorso.LineThickness = 0.01
- selectionBoxOfTorso.Transparency = 0
- local selectionBoxOfRightArm = Instance.new("SelectionBox",rarm)
- selectionBoxOfRightArm.Adornee =rarm
- selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
- selectionBoxOfRightArm.LineThickness = 0.01
- selectionBoxOfRightArm.Transparency = 0
- local selectionBoxOfRightLeg = Instance.new("SelectionBox",rleg)
- selectionBoxOfRightLeg.Adornee =rleg
- selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
- selectionBoxOfRightLeg.LineThickness = 0.01
- selectionBoxOfRightLeg.Transparency = 0
- local selectionBoxOfLeftArm = Instance.new("SelectionBox",larm)
- selectionBoxOfLeftArm.Adornee = larm
- selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
- selectionBoxOfLeftArm.LineThickness = 0.01
- selectionBoxOfLeftArm.Transparency = 0
- local selectionBoxOfLeftLeg = Instance.new("SelectionBox",lleg)
- selectionBoxOfLeftLeg.Adornee = lleg
- selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
- selectionBoxOfLeftLeg.LineThickness = 0.01
- selectionBoxOfLeftLeg.Transparency = 0
- LightOnBody = Instance.new("PointLight", head)
- LightOnBody.Brightness = 3000
- LightOnBody.Range = 20
- LightOnBody.Color = Color3.new(225, 0, 0)
- CV="Pastel blue"
- local txt = Instance.new("BillboardGui", GodOfDestruction)
- txt.Adornee = 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 = "Antique"
- text.TextStrokeColor3 = Color3.new(225,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=Player.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 = Color3.new(0,0,0)
- v.Shape="Block"
- text.Text = "God Of Destruction"
- local ChatService = game:GetService("Chat")
- ChatService:Chat(Head, "If we fuse...we will become the Demon God Slayer Of Erradication god..", "Green")
- wait(4)
- ChatService:Chat(Head, "No one will be able to stop us...", "Green")
- wait(4)
- ChatService:Chat(Head, "Lets do this...", "Green")
- local close = -10
- for i=1,10 do
- wait(0.2)
- close = close + 1
- npctoplayer.C0 = CFrame.new(0, 0, close) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0))
- end
- p.Character.Torso.GodOfDestruction:Destroy()
- wait(0.1)
- local p = owner
- local mouse = p:GetMouse()
- local char = p.Character
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").Stepped
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- Invisible = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- end
- ----------------------------------------------------
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- newWeld(torso, larm, -1.5, 0.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, rarm, 1.5, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- newWeld(torso, hed, 0, 1.5, 0)
- newWeld(torso, lleg, -0.5, -1, 0)
- lleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(torso, rleg, 0.5, -1, 0)
- rleg.Weld.C1 = CFrame.new(0, 1, 0)
- newWeld(root, torso, 0, -1, 0)
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- p = Instance.new("Part")
- p.BrickColor = BrickColor.new("Dark indigo")
- p.Transparency = 1
- TorsoColor = p.BrickColor
- local Transforming = true
- hum.WalkSpeed = 0
- local fx = Instance.new("Part",Torso)
- wit = p.BrickColor.Color
- wit2 = Color3.new(85,0,127)
- local glowz = Instance.new("ParticleEmitter",fx)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(5)
- glowz.Speed = NumberRange.new(25,50)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",fx)
- glowz2.LightEmission = 0.5
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit2)
- glowz2.Size = NumberSequence.new(5)
- glowz2.Speed = NumberRange.new(25,50)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- fx.Anchored = true
- fx.Material = "Neon"
- fx.CanCollide = false
- fx.Locked = true
- fx.Transparency = 1
- fx.Material = "Neon"
- fx.Size = Vector3.new(1,1,1)
- fx.TopSurface = "SmoothNoOutlines"
- fx.BottomSurface = "SmoothNoOutlines"
- fx.BrickColor = BrickColor.new("Really black")
- fxm = Instance.new("SpecialMesh",fx)
- fxm.MeshType = "Sphere"
- local sa2 = Instance.new("Sound",Torso)
- sa2.SoundId = "rbxassetid://93724183"
- sa2.Pitch = 0.5
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local value = 1
- fxm.Scale = Vector3.new(1,1,1)
- for i = 1, 20 do rs:wait()
- value = value - 0.05
- fx.Transparency = fx.Transparency - (1/20)
- fx.CFrame = Torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
- rs:wait()
- end
- selectionBoxOfTorso:Destroy()
- selectionBoxOfRightArm:Destroy()
- selectionBoxOfRightLeg:Destroy()
- selectionBoxOfLeftArm:Destroy()
- selectionBoxOfLeftLeg:Destroy()
- LightOnBody:Destroy()
- local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
- selectionBoxOfTorso.Adornee = Torso
- selectionBoxOfTorso.Color = BrickColor.new("Really blue")
- selectionBoxOfTorso.LineThickness = 0.01
- selectionBoxOfTorso.Transparency = 0
- local selectionBoxOfRightArm = Instance.new("SelectionBox",Char["Right Arm"])
- selectionBoxOfRightArm.Adornee = Char["Right Arm"]
- selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
- selectionBoxOfRightArm.LineThickness = 0.01
- selectionBoxOfRightArm.Transparency = 0
- local selectionBoxOfRightLeg = Instance.new("SelectionBox",Char["Right Leg"])
- selectionBoxOfRightLeg.Adornee = Char["Right Leg"]
- selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
- selectionBoxOfRightLeg.LineThickness = 0.01
- selectionBoxOfRightLeg.Transparency = 0
- local selectionBoxOfLeftArm = Instance.new("SelectionBox",Char["Left Arm"])
- selectionBoxOfLeftArm.Adornee = Char["Left Arm"]
- selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
- selectionBoxOfLeftArm.LineThickness = 0.01
- selectionBoxOfLeftArm.Transparency = 0
- local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Char["Left Leg"])
- selectionBoxOfLeftLeg.Adornee = Char["Left Leg"]
- selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
- selectionBoxOfLeftLeg.LineThickness = 0.01
- selectionBoxOfLeftLeg.Transparency = 0
- local Orbd = Instance.new("Part", char)
- Orbd.Name = "Orbd"
- Orbd.Shape = Enum.PartType.Ball
- Orbd.CanCollide = false
- Orbd.BrickColor = BrickColor.new("Really blue")
- Orbd.Transparency = 0
- Orbd.Material = "Neon"
- Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
- Orbd.TopSurface = Enum.SurfaceType.Smooth
- Orbd.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", Orbd)
- Weld.Part0 = char.Head
- Weld.Part1 = Orbd
- Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
- local glov = Instance.new("PointLight", Orbd)
- glov.Brightness = 3000
- glov.Range = 20
- glov.Color = Color3.new(255, 0, 255)
- --------------------------------------------------------
- local Orbvc = Instance.new("Part", char)
- Orbvc.Name = "Orbvc"
- Orbvc.Shape = Enum.PartType.Ball
- Orbvc.CanCollide = false
- Orbvc.BrickColor = BrickColor.new("Really blue")
- Orbvc.Transparency = 0
- Orbvc.Material = "Neon"
- Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
- Orbvc.TopSurface = Enum.SurfaceType.Smooth
- Orbvc.BottomSurface = Enum.SurfaceType.Smooth
- local Weld = Instance.new("Weld", Orbvc)
- Weld.Part0 = char.Head
- Weld.Part1 = Orbvc
- Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
- local glo = Instance.new("PointLight", Orbvc)
- glo.Brightness = 3000
- glo.Range = 20
- glo.Color = Color3.new(255, 0, 255)
- ----------------------------------------------------
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- GroundWave1 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"Really blue", "Really black"}
- local wave = Instance.new("Part", Torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wm.Scale = Vector3.new(50, 50, 1 + i*50)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/30
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- ----------------------------------------------------
- GroundWave3 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"Really blue", "Really blue"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- function ApplyTrig(Num,Func)
- local Min,Max = Func(0),Func(1)
- local i = Func(Num)
- return (i-Min)/(Max-Min)
- --[[if Func == "sin" then
- return (math.sin((1-Num)*math.pi)+1)/2
- elseif Func == "cos" then
- return (math.cos((1-Num)*math.pi)+1)/2
- end]]
- end
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- end
- local togglecamshake = true
- function camshake(partoz, magn, intens)
- if togglecamshake == true then
- return
- end
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy.Name ~= "Noob" and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
- coroutine.resume(coroutine.create(function()
- local humz = guy:FindFirstChild("Humanoid")
- local torse = guy:FindFirstChild("Torso")
- for _ = 1, 5 * intens do
- wait()
- humz.CameraOffset = Vector3.new(2 * math.random(-intens, intens), 0.5 * math.random(-intens, intens), 2 * math.random(-intens, intens))
- end
- humz.CameraOffset = Vector3.new(0, 0, 0)
- end))
- end
- end
- end
- function Crater(Torso,Radius)
- Spawn(function()
- local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
- if Hit == nil then return end
- local Parts = {}
- for i = 1,360,10 do
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = BrickColor.new("Really blue")
- P.Material = "Granite"
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
- if math.random(0,5) == 0 then -- rubble
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = BrickColor.new("Really blue")
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
- end
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
- end
- v[1].Anchored = false
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- elseif i >= 0.25 then
- v[1].CanCollide = false
- end
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- GroundWave = function()
- if Transforming == true then
- local value = 5
- local value2 = 10
- local value3 = 20
- local sa2 = Instance.new("Sound",Torso)
- sa2.SoundId = "rbxassetid://393621716"
- sa2.Pitch = 1
- sa2.Volume = 10
- sa2.Looped = false
- sa2:Play()
- local wave = Instance.new("Part", Torso)
- local glowz = Instance.new("ParticleEmitter",wave)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(30)
- glowz.Speed = NumberRange.new(25,100)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",wave)
- glowz2.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit)
- glowz2.Size = NumberSequence.new(30)
- glowz2.Speed = NumberRange.new(25,100)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- wave.BrickColor = BrickColor.new("Really black")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = fx.CFrame
- wave.Material = "Neon"
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- local wave2 = Instance.new("Part", Torso)
- wave2.BrickColor = TorsoColor
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = fx.CFrame
- wave2.Material = "Neon"
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshType = "FileMesh"
- wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm2.Scale = Vector3.new(1,1,1)
- local wave3 = Instance.new("Part", Torso)
- wave3.BrickColor = BrickColor.new("Really black")
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = fx.CFrame
- wave3.Material = "Neon"
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshType = "FileMesh"
- wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm3.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i = 1, 18, 1 do
- value = value - 0.5
- value2 = value2 - 0.75*1.5
- value3 = value3 - 0.475*1.5
- wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
- wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
- wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
- --wave.Size = wm.Scale
- wave.CFrame = fx.CFrame
- wave.Transparency = i/14
- --wave2.Size = wm2.Scale
- wave2.CFrame = fx.CFrame
- wave2.Rotation = Vector3.new(90, 0, 0)
- wave2.Transparency = i/14
- --wave3.Size = wm3.Scale
- wave3.CFrame = fx.CFrame
- wave3.Rotation = Vector3.new(90, 0, 0)
- wave3.Transparency = i/14
- wait()
- glowz.Rate = 0
- glowz2.Rate = 0
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- wave3:Destroy()
- end)()
- elseif Transforming == false then
- wait()
- end
- end
- for i = 1, 100 do rs:wait()
- fx.CFrame = Torso.CFrame
- end
- spawn(function()
- while wait(1) do
- GroundWave()
- end
- end)
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end
- local Effects = {}
- wait(2)
- local Muss = Instance.new("Sound",char)
- Muss.SoundId = "rbxassetid://815464203"
- Muss.Pitch = 1
- Muss.Volume = 0
- Muss.Looped = true
- Muss:Play()
- Transforming = false
- local value2 = 1
- for i = 1, 20 do rs:wait()
- value2 = value2 - 0.05
- glowz.Rate = 0
- glowz2.Rate = 0
- fx.Transparency = fx.Transparency + (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
- rs:wait()
- end
- local Mus = Instance.new("Sound",char)
- Mus.SoundId = "rbxassetid://752647397"
- Mus.Pitch = 1
- Mus.Volume = 40
- Mus.Looped = false
- wait(0.3)
- Mus:Play()
- glowz:Destroy()
- glowz2:Destroy()
- for i = 1,20 do
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.7) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
- end
- wait(1)
- for i = 1,20 do
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4)
- end
- function newRay(start,face,range,wat)
- local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
- hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
- return rey,hit,pos
- end
- wait(5)
- wait(1.3)
- for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2)
- end
- wait(0.4)
- for i = 1,20 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2)
- end
- wait(0.6)
- for i = 1,20 do
- wait()
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-35)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(35)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4)
- end
- wait(0.2)
- for i = 1,20 do
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4)
- end
- wait()
- camshake(torso, 48, 6)
- for i,v in pairs(FindNearestTorso(Torso.CFrame.p,40))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(999999999999999999999999,99999999999999999999999999999999999999))
- end
- end
- function RayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- function rayCast(Position, Direction, MaxDistance, IgnoreList)
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
- end
- local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
- TBlast.BrickColor = BrickColor.new("Pink")
- TBlast.Transparency = 1
- TBlast.Anchored = true
- TBlast.CanCollide = false
- TBlast.CFrame = root.CFrame
- TBlast.Size = Vector3.new(2,2,2)
- TBMesh.Parent = TBlast
- TBMesh.MeshType = "Sphere"
- game.Lighting.Brightness = 0
- game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color
- game.Lighting.TimeOfDay = 0.1
- game.Lighting.FogEnd = 1000
- game.Lighting.FogColor = TBlast.BrickColor.Color
- game.Lighting.TimeOfDay = "00:00:00"
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.FogEnd = 500
- game.Lighting.FogStart = 0
- game.Lighting.GlobalShadows = true
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local valuer = 5
- local valuer2 = 10
- local valuer3 = 15
- local sa2 = Instance.new("Sound",torso)
- sa2.SoundId = "rbxassetid://130972023"
- sa2.Pitch = 1
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local sar2 = Instance.new("Sound",torso)
- sar2.SoundId = "rbxassetid://153274423"
- sar2.Pitch = 1
- sar2.Volume = 5
- sar2.Looped = false
- sar2:Play()
- Crater(torso,67)
- GroundWave4 = function()
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new("Really")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = fx.CFrame
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i = 1, 18, 1 do
- wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
- --wave.Size = wm.Scale
- wave.CFrame = fx.CFrame
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- GroundWave1()
- CV="Pastel blue"
- ROW = function(out, trans, s, wt, t, ang, plus)
- for i = 1, 360, 360/t do
- local c = Instance.new("Part", game.Workspace)
- c.FormFactor = 3
- c.TopSurface = 0
- c.BottomSurface = 0
- c.Size = s
- c.Anchored = true
- c.CanCollide = wt
- c.Material=workspace.Base.Material
- c.Transparency = trans
- c.BrickColor = workspace.Base.BrickColor
- c.CFrame = CFrame.new(Torso.CFrame.x,0,Torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
- c.Locked=true
- game.Debris:AddItem(c,15)
- end
- end
- ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
- local wave = Instance.new("Part", torso)
- wave.BrickColor = TorsoColor
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- local wave2 = Instance.new("Part", torso)
- wave2.BrickColor = BrickColor.new("Really black")
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = HandCF
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshId = "rbxassetid://3270017"
- local wave3 = Instance.new("Part", torso)
- wave3.BrickColor = TorsoColor
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = HandCF
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- valuer = valuer - 0.35
- valuer2 = valuer - 0.45
- valuer3 = valuer3 - 0.475
- wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
- wave2.Size = wm2.Scale
- wave2.CFrame = HandCF
- wave2.Transparency = i/14
- wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
- wave3.Size = wm2.Scale
- wave3.CFrame = HandCF
- wave3.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- end)()
- local torso = owner.Character.Torso
- local block = Instance.new("Part",torso)
- block.Size = Vector3.new(0.1,0.1,0.1)
- block.Position = block.Position + Vector3.new(2,2,2)
- block.Transparency = 1
- local weld = Instance.new("Weld",torso)
- weld.Part0 = torson
- weld.Part1 = block
- weld.C0 = CFrame.new(0,5,0)
- local tables = {5,4,3,2,1}
- local part = Instance.new("ParticleEmitter")
- part.Parent = owner.Character.Torso
- part.LockedToPart = true
- part.Texture = "rbxassetid://300899517"
- part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
- part.Transparency = NumberSequence.new(0.7)
- part.Lifetime = NumberRange.new(2)
- part.Rate = 30
- local part2 = Instance.new("ParticleEmitter",block)
- part2.Lifetime = NumberRange.new(5)
- part2.Speed = NumberRange.new(0)
- part2.Size = NumberSequence.new(18)
- part2.LockedToPart = true
- part2.Transparency = NumberSequence.new(0.5)
- part2.Rate = 3
- part2.Color = ColorSequence.new(Color3.fromRGB(255,0,0))
- part2.Texture = "http://www.roblox.com/asset/?id=358965396"
- local model = Instance.new("Model",torso)
- local ball0 = Instance.new("Part",model)
- ball0.Position = ball0.Position + Vector3.new(2,2,2)
- ball0.Transparency = 0.5
- ball0.BrickColor = BrickColor.new("Really blue")
- ball0.Size = Vector3.new(1,1,1)
- ball0mesh = Instance.new("SpecialMesh",ball0)
- ball0mesh.MeshType = "Sphere"
- ball0mesh.Scale = Vector3.new(1,1,1)
- ballweld = Instance.new("Weld",model)
- ballweld.Part0 = torso
- ballweld.Part1 = ball0
- for i = 1,15 do
- wait(0.1)
- part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30),NumberSequenceKeypoint.new(1,1)})
- part2.Size = NumberSequence.new(15)
- for i = 1 , 3 do
- wait()
- ball0mesh.Scale = ball0mesh.Scale + Vector3.new(13,13,13)
- end
- wait(0.1)
- part2.Size = NumberSequence.new(8)
- part.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,18),NumberSequenceKeypoint.new(1,1)})
- ball0mesh.Scale = Vector3.new(1,1,1)
- end
- hum.WalkSpeed = 16
- Muss.Volume = 8
- Charging = true
- custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- function FDebris()
- repeat
- local p = Instance.new('Part',Torso)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = BrickColor.new("Dark indigo")
- p.CanCollide = false
- p.Transparency = 0.2
- p.Anchored = true
- p.Locked=true
- p.Material = "Neon"
- s = math.random(1,40)/10
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(s,s,s)
- p.CFrame = Torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
- --[[coroutine.wrap(function()
- wait(2)
- while Charging == true do
- wait(2)
- GroundWave1()
- wait(2)
- end
- end)()]]--
- spawn(function()
- while rs:wait() do
- if p.Transparency >= 1 then p:Destroy() break end
- p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
- p.Transparency = p.Transparency+0.01
- end
- end)
- wait(.3)
- until Charging == false
- end
- spawn(function()
- while wait(.01)
- do
- FDebris()
- end
- end)
- FloatPart = function()
- local Part = Instance.new('Part',Torso)
- Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
- Part.Anchored = true
- Part.Material = 'Neon'
- Part.CanCollide = false
- Part.BrickColor = BrickColor.new("Really blue")
- local Mesh = Instance.new('SpecialMesh',Part)
- Mesh.Scale = Vector3.new(4,4,.2)
- Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
- Mesh.VertexColor = Vector3.new(0,170,255)
- spawn(function()
- for i = 1,30 do
- Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
- Part.Transparency = Part.Transparency + .035
- game["Run Service"].Stepped:wait()
- end
- Part:Destroy()
- end)
- end;
- DubPart = function()
- local Part = Instance.new('Part',Torso)
- Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
- Part.Anchored = true
- Part.CanCollide = false
- Part.Material = 'Neon'
- Part.BrickColor = BrickColor.new(SecondaryColor)
- local Mesh = Instance.new('SpecialMesh',Part)
- Mesh.Scale = Vector3.new(7,7,.2)
- Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
- Mesh.VertexColor = Vector3.new(0,170,255)
- spawn(function()
- for i = 1,30 do
- Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
- Part.Transparency = Part.Transparency + .035
- game["Run Service"].Stepped:wait()
- end
- Part:Destroy()
- end)
- end;
- Fade = function(Item,t)
- spawn(function()
- for i = 1,20 do
- Item.Transparency = Item.Transparency + .05
- if t then
- wait(t)
- else
- wait()
- end
- end
- Item:Destroy()
- end)
- end
- Particle = function(PrimaryColor)
- local Part = Instance.new('Part',Torso)
- Part.BrickColor = BrickColor.new(PrimaryColor)
- Part.Anchored = true
- Part.Transparency = .3
- Part.CanCollide = false
- Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
- local Mesh = Instance.new('BlockMesh',Part)
- Mesh.Scale = Vector3.new(.05,.1,.1)
- spawn(function()
- for i = 1,40 do
- Part.Transparency = Part.Transparency + .0125
- Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
- game["Run Service"].Stepped:wait()
- end
- Part:Destroy()
- end)
- end;
- --[[spawn(function()
- while wait() do
- wait(.05)
- FloatPart()
- wait(.08)
- FloatPart()
- wait(.05)
- DubPart()
- wait(.08)
- end
- end)]]
- game["Run Service"].Stepped:connect(function(_)
- Particle("Really blue")
- Particle("Really black")
- Particle("Really blue")
- --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
- end)
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- vt = Vector3.new
- local player = owner
- local pchar = player.Character
- local cam = workspace.CurrentCamera
- local rad = math.rad
- bodyparts = {}
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 150
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- floatBP.maxForce = Vector3.new(0, math.huge, 0)
- local flyBV = Instance.new("BodyVelocity")
- flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local turnBG = Instance.new("BodyGyro")
- turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- mouse.KeyDown:connect(function(key)
- keysDown[key] = true
- if key == "f" then
- flyToggled = not flyToggled
- if not flyToggled then
- stanceToggle = "Normal"
- floatBP.Parent = nil
- flyBV.Parent = nil
- turnBG.Parent = nil
- root.Velocity = Vector3.new()
- pchar.Humanoid.PlatformStand = false
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key] = nil
- end)
- local function updateFly()
- if not flyToggled then return end
- lastForward = forward
- lastSide = side
- forward = 0
- side = 0
- if keysDown.w then
- forward = forward + 1
- end
- if keysDown.s then
- forward = forward - 1
- end
- if keysDown.a then
- side = side - 1
- end
- if keysDown.d then
- side = side + 1
- end
- canFly = (forward ~= 0 or side ~= 0)
- if canFly then
- stanceToggle = "Floating"
- turnBG.Parent = root
- floatBP.Parent = nil
- flyBV.Parent = root
- flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
- if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
- else
- floatBP.position = root.Position
- floatBP.Parent = root
- flySpeed = flySpeed - 1
- if flySpeed < 0 then flySpeed = 0 end
- end
- local camCF = cam.CoordinateFrame
- local in_forward = canFly and forward or lastForward
- local in_side = canFly and side or lastSide
- flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed
- turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0)
- end
- game:service'RunService'.Stepped:connect(function()
- if flyToggled then
- pchar.Humanoid.PlatformStand = true
- end
- updateFly()
- end)
- mouse.KeyDown:connect(function(key)
- if key == "b" then
- hum.WalkSpeed = 0
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- v = Instance.new("Sound")
- v.SoundId = "http://www.roblox.com/asset/?id=753551986"
- v.Parent = char
- v.Looped = false
- v.Pitch = 1
- v.Volume = 3000
- wait(0.01)
- v:Play()
- wait()
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-5)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(5)), 0.1)
- if Debounces.on == false then
- end
- wait()
- end
- wait()
- local function Shockwave7()
- local ENERGY = Instance.new("Part", Char)
- ENERGY.Name = "ENERGY"
- ENERGY.CanCollide = false
- ENERGY.BrickColor = BrickColor.new("Really black")
- ENERGY.Transparency = 0.2
- ENERGY.TopSurface = 0
- ENERGY.BottomSurface = 0
- ENERGY.Anchored = true
- local cm = Instance.new("CylinderMesh", ENERGY)
- cm.Scale = Vector3.new(1, 20, 1)
- ENERGY.Size = Vector3.new(5, 20, 5)
- ENERGY.CFrame = char.Torso.CFrame
- ENERGY.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
- local Occlude = true
- local NotOccludes = {
- char.Name;
- "Wings";
- "Scythe";
- "Thingy";
- "Thingy2"; -- put all of the names in a table pls
- }
- for i,v in pairs(NotOccludes) do
- if hit.Parent.Name == v then
- Occlude = false
- end
- end
- --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
- if Occlude then
- hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 9999999999999999999999999999999999999999999999999999999999999999999999999999999999
- hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * 220
- end
- end
- end)
- for i = 1, 50 do
- ENERGY.CFrame = char.Torso.CFrame
- ENERGY.Transparency = ENERGY.Transparency + 0.012
- ENERGY.Size = ENERGY.Size + Vector3.new(0.2, 0, 0.2)
- wait()
- end
- ENERGY:Destroy()
- end
- Shockwave7()
- pt=Instance.new('Part',torso)
- pt.Anchored=true
- pt.CanCollide=false
- pt.Locked = true
- pt.FormFactor='Custom'
- pt.Size=Vector3.new(1,1,1)
- pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt.Transparency=.6
- pt.BrickColor=BrickColor.new('Really blue')
- msh=Instance.new('SpecialMesh',pt)
- msh.MeshId='http://www.roblox.com/asset/?id=20329976'
- msh.Scale=Vector3.new(8,4,8)
- pt2=pt:clone()
- pt2.Parent = torso
- pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt2.BrickColor=BrickColor.new("Really black")
- msh2=msh:clone()
- msh2.Parent=pt2
- msh2.Scale=Vector3.new(10,5,10)
- custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- bl = Instance.new("Part", char)
- bl.Locked = true
- bl.Name = "Shell"
- bl.BrickColor = BrickColor.new("Really blue")
- bl.Anchored = true
- bl.CanCollide = false
- bl.Transparency = 0
- bl.Reflectance = 0
- bl.BottomSurface = 0
- bl.TopSurface = 0
- bl.Shape = 0
- blm = Instance.new("SpecialMesh",bl)
- blm.MeshType = "Sphere"
- blm.Scale = Vector3.new(1,1,1)
- blm.MeshId = "rbxassetid://9982590"
- coroutine.resume(coroutine.create(function()
- for i=1, math.huge, 4 do
- rs:wait()
- bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
- bl.Transparency = bl.Transparency + 0.005
- pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
- pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
- msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
- msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
- end
- end))
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 15 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- for i = 1, 10 do
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
- if Debounces.on == false then
- break
- end
- wait()
- end
- wait(1.4)
- Debounces.NoIdl = false
- hum.WalkSpeed = 5
- Debounces.on = false
- wait()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- v:Destroy()
- bl:Destroy()
- blm:Destroy()
- pt:Destroy()
- pt2:Destroy()
- msh:Destroy()
- msh2:Destroy()
- end
- end
- end)
- local grabbed = false
- local cf = CFrame.new
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
- clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RemoveOutlines = function(part)
- part.TopSurface = 10
- end
- CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
- RemoveOutlines(Part)
- return Part
- end
- CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.033333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf 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
- )
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- CreateWeld = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- rayCast = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- CreateSound = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end
- ))
- end
- local getclosest = function(obj, distance)
- local last, lastx = distance + 1, nil
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v ~= char and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
- local t = v.Torso
- local dist = t.Position - obj.Position.magnitude
- if dist <= distance and dist < last then
- last = dist
- lastx = v
- end
- end
- end
- return lastx
- end
- Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = owner, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CreateSound(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end
- ), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- else
- do
- if Type == "Debuff" then
- print'hi'
- else
- if Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- else
- do
- if Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
- end
- end
- ))
- local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- else
- do
- if Type == "Snare" then
- local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- game:GetService("Debris"):AddItem(bp, 1)
- else
- do
- if Type == "Freeze" then
- local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- do
- local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
- local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- 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
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end
- )
- end
- MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
- for _,c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
- end
- end
- end
- end
- end
- local effect = Instance.new("Model", Char)
- effect.Name = "Effects"
- BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- end
- end
- end
- WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
- end
- local grabbing = false
- WindFloor = function()
- end
- bc = BrickColor.new
- function WindFloor2()
- local shur = Instance.new("Part",char)
- local gahd = Instance.new("Sound",shur)
- gahd.SoundId = "rbxassetid://402981977"
- gahd.Volume = 5
- gahd.Pitch = 0.75
- gahd:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.Cframe = mouse.Hit.p
- shur.BrickColor = bc("Really blue")
- shur.Anchored = true
- shur.Rotation = vt(0,math.random(-500,500),0)
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = symbolimg
- local dec2 = dec:Clone()
- dec2.Parent = shur
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- local value1 = 1*2.25
- for i = 0, 50 do
- Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
- value1 = value1 - 0.015*2.25
- wait(0)
- end
- local spart = Instance.new("Part",char)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://414516914"
- tick.Volume = 2.5
- tick.Pitch = 0.45
- tick:Play()
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Really blue")
- spart.Transparency = 0.1
- spart.Anchored = true
- spart.CanCollide = false
- spart.CFrame = shur.CFrame + vt(0,2.5,0)
- local expld = Instance.new("Explosion", spart)
- expld.BlastRadius = 27.5
- expld.Position = spart.Position
- local mesh = Instance.new("SpecialMesh",spart)
- mesh.MeshType = "FileMesh"
- mesh.Scale = vt(1,0.01,1)
- mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
- local parz = spart:Clone()
- local mshe = parz.Mesh
- mshe.MeshId = "http://www.roblox.com/asset/?id=1051557"
- parz.CFrame = spart.CFrame
- parz.Parent = char
- local par2 = spart:Clone()
- local msh = par2.Mesh
- par2.Mesh.MeshType = "Sphere"
- par2.Material = "Neon"
- par2.CFrame = spart.CFrame
- par2.BrickColor = BrickColor.new("Really blue")
- par2.Parent = char
- local par3 = spart:Clone()
- local msh3 = par2.Mesh
- msh3.Scale = vt(15,0,15)
- par3.Mesh.MeshType = "Sphere"
- par3.Material = "Neon"
- par3.CFrame = spart.CFrame
- par3.BrickColor = BrickColor.new("Really blue")
- par3.Parent = char
- for i = 0, 150 do
- spart.Transparency = spart.Transparency + 0.01
- mesh.Scale = mesh.Scale + vt(2.25,0.15,2.25)
- spart.Position = spart.Position
- spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0)
- par2.Transparency = par2.Transparency + 0.01
- msh.Scale = msh.Scale + vt(1.5/1.25,1.5/1.25,1.5/1.25)
- par2.Position = par2.Position
- par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0)
- par3.Transparency = par2.Transparency + 0.05
- msh3.Scale = msh3.Scale + vt(-0.5,50/1.25,-0.5)
- par3.Position = par2.Position
- par3.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0)
- parz.Transparency = par2.Transparency + 0.01
- mshe.Scale = msh.Scale + vt(4,1,4)
- parz.Position = parz.Position
- parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0)
- wait(0)
- end
- for i = 0, 100 do
- dec.Transparency = dec.Transparency + 0.015
- dec2.Transparency = dec.Transparency
- Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
- value1 = value1 - 0.015*2.25
- wait(0)
- end
- shur:Destroy()
- par2:Destroy()
- spart:Destroy()
- end
- function BlastStorm()
- local lag = Instance.new("Sound", workspace)
- lag.SoundId = "rbxassetid://752783199"
- lag.Volume = 20000
- lag.Pitch = 1
- lag:Play()
- wait(0)
- local ff = Instance.new("ForceField",char)
- local shur = Instance.new("Part",char)
- local gahd = Instance.new("Sound",char)
- gahd.SoundId = "rbxassetid://402981977"
- gahd.Volume = 2.5
- gahd.Pitch = 0.6
- gahd:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.Cframe = mouse.Hit.p
- shur.BrickColor = bc("Really blue")
- shur.Anchored = true
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = symbolimg
- local dec2 = dec:Clone()
- dec2.Parent = shur
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- local value1 = 1*12.5
- for i = 0, 50 do
- shur.CFrame = torso.CFrame + vt(0,-2.5,0)
- Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
- value1 = value1 - 0.015*12.5
- wait(0)
- end
- wait(0)
- local spart = Instance.new("Part",char)
- local tick = Instance.new("Sound",char)
- tick.SoundId = "rbxassetid://414516914"
- tick.Volume = 2.5
- tick.Pitch = 0.4
- tick:Play()
- local tickz = Instance.new("Sound",char)
- tickz.SoundId = "rbxassetid://435742675"
- tickz.Volume = 1
- tickz.Pitch = 1
- tickz:Play()
- local tickr = Instance.new("Sound",char)
- tickr.SoundId = "rbxassetid://435742675"
- tickr.Volume = 2.5
- tickr.Pitch = 0.5
- tickr:Play()
- local tickel = Instance.new("Sound",char)
- tickel.SoundId = "rbxassetid://2248511"
- tickel.Volume = 3
- tickel.Pitch = 0.2
- tickel:Play()
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Really blue")
- spart.Transparency = 0.1
- spart.Anchored = true
- spart.CanCollide = false
- local expld = Instance.new("Explosion", spart)
- expld.BlastRadius = 500000
- expld.Position = spart.Position
- local mesh = Instance.new("SpecialMesh",spart)
- mesh.MeshType = "FileMesh"
- mesh.Scale = vt(1,0.01,1)
- mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
- local parz = spart:Clone()
- local mshe = parz.Mesh
- mshe.MeshId = "http://www.roblox.com/asset/?id=1051557"
- parz.CFrame = spart.CFrame
- parz.Parent = char
- local par2 = spart:Clone()
- local msh = par2.Mesh
- par2.Mesh.MeshType = "Sphere"
- par2.Material = "Neon"
- par2.CFrame = spart.CFrame
- par2.BrickColor = BrickColor.new("Really blue")
- par2.Parent = char
- for i = 0, 200 do
- spart.Transparency = spart.Transparency + 0.005
- mesh.Scale = mesh.Scale + vt(10,1,10)
- spart.Position = spart.Position
- spart.CFrame = spart.CFrame*CFrame.Angles(0,0.5,0)
- par2.Transparency = par2.Transparency + 0.005
- msh.Scale = msh.Scale + vt(5/1.25,1000/1.25,5/1.25)
- par2.Position = par2.Position
- par2.CFrame = par2.CFrame*CFrame.Angles(0,-0.5,0)
- parz.Transparency = par2.Transparency + 0.005
- mshe.Scale = msh.Scale + vt(6,1,6)
- parz.Position = parz.Position
- parz.CFrame = parz.CFrame*CFrame.Angles(0,-0.5,0)
- wait(0)
- end
- ff:Destroy()
- for i = 0, 100 do
- dec.Transparency = dec.Transparency + 0.015
- dec2.Transparency = dec.Transparency
- Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
- value1 = value1 - 0.015*12.5
- wait(0)
- end
- shur:Destroy()
- par2:Destroy()
- spart:Destroy()
- tick:Destroy()
- tickr:Destroy()
- tickz:Destroy()
- tickel:Destroy()
- end
- local maincolor = Color3.new(170/255,0/255,255/255)
- function noobyisscripter()
- local hitted = false
- local valuesize = 5
- local lb = Instance.new("Part")
- lb.Parent = char
- lb.Material = "Neon"
- lb.BrickColor = BrickColor.new(maincolor)
- lb.CanCollide = false
- lb.Shape = "Ball"
- lb.CFrame = char.Torso.CFrame + Vector3.new(0,0.7,0)
- lb.Anchored = false
- lb.Size = vt(1,1,1)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = "Sphere"
- local trail = Instance.new("ParticleEmitter",lb)
- trail.Texture = "rbxassetid://296874871"
- trail.LightEmission = 0.95
- trail.Color = ColorSequence.new(maincolor)
- trail.Rate = 10000
- trail.Lifetime = NumberRange.new(1.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(0,0)
- trail.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *100
- bv.Parent = lb
- wait(0.1)
- pewdiepie=lb.Touched:connect(function(hit)
- if hitted == false then
- local sd = Instance.new("Sound",lb)
- sd.SoundId = "rbxassetid://138210320"
- sd.Volume = 2.5
- sd:Play()
- hitted = true
- trail.Rate = 0
- lb.Anchored = true
- local explosion = Instance.new("Explosion",lb)
- explosion.BlastRadius = 10
- explosion.Position = lb.Position
- local ex = Instance.new("ParticleEmitter",lb)
- ex.Texture = "rbxassetid://296874871"
- ex.LightEmission = 0.95
- ex.Color = ColorSequence.new(maincolor)
- ex.Rate = 10000
- ex.Lifetime = NumberRange.new(1.75)
- ex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,25,0)})
- ex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- ex.Speed = NumberRange.new(25,45)
- ex.VelocitySpread = 90000
- ex.RotSpeed = NumberRange.new(-500,500)
- for i = 0, 19 do
- wait()
- valuesize = valuesize - 0.25
- thing.Scale = thing.Scale + vt(valuesize,valuesize,valuesize)
- end
- ex.Rate = 0
- for i = 0, 9 do
- wait()
- lb.Transparency = lb.Transparency + 0.1
- end
- wait(5)
- lb:Destroy()
- end
- end)
- end
- mouse.KeyDown:connect(function(key)
- if key == "g" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- Debounces.RPunch = true
- Debounces.LPunch = true
- Debounces.ks = true
- Debounces.ks2 = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- shot1 = Instance.new("Sound",Torso)
- shot1.SoundId = "rbxassetid://200633492"
- shot1.Looped = false
- shot1.Pitch = 3
- shot1.Volume = 400
- shot1:Play()
- wait(0.5)
- noobyisscripter()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- Debounces.LPunch = false
- Debounces.RPunch = false
- Debounces.ks = false
- Debounces.ks2 = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- game:GetService("Chat"):Chat(owner.Character,"Here is all of my energy","Red")
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://232213955"
- z.Pitch = 1
- z.Volume = 1
- wait(0.2)
- z:Play()
- sp = Instance.new("Part",hed)
- sp.Anchored = true
- sp.CanCollide = false
- sp.Locked = false
- sp.Transparency = 0
- sp.Material = "Neon"
- sp.Size = Vector3.new(1,1,1)
- sp.TopSurface = "SmoothNoOutlines"
- sp.BottomSurface = "SmoothNoOutlines"
- sp.BrickColor = BrickColor.new("Really blue")
- spm = Instance.new("SpecialMesh",sp)
- spm.MeshType = "Sphere"
- spm.Scale = Vector3.new(100,100,100)
- sp2 = Instance.new("Part", rarm)
- sp2.Name = "Energy"
- sp2.BrickColor = BrickColor.new("Really blue")
- sp2.Size = Vector3.new(1,1,1)
- sp2.Shape = "Ball"
- sp2.CanCollide = false
- sp2.Anchored = true
- sp2.Locked = true
- sp2.TopSurface = 0
- sp2.BottomSurface = 0
- sp2.Transparency = 1
- spm2 = Instance.new("SpecialMesh",sp2)
- spm2.MeshId = "rbxassetid://9982590"
- spm2.Scale = Vector3.new(100,100,100)
- for i = 1, 20 do
- spm.Scale = spm.Scale - Vector3.new(1,1,1)
- sp.CFrame = root.CFrame*CFrame.new(0,100,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1, 100, 20 do rs:wait()
- sp.CFrame = root.CFrame*CFrame.new(0,100,0)
- end
- for i = 1, 20 do
- sp.CFrame = root.CFrame*CFrame.new(0,100,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- sp.Transparency = 0
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- wait(1)
- sp.Transparency = 0
- sp2.Transparency = 0.84
- for i = 1, 20 do
- --spm.Scale = spm.Scale - Vector3.new(15,15,15)
- sp.CFrame = root.CFrame*CFrame.new(0,100,0)
- sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1, 2880, 50 do
- rs:wait()
- sp.CFrame = root.CFrame*CFrame.new(0,100,0)
- sp2.CFrame = sp.CFrame * CFrame.new(0,0,0)
- rs:wait()
- end
- sp:Destroy()
- sp2:Destroy()
- game:GetService("Chat"):Chat(owner.Character,"TAKE THIS!","Red")
- local X = Instance.new("Part",char)
- local O = Instance.new("ObjectValue",X)
- O.Name = "creator"
- X.Locked = true
- X.Name = "Shell"
- X.Anchored = false
- X.CanCollide = false
- X.Transparency = 0
- X.Reflectance = 0
- X.BottomSurface = 0
- X.TopSurface = 0
- X.Shape = 0
- local V = Instance.new("ObjectValue",X)
- V.Value = char
- V.Name = "creator"
- X.BrickColor = BrickColor.new("Really blue")
- X.Size = Vector3.new(1,1,1)
- X.Material = "Neon"
- local Z = Instance.new("SpecialMesh",X)
- Z.MeshType = "Sphere"
- Z.Scale = Vector3.new(100,100,100)
- X.CFrame = rarm.CFrame*CFrame.new(15,15,15)
- local bv = Instance.new("BodyVelocity",X)
- bv.maxForce = Vector3.new(99999,99999,99999)
- X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
- bv.velocity = X.CFrame.lookVector*65
- Explode = X.Touched:connect(function(hit)
- local cf = X.CFrame
- bv:Destroy()
- X.Anchored = true
- Z:Remove()
- Explode:disconnect()
- local ROW2 = function(out, trans, s, wt, t, ang, plus)
- for i = 1, 360, 360/t do
- local c = Instance.new("Part", game.Workspace)
- c.FormFactor = 3
- c.TopSurface = 0
- c.BottomSurface = 0
- c.Size = s
- c.Anchored = true
- c.CanCollide = wt
- c.Material=workspace.Base.Material
- c.Transparency = trans
- c.BrickColor = workspace.Base.BrickColor
- c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
- c.Locked=true
- game.Debris:AddItem(c,25)
- end
- end
- ROW2(18, 0, Vector3.new(34.5, 70, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
- local ra = Ray.new(X.Position, X.CFrame.upVector * 3)
- local part, positi = workspace:FindPartOnRayWithIgnoreList(ra, {Char}, false, true)
- if part then
- local cfremz = CFrame.new(positi)
- debris(cfremz, part, 30)
- end
- X.Size = Vector3.new(6,6,6)
- X.Touched:connect(function(hit) end)
- X.CanCollide = false
- local part3 = Instance.new("Part", rarm)
- part3.Anchored=true
- part3.CanCollide=false
- part3.Locked = true
- part3.TopSurface = "SmoothNoOutlines"
- part3.BottomSurface = "SmoothNoOutlines"
- part3.FormFactor='Custom'
- part3.Size=Vector3.new(2,2, 2)
- part3.CFrame=X.CFrame
- part3.Transparency=0
- part3.BrickColor=TorsoColor
- local mesh3 = Instance.new("SpecialMesh",part3)
- mesh3.MeshType = "Sphere"
- mesh3.Scale = Vector3.new(2,2,2)
- --debris:AddItem(X,8)
- local part4 = Instance.new("Part", rarm)
- part4.Material = "Neon"
- part4.Anchored=true
- part4.CanCollide=false
- part4.Locked = true
- part4.TopSurface = "SmoothNoOutlines"
- part4.BottomSurface = "SmoothNoOutlines"
- part4.FormFactor='Custom'
- part4.Size=Vector3.new(2,2, 2)
- part4.CFrame=X.CFrame
- part4.Transparency=0
- part4.BrickColor=BrickColor.new("Black")
- local mesh4 = Instance.new("SpecialMesh",part4)
- mesh4.MeshType = "Sphere"
- mesh4.Scale = Vector3.new(1,1,1)
- local part7 = Instance.new("Part", rarm)
- part7.Material = "Neon"
- part7.Anchored=true
- part7.CanCollide=false
- part7.Locked = true
- part7.TopSurface = "SmoothNoOutlines"
- part7.BottomSurface = "SmoothNoOutlines"
- part7.FormFactor='Custom'
- part7.Size=Vector3.new(2,2, 2)
- part7.CFrame=X.CFrame
- part7.Transparency=0
- part7.BrickColor=BrickColor.new("Really black")
- local mesh7 = Instance.new("SpecialMesh",part7)
- mesh7.MeshType = "Sphere"
- mesh7.Scale = Vector3.new(0.2, 0.2, 0.2)
- --[[X.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)
- part3.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)]]--
- for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(999999999999999999999999999999999999999999,999999999999999999999999999999999999999))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 999
- end
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- function ApplyTrig(Num,Func)
- local Min,Max = Func(0),Func(1)
- local i = Func(Num)
- return (i-Min)/(Max-Min)
- end
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- end
- function Crater(Torso,Radius)
- Spawn(function()
- local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
- if Hit == nil then return end
- local Parts = {}
- for i = 1,360,10 do
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
- if math.random(0,5) == 0 then -- rubble
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
- end
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
- end
- v[1].Anchored = false
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- elseif i >= 0.25 then
- v[1].CanCollide = false
- end
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- Part = function(x,y,z,color,tr,cc,an,parent)
- local p = Instance.new('Part',parent or Weapon)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(x,y,z)
- p.BrickColor = BrickColor.new(color)
- p.CanCollide = cc
- p.Transparency = tr
- p.Anchored = an
- p.TopSurface,p.BottomSurface = 0,0
- p.Locked=true
- p:BreakJoints()
- return p end
- Mesh = function(par,num,x,y,z)
- local msh = _
- if num == 1 then msh = Instance.new("CylinderMesh",par)
- elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
- elseif num == 3 then msh = Instance.new("BlockMesh",par)
- elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
- elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
- end msh.Scale = Vector3.new(x,y,z)
- return msh end
- function explosion(col1,col2,cfr,sz,rng,dmg)
- local a= Part(1,1,1,col1,.5,false,true,workspace)
- local a2= Part(1,1,1,col2,.5,false,true,workspace)
- local a3= Part(1,1,1,col2,.5,false,true,workspace)
- v1,v2,v3=sz.x,sz.y,sz.z
- local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
- local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
- local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
- a.CFrame=cfr
- a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- Spawn(function()
- while wait() do
- if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
- m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
- m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
- m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
- a.Transparency=a.Transparency+0.05
- a2.Transparency=a2.Transparency+0.05
- a3.Transparency=a3.Transparency+0.05
- end
- end)
- end
- Crater(X,120)
- Crater(X,220)
- Crater(X,320)
- z = Instance.new("Sound",workspace)
- z.SoundId = "rbxassetid://231917744"
- z.Pitch = .5
- z.Volume = 5
- z1 = Instance.new("Sound",workspace)
- z1.SoundId = "rbxassetid://231917744"
- z1.Pitch = .5
- z1.Volume = 5
- z2 = Instance.new("Sound",workspace)
- z2.SoundId = "rbxassetid://231917744"
- z2.Pitch = .5
- z2.Volume = 5
- z3 = Instance.new("Sound",workspace)
- z3.SoundId = "rbxassetid://245537790"
- z3.Pitch = .7
- z3.Volume = 5
- z4 = Instance.new("Sound",workspace)
- z4.SoundId = "rbxassetid://245537790"
- z4.Pitch = .7
- z4.Volume = 5
- z4a = Instance.new("Sound",workspace)
- z4a.SoundId = "rbxassetid://419447292"
- z4a.Pitch = 1
- z4a.Volume = 5
- z3a = Instance.new("Sound",workspace)
- z3a.SoundId = "rbxassetid://421328847"
- z3a.Pitch = 1
- z3a.Volume = 5
- wait(0.1)
- z:Play()
- z1:Play()
- z2:Play()
- z3:Play()
- z4:Play()
- z3a:Play()
- z4a:Play()
- local part=Instance.new('Part',rarm)
- part.Anchored=true
- part.CanCollide=false
- part.Locked = true
- part.FormFactor='Custom'
- part.Size=Vector3.new(2,2,2)
- part.CFrame=X.CFrame*CFrame.new(0,0,0)
- part.Transparency=0
- part.BrickColor=BrickColor.new('Really black')
- local mesh=Instance.new('SpecialMesh',part)
- mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
- mesh.Scale=Vector3.new(4,4,4)
- local part2=part:clone()
- part2.Parent = rarm
- part2.BrickColor=TorsoColor
- local part5=part:clone()
- part5.Parent = rarm
- part5.BrickColor=TorsoColor
- local part6=part:clone()
- part6.Parent = rarm
- part6.BrickColor=BrickColor.new("Black")
- local mesh2=mesh:clone()
- mesh2.Parent=part2
- mesh2.Scale=Vector3.new(6, 6, 6)
- local mesh5=mesh:clone()
- mesh5.Parent=part5
- mesh5.Scale=Vector3.new(6, 6, 6)
- local mesh6=mesh:clone()
- mesh6.Parent=part6
- mesh6.Scale=Vector3.new(6, 6, 6)
- local blast = Instance.new("Part", rarm)
- blast.BrickColor = BrickColor.new("Really black")
- blast.Anchored = true
- blast.CanCollide = false
- blast.Locked = true
- blast.Size = Vector3.new(2, 2, 2)
- blast.TopSurface = "Smooth"
- blast.BottomSurface = "Smooth"
- blast.Transparency = 0
- blast.CFrame = HandCF
- local bm = Instance.new("SpecialMesh", blast)
- bm.Scale = Vector3.new(10,2,10)
- bm.MeshId = "rbxassetid://3270017"
- local blast2 = Instance.new("Part", rarm)
- blast2.BrickColor = BrickColor.new("Really black")
- blast2.Anchored = true
- blast2.CanCollide = false
- blast2.Locked = true
- blast2.Size = Vector3.new(2, 2, 2)
- blast2.TopSurface = "Smooth"
- blast2.BottomSurface = "Smooth"
- blast2.Transparency = 0
- blast2.CFrame = HandCF
- local bm2 = Instance.new("SpecialMesh", blast2)
- bm2.Scale = Vector3.new(6,2,6)
- bm2.MeshId = "rbxassetid://3270017"
- local blast3 = Instance.new("Part", rarm)
- blast3.BrickColor = BrickColor.new("Really black")
- blast3.Anchored = true
- blast3.CanCollide = false
- blast3.Locked = true
- blast3.Size = Vector3.new(1, 1, 1)
- blast3.TopSurface = "Smooth"
- blast3.BottomSurface = "Smooth"
- blast3.Transparency = 0
- blast3.CFrame = HandCF
- local bm3 = Instance.new("SpecialMesh", blast3)
- bm3.Scale = Vector3.new(6,2,6)
- bm3.MeshId = "rbxassetid://3270017"
- for i = 1,120 do rs:wait()
- X.Transparency = X.Transparency + (1/120)
- part.Transparency = part.Transparency + (1/120)
- part2.Transparency = part2.Transparency + (1/120)
- part3.Transparency = part3.Transparency + (1/120)
- part4.Transparency = part4.Transparency + (1/120)
- part5.Transparency = part5.Transparency + (1/120)
- part6.Transparency = part6.Transparency + (1/120)
- part7.Transparency = part7.Transparency + (1/120)
- blast.Transparency = blast.Transparency + (1/120)
- blast2.Transparency = blast2.Transparency + (1/120)
- blast3.Transparency = blast3.Transparency + (1/120)
- X.Size = X.Size + Vector3.new(1.6,1.6,1.6)
- --part3.Size = part3.Size + Vector3.new(6,6,6)
- mesh.Scale = mesh.Scale + Vector3.new(2,.4,2)
- mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2)
- mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6)
- mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4)
- mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2)
- mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4)
- mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8)
- bm.Scale = bm.Scale + Vector3.new(12,12,.4)
- bm2.Scale = bm2.Scale + Vector3.new(8,8,.4)
- bm3.Scale = bm3.Scale + Vector3.new(8,8,.4)
- X.CFrame = cf
- part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
- part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
- part3.CFrame=X.CFrame
- part4.CFrame=X.CFrame
- part7.CFrame=X.CFrame
- part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
- part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
- blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
- blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
- rs:wait()
- end
- X:Destroy()
- part:Destroy()
- part2:Destroy()
- part3:Destroy()
- part4:Destroy()
- part5:Destroy()
- part6:Destroy()
- blast:Destroy()
- blast2:Destroy()
- blast3:Destroy()
- z:Destroy()
- z1:Destroy()
- z2:Destroy()
- z3:Destroy()
- z4:Destroy()
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end)
- end
- end
- end)
- WindFloor = function()
- local useRageVer = false
- local locor = 0
- if TrackFunction ~= nil then
- TrackFunction:disconnect()
- TrackFunction = nil
- end
- Ult = true
- Ragemode = false
- CanInterrupt(false)
- PlayerIsAttacking = true
- local cl = 0
- local clastframe = lastframe
- BodyVel.velocity = Vector3.new()
- local CPlane = MousePlane()
- BodyVel.maxForce = Vector3.new(1000000, 1000000, 1000000)
- vPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(vPlayer.Character.HumanoidRootPart.Position, vPlayer.Character.HumanoidRootPart.Position + CPlane * 50)
- BodyGyro.cframe = CFrame.new(vPlayer.Character.HumanoidRootPart.CFrame.p, vPlayer.Character.HumanoidRootPart.CFrame.p + CPlane * 50)
- local cl = 0
- DesiredWalkspeed = 0
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 0.8
- p.Pitch = 1
- p.SoundId = "http://www.roblox.com/asset/?id=240517975"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- local pb = Instance.new("Sound", vPlayer.Character.Torso)
- pb.Volume = 1
- pb.Pitch = 0.85
- pb.SoundId = "http://www.roblox.com/asset/?id=240517987"
- pb:Play()
- game:GetService("Debris"):AddItem(pb, 10)
- do
- for i = 1, 8 do
- swait()
- cl = cl + i * 0.02
- LerpWelds(clastframe, cl, Animations.LHB.Animation(0))
- if i == 4 then
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(11, 1, 11))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 10 do
- p.Transparency = ii / 10
- p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.5, 0, 0.5)
- swait()
- end
- p:Remove()
- end), pc)
- end
- end
- end
- BodyVel.Parent = vPlayer.Character.HumanoidRootPart
- BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
- cl = 0
- clastframe = lastframe
- for i = 1, 6 do
- swait()
- cl = cl + i * 0.05
- LerpWelds(clastframe, cl, Animations.LHB.Animation(1))
- local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- A = vPlayer.Character.Torso.Velocity / 60
- for i = 1, 12 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
- p.Transparency = 0.75 + i / 48
- p.CFrame = p.CFrame * V + A
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
- if i ~= 1 and (i ~= 4 or i == 6) then
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "White", "SpecialMesh", Vector3.new(8, 1, 8))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 7 do
- p.Transparency = ii / 7
- p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(3), 0) - Vector3.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.4, 0, 1.4)
- swait()
- end
- p:Remove()
- end), pc)
- end
- end
- swait()
- for i = 1, 20 do
- do
- CPlane = MousePlane()
- BodyGyro.Parent = vPlayer.Character.HumanoidRootPart
- BodyGyro.cframe = CFrame.new(BodyGyro.Parent.Position, BodyGyro.Parent.Position + CPlane * 50)
- if i == 5 or i == 10 then
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.random(-10, 10), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 13 do
- p.Transparency = ii / 13
- p.CFrame = p.CFrame * CFrame.Angles(0, -math.rad(10 + ii), 0) - Vector3.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(3, 0, 3)
- swait()
- end
- p:Remove()
- end), pc)
- else
- do
- do
- if i == 2 or i == 10 then
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)) * CFrame.Angles(math.rad(90), 0, 0), "Really black", "SpecialMesh", Vector3.new(56, 56, 1))
- pc.Mesh.MeshType = "FileMesh"
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- pc.Parent = workspace
- pc.Anchored = true
- pc.CanCollide = false
- pc.Transparency = 0.5
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 20 do
- p.Transparency = ii / 20
- p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 1.4, 0) * 2
- swait()
- end
- p:Remove()
- end), pc)
- end
- if i % 4 == 0 then
- for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
- applyCameraShake(v, 80 + i * 10, 4)
- end
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position - Vector3.new(0, 1.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(18, 2, 18))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 10 do
- p.Transparency = ii / 10
- p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(1.4, 0, 1.4)
- swait()
- end
- p:Remove()
- end), pc)
- else
- do
- do
- if i % 1 == 0 then
- local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 10) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(0.7, 0.7, 0.7))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- A = vPlayer.Character.Torso.Velocity / 60
- for i = 1, 8 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 6, 6) / 8
- p.Transparency = 0.2
- p.CFrame = p.CFrame * V + A
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
- local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- A = vPlayer.Character.Torso.Velocity / 60
- for i = 1, 12 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 12
- p.Transparency = 0.75 + i / 48
- p.CFrame = p.CFrame * V + A
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
- end
- do
- fwait()
- end
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_ELSE_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC942: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- end
- end
- end
- end
- cl = 0
- clastframe = lastframe
- for i = 1, 6 do
- swait()
- cl = cl + i * 0.05
- LerpWelds(clastframe, cl, Animations.LHB.Animation(2))
- local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3))
- pc.CanCollide = false
- pc.Anchored = true
- pc.Parent = workspace
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
- local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
- for i = 1, 30 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 30
- p.Transparency = i / 30
- p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
- swait()
- end
- p:Remove()
- end), pc)
- end
- cl = 0
- clastframe = lastframe
- local Grabbee = nil
- for i = 1, 15 do
- fwait()
- do
- if i == 3 then
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position, vPlayer.Character.Torso.Position + CPlane * 5) * CFrame.Angles(math.rad(90), math.rad(0), 0), "Really black", "SpecialMesh", Vector3.new(8, 2, 8))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 10 do
- p.Transparency = ii / 10
- p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(7 + ii), 0) - Vector3.new(0, 0, 0)
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 0, 1)
- swait()
- end
- p:Remove()
- end), pc)
- end
- BodyVel.velocity = CPlane * (i * 7.5 + 65)
- for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + CPlane * 2, 4.75)) do
- Grabbee = v
- do break end
- end
- do
- local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(2.3, 2.3, 2.3))
- pc.CanCollide = false
- pc.Anchored = true
- pc.Parent = workspace
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
- local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40) + vPlayer.Character.Torso.Velocity / 120
- for i = 1, 20 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
- p.Transparency = i / 20
- p.CFrame = p.CFrame * R - Vector3.new(0, 0.0054555555555556 * i, 0) + C
- swait()
- end
- p:Remove()
- end), pc)
- do
- local pc = NewPart(Vector3.new(1, 1, 1), vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -3.5, 0) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Really black", "BlockMesh", Vector3.new(5, 5, 5))
- pc.CanCollide = false
- pc.Anchored = true
- pc.Parent = workspace
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
- for i = 1, 20 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(5, 5, 5) / 20
- p.Transparency = 0.5 + i / 40
- p.CFrame = p.CFrame * R
- swait()
- end
- p:Remove()
- end), pc)
- if i <= 6 then
- cl = cl + i * 0.05
- LerpWelds(clastframe, cl, Animations.LHB.Animation(3))
- end
- -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC1273: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- if Grabbee ~= nil then
- if Grabbee:FindFirstChild("Stats") and Grabbee.Stats.Stunned.Value == false then
- Grabbee.Stats.Stun.Value = 999
- end
- cbuff = Instance.new("NumberValue", playerstats.Decrease)
- cbuff.Name = "DecreaseDef"
- cbuff.Value = -2
- Mana.Value = Mana.Value - 10
- if useRageVer == true then
- borb = math.floor(40 + Mana.Value / 3 + (locor) / 3) * 0.4
- else
- borb = math.floor(40 + Mana.Value / 3) * 0.4
- end
- local Grabdone = false
- gpos = Instance.new("BodyPosition")
- gpos.Name = ":<"
- gpos.Parent = vPlayer.Character.HumanoidRootPart
- gpos.P = 5000
- gpos.D = 600
- gpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- gpos.position = vPlayer.Character.HumanoidRootPart.Position
- coroutine.resume(coroutine.create(function(NNoob)
- nubgyro = nil
- while Grabdone == false and vPlayer.Character.Humanoid.Health > 0 do
- if NNoob.Parent == nil then
- break
- else
- if NNoob.Humanoid.Health < 0 then
- break
- end
- end
- NNoob.Humanoid.PlatformStand = true
- if nubgyro == nil or nubpos == nil then
- if NNoob.Torso:FindFirstChild(":>") then
- NNoob.Torso[":>"]:Remove()
- end
- if NNoob.Torso:FindFirstChild(":<") then
- NNoob.Torso[":<"]:Remove()
- end
- nubgyro = Instance.new("BodyGyro")
- nubgyro.Name = ":>"
- nubgyro.Parent = NNoob.Torso
- nubgyro.P = 5000
- nubgyro.D = 200
- nubgyro.maxTorque = Vector3.new(50000, 50000, 50000) * 5000
- nubgyro.cframe = vPlayer.Character["Left Arm"].CFrame
- nubpos = Instance.new("BodyPosition")
- nubpos.Name = ":<"
- nubpos.Parent = NNoob.Torso
- nubpos.P = 8000
- nubpos.D = 200
- nubpos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.6, 0).p
- else
- if nubgyro.Parent == nil then
- nubgyro = nil
- nubpos = nil
- else
- nubgyro.cframe = vPlayer.Character.HumanoidRootPart.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 18, math.pi, 0)
- nubpos.position = vPlayer.Character["Left Arm"].CFrame * CFrame.new(0, -1.4, 0).p - Vector3.new(0, 0.3, 0)
- end
- end
- swait()
- end
- if nubpos and nubgyro then
- nubpos:Remove()
- nubgyro:Remove()
- if NNoob:FindFirstChild("Humanoid") then
- NNoob.Humanoid.PlatformStand = false
- end
- end
- end), Grabbee)
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 1
- p.Pitch = 0.9
- p.SoundId = "http://www.roblox.com/asset/?id=240429615"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- BodyVel.velocity = Vector3.new()
- cl = 0
- clastframe = lastframe
- for i = 1, 7 do
- swait()
- cl = cl + i * 0.036
- LerpWelds(clastframe, cl, Animations.LHB.Animation(4))
- end
- cl = 0
- clastframe = lastframe
- for i = 1, 8 do
- swait()
- cl = cl + i * 0.028
- LerpWelds(clastframe, cl, Animations.LHB.Animation(5))
- end
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 1
- p.Pitch = 0.55
- p.SoundId = "http://www.roblox.com/asset/?id=233856115"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 1
- p.Pitch = 1
- p.SoundId = "http://www.roblox.com/asset/?id=192410070"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 1
- p.Pitch = 0.4
- p.SoundId = "http://www.roblox.com/asset/?id=231917822"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- p = Instance.new("Sound", Grabbee.Torso)
- p.Volume = 1
- p.Pitch = 1
- p.SoundId = "http://www.roblox.com/asset/?id=243711335"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- local sees = math.ceil(Mana.Value / borb)
- local sees2 = (math.ceil(Corruption / borb))
- local partic1, partic2 = nil, nil
- partic1 = Instance.new("ParticleEmitter")
- partic1.Name = "AttackParticleEmitter3"
- partic1.Texture = "http://www.roblox.com/asset/?id=233069772"
- partic1.LightEmission = 0
- partic1.ZOffset = 2
- partic1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
- partic1.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 1)})
- partic1.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0.1, 0.1, 0.1))
- partic1.Rate = 80
- partic1.VelocitySpread = 180
- partic1.Speed = NumberRange.new(6, 10)
- partic1.Lifetime = NumberRange.new(1, 1.2)
- partic1.Rotation = NumberRange.new(-180, 180)
- partic1.RotSpeed = NumberRange.new(-100, 100)
- partic1.Parent = Grabbee.Torso
- if useRageVer then
- partic2 = Instance.new("ParticleEmitter", p)
- partic2.Name = "AttackParticleEmitter3"
- partic2.Texture = "http://www.roblox.com/asset/?id=241409051"
- partic2.LightEmission = 0
- partic2.ZOffset = 1
- partic2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 1)})
- partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
- partic2.Color = ColorSequence.new(Color3.new(0.3, 0.3, 0.3), Color3.new(0.2, 0.2, 0.2))
- partic2.Rate = 60
- partic2.VelocitySpread = 180
- partic2.Speed = NumberRange.new(1, 2)
- partic2.Lifetime = NumberRange.new(1, 1.2)
- partic2.Rotation = NumberRange.new(-180, 180)
- partic2.RotSpeed = NumberRange.new(-100, 100)
- partic2.Acceleration = Vector3.new(0, 10, 0)
- partic2.Parent = Grabbee.Torso
- end
- for i = 1, borb + borb % 2 do
- swait()
- if i % 2 == 0 then
- applyDamage(Grabbee, 3, Vector3.new(), false, false, nil, 0, 0, "", 0, false, false, 0, true, "Pure", true, false)
- local st = Grabbee:FindFirstChild("Stats")
- if st and st:FindFirstChild("Mana") then
- if st.Mana.Value >= 3 then
- --script.Parent.DMG.RemoteEventM:FireServer(st.Mana, 3)
- st.Mana.Value = st.Mana.Value - 3
- else
- st.Mana.Value = 0
- end
- end
- end
- do
- if sees <= Mana.Value then
- Mana.Value = Mana.Value - sees
- else
- Mana.Value = 0
- end
- if useRageVer then
- if sees2 <= Corruption then
- Corruption = Corruption - sees2
- else
- Corruption = 0
- end
- end
- if useRageVer == true and i % 2 == 0 then
- if vPlayer.Character.Humanoid.Health >= 6.5 then
- vPlayer.Character.Humanoid:TakeDamage(1.5)
- end
- local eb = BillboardGui("http://www.roblox.com/asset/?id=233069772", Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-20, 20) / 10, math.random(-20, 20) / 20).p, 0)
- eb.Parent = workspace
- eb.BillboardGui.ImageLabel.Rotation = math.random(-180, 180)
- eb.BillboardGui.Size = UDim2.new(2, 0, 2, 0)
- game:GetService("Debris"):AddItem(eb, 3)
- coroutine.resume(coroutine.create(function(p)
- local r = math.random(-3, 3) * 9
- if r > -12 and r < 1 then
- r = -12
- else
- if r < 12 and r > -1 then
- r = 12
- end
- end
- for i = 1, 12 do
- p.BillboardGui.ImageLabel.ImageTransparency = 0.5 + i / 24
- p.BillboardGui.Size = UDim2.new(3 + i, 0, 3 + i, 0)
- p.BillboardGui.ImageLabel.Rotation = p.BillboardGui.ImageLabel.Rotation + r
- swait()
- end
- p:Remove()
- end), eb)
- end
- do
- local eff = NewPart(Vector3.new(1, 1, 1), vPlayer.Character.Torso.CFrame * CFrame.new(math.random(-20, 20) / 30, math.random(-20, 20) / 30, math.random(-20, 20) / 30) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(12, 12, 12))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- A = vPlayer.Character.Torso.Velocity / 60
- for i = 1, 8 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(11, 1, 11) / 8
- p.Transparency = 0.75 + i / 32
- p.CFrame = p.CFrame * V + A
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
- if i % 5 == 0 then
- for _,v in pairs(GetNubsInRadius(vPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0), 35)) do
- applyCameraShake(v, 120, 5)
- end
- applyCameraShake(vPlayer.Character, 120, 5)
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(vPlayer.Character.Torso.Position + Vector3.new(0, 2.5, 0)) * CFrame.Angles(0, math.rad(i * 20), 0), "Really black", "SpecialMesh", Vector3.new(6, 13, 6))
- pc.Mesh.MeshType = "FileMesh"
- pc.Anchored = true
- pc.CanCollide = false
- pc.Parent = workspace
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- pc.Name = "Shockwave"
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 13 do
- p.Transparency = ii / 13
- p.CFrame = p.CFrame * CFrame.Angles(0, math.rad(5 + ii), 0) - Vector3.new(0, 0.38461538461538, 0)
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, -1, 1)
- swait()
- end
- p:Remove()
- end), pc)
- end
- do
- if Grabbee.Parent == nil then
- break
- else
- if Grabbee:FindFirstChild("Humanoid") == nil then
- break
- end
- end
- local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(1.1, 1.1, 1.1))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- A = vPlayer.Character.Torso.Velocity / 60
- for i = 1, 12 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) / 12
- p.Transparency = 0.25 + i / 48
- p.CFrame = p.CFrame * V + A
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2), math.rad(math.random(-8, 8) * 2)))
- do
- if i % 3 == 0 then
- local pc = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10) * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), "Bright blue", "BlockMesh", Vector3.new(2, 2, 2))
- pc.CanCollide = false
- pc.Anchored = true
- pc.Parent = workspace
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- local R = CFrame.Angles(math.random(-3, 3), math.random(-4, 4), math.random(-5, 5))
- local C = Vector3.new(math.random(-5, 5) / 40, math.random(-5, 5) / 40, math.random(-5, 5) / 40)
- for i = 1, 20 do
- p.Mesh.Scale = p.Mesh.Scale - Vector3.new(2, 2, 2) / 20
- p.Transparency = i / 20
- p.CFrame = p.CFrame * R - Vector3.new(0, 0.029757575757576 * i, 0)
- swait()
- end
- p:Remove()
- end), pc)
- end
- end
- end
- end
- end
- end
- cl = 0
- clastframe = lastframe
- for i = 1, 5 do
- wait()
- cl = cl + i * 0.07
- if i == 3 then
- Grabdone = true
- partic1.Enabled = false
- game:GetService("Debris"):AddItem(partic1, 5)
- if partic2 then
- partic2.Enabled = false
- game:GetService("Debris"):AddItem(partic2, 5)
- end
- p = Instance.new("Sound", vPlayer.Character.Torso)
- p.Volume = 1
- p.Pitch = 0.95
- p.SoundId = "http://www.roblox.com/asset/?id=241816029"
- p:Play()
- game:GetService("Debris"):AddItem(p, 3)
- if Grabbee:FindFirstChild("Stats") then
- if Grabbee.Stats.Mana.Value >= 10 then
- Grabbee.Stats.Mana.Value = Grabbee.Stats.Mana.Value - 10
- else
- Grabbee.Stats.Mana.Value = 0
- end
- if Grabbee.Stats.Stunned.Value == false then
- Grabbee.Stats.Stun.Value = 999
- end
- end
- applyDamage(Grabbee, 15, Vector3.new(0, 30, 0) + CPlane * 40, true, false, addonCullMovers, 0, 0, "", 0, false, false, 0, true, "IgnoreDefense", true, false)
- local pc = NewPart(Vector3.new(1, 1, 1), CFrame.new(Grabbee.Torso.Position, Grabbee.Torso.Position + CPlane * 9.5 + Vector3.new(0, 5, 0)) * CFrame.Angles(math.random(-30, 30) / 50, math.random(-30, 30) / 50, math.random(-30, 30) / 50), "Really black", "SpecialMesh", Vector3.new(6, 6, 2))
- pc.Mesh.MeshType = "FileMesh"
- pc.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- pc.Parent = workspace
- pc.Anchored = true
- pc.CanCollide = false
- pc.Transparency = 0.5
- game:GetService("Debris"):AddItem(pc, 5)
- coroutine.resume(coroutine.create(function(p)
- for ii = 1, 28 do
- p.Transparency = ii / 28
- p.CFrame = p.CFrame * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.1)
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1.8 - ii * 0.05, 1.8 - ii * 0.05, 0)
- swait()
- end
- p:Remove()
- end), pc)
- for loel = 1, 8 do
- local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- for i = 1, 25 do
- p.Transparency = 0.5 + i / 50
- p.CFrame = p.CFrame + x / 2
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))), Vector3.new(math.random(-10, 10) / 10, math.random(-10, 10) / 10, math.random(-10, 10) / 10))
- end
- for loel = 1, 3 do
- local eff = NewPart(Vector3.new(1, 1, 1), Grabbee.Torso.CFrame * CFrame.new(math.random(-20, 20) / 10, math.random(-25, 25) / 10, math.random(-20, 20) / 20) * CFrame.Angles(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15)), "Really black", "BlockMesh", Vector3.new(4, 4, 4))
- eff.Parent = workspace
- eff.Name = "BloodEffect"
- eff.Anchored = true
- eff.CanCollide = false
- game:GetService("Debris"):AddItem(eff, 5)
- coroutine.resume(coroutine.create(function(p, V, x)
- for i = 1, 25 do
- p.Mesh.Scale = p.Mesh.Scale + Vector3.new(14 + loel * 8, 14 + loel * 8, 14 + loel * 8) / 25
- p.Transparency = 0.25 + i / 18.75
- p.CFrame = p.CFrame * V
- swait()
- end
- p:Remove()
- end), eff, CFrame.Angles(math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8)), math.rad(math.random(-8, 8))))
- end
- end
- do
- do
- LerpWelds(clastframe, cl, Animations.LHB.Animation(6))
- -- DECOMPILER ERROR at PC2735: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- cbuff:Remove()
- gpos:Remove()
- else
- do
- for i = 1, 4 do
- fwait()
- BodyVel.velocity = BodyVel.velocity / 1.25
- end
- do
- cl = 0
- coroutine.resume(coroutine.create(function(p)
- for i = 1, 30 do
- p.Volume = 1 - i / 30
- swait()
- end
- p:Stop()
- end), pb)
- clastframe = lastframe
- BodyVel.maxForce = Vector3.new(1000000, 0, 1000000)
- for i = 1, 15 do
- fwait()
- BodyVel.velocity = BodyVel.velocity / 1.2
- LerpWelds(clastframe, i / 15, Animations.Stand.Animation(0))
- end
- if Grabbee == nil then
- Cooldowns["4"] = CooldownsB["4"] / 3
- else
- Cooldowns["4"] = CooldownsB["4"]
- end
- end
- end
- end
- CanInterrupt(true)
- PlayerIsAttacking = false
- BodyVel.Parent = nil
- BodyGyro.Parent = nil
- Ult = false
- end
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "q" then
- BlastStorm()
- end
- if k == "e" then
- WindFloor2()
- end
- if k == "t" then
- WindFloor()
- end
- end)
- local BC = BrickColor.new
- local Col3 = Color3.new
- local Inst = Instance.new
- local Ud2 = UDim2.new
- local FONT = "SourceSansLight"
- Colour1 = BC("Pastel Blue")
- Colour2 = BC("Black")
- Colour3 = BC("Ghost grey")
- Chaos_UI = Inst("ScreenGui", Player.PlayerGui)
- Chaos_UI.Name = "Chaos UI"
- ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI)
- Moves.BackgroundColor3 = Col3(72/255,72/255,72/255)
- Moves.BackgroundTransparency = .8
- Moves.BorderSizePixel = 0
- Moves.Name = "Moves"
- Moves.Position = Ud2(-.2, 0, .4, 0)
- Moves.Size = Ud2(.2, 0, .5, 0)
- Moves.ScrollBarThickness = 8
- OM.Name = "VML"
- OM.Position = Ud2(.002, 0, .83, 0)
- OM.Size = Ud2(.05, 0, .08, 0)
- OM.Visible = false
- OM.Style = "RobloxRoundButton"
- OM.Font = FONT
- OM.Text = "View Move List"
- OM.TextColor3 = Col3(1,1,1)
- OM.TextScaled = true
- local Title = Inst("TextLabel", Moves)
- Title.BackgroundTransparency = 1
- Title.Name = "Title"
- Title.Size = Ud2(1, 0, .014, 0)
- Title.Font = FONT
- Title.Text = "Move List"
- Title.TextColor3 = Col3(1,1,1)
- Title.TextScaled = true
- Title.TextStrokeTransparency = 0
- OM.Visible = true
- function Create_Moves_In_List()
- local ah = .012
- local am = .012
- local move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "*Whatever you do, DO NOT use 2 different moves tat the same time!!*" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "Q - Ultimate Shadow Blast, must be flying when in use, *be carefull using this*" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "E - Shadow Blast" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "R - Purple Nova, I recommend being in a high distance when you use this" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "T - Unfinished, dont press it" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "F - Fly mode/ Fly mode Deactivate" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "B - Roar, you know how that is" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- move = Title:Clone() move.Parent = Moves move.Name = "A Move" move.Text = "G - Destructive Fire Blasts, I recommend being in fly mode" move.Position = Ud2(0, 0, ah, 0) move.TextXAlignment = "Left" ah = ah+am
- end
- Create_Moves_In_List()
- local mopen = false
- OM.MouseButton1Click:connect(function()
- if not Debounces.UIAction and not mopen then
- Debounces.UIAction = true
- OM.Text = "Hide Move List"
- mopen = true
- Moves:TweenPosition(Ud2(.002, 0, .4, 0),_, "Bounce", .6, true)
- OM:TweenPosition(Ud2(.202, 0, .83, 0),_, "Bounce", .6, true)
- wait(.3)
- Debounces.UIAction = false
- elseif not Debounces.UIAction and mopen then
- Debounces.UIAction = true
- OM.Text = "View Move List"
- mopen = false
- Moves:TweenPosition(Ud2(-.2, 0, .4, 0),_, "Bounce", .6, true)
- OM:TweenPosition(Ud2(.002, 0, .83, 0),_, "Bounce", .6, true)
- wait(.3)
- Debounces.UIAction = false
- end
- end)
- local animpose = "Idle"
- local lastanimpose = "Idle"
- local sine = 0
- local change = 1
- local val = 0
- local ffing = false
- -------------------------------
- game:GetService("RunService").Stepped:connect(function()
- --[[if char.Humanoid.Jump == true then
- jump = true
- else
- jump = false
- end]]
- char.Humanoid.FreeFalling:connect(function(f)
- if f then
- ffing = true
- else
- ffing = false
- end
- end)
- sine = sine + change
- if jumpn == true then
- animpose = "Jumping"
- elseif ffing == true then
- animpose = "Freefalling"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Walking" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Running" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
- wait()
- end
- end
- else
- end
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- change = 0.5
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2)
- hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4)
- elseif animpose == "Walking" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
- elseif animpose == "Running" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
- end
- end
- end)
- hum.MaxHealth = math.huge
- wait(3)
- hum.Health = math.huge
- spawn(function()
- while wait(2)
- do
- GroundWave3()
- end
- end)
- while true do --Loop
- wait(0.04)
- part2.Texture = "http://www.roblox.com/asset/?id=358965396" --Insert decal's first texture
- part2.Texture = "http://www.roblox.com/asset/?id=358965513" --second texture
- wait(0.04) --wait 1 second, you can change this and make it different for every one
- part2.Texture = "http://www.roblox.com/asset/?id=358965632"
- wait(0.04)
- part2.Texture = "http://www.roblox.com/asset/?id=358965664"
- wait(0.04)
- end
- attack = false
- NoAnims = false
- end
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- Grab = false
- fat = Instance.new("BindableEvent",script)
- fat.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1/30
- tf = 0
- allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
- tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
- lastframe = tick()
- script.Heartbeat:Fire() --ayy lmao
- game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe=tick()
- else
- --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
- 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(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- fat.Event:wait()
- else
- for i = 1, NUMBER do
- fat.Event:wait()
- end
- end
- end
- function GrabAndDrag()
- NoAnims = true
- attack = true
- if Grab == false then
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
- if Debounces.on == false then break end
- rs:wait(2)
- end
- con1=larm.Touched:connect(function(hit) -- this is grab
- ht = hit.Parent
- hum1=ht:FindFirstChild('Humanoid')
- if hum1 ~= nil then
- z = Instance.new("Sound",char)
- z.SoundId = "rbxassetid://227194112"
- z.Volume = 90
- wait(.1)
- z:Play()
- hum1.PlatformStand=true
- gp = ht
- Grab = true
- asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
- asd.Parent = larm
- asd.Name = "asd"
- asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
- --[[ elseif hum1 == nil then
- con1:disconnect()
- wait() return]]
- end
- end)
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
- if Debounces.on == false then break end
- rs:wait(2)
- end
- con1:disconnect()
- if gp == nil then
- attack = false
- NoAnims = false
- return end
- --[[for i = 1, 16 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
- cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
- if Debounces.on == false then end
- rs:wait()
- end]]--
- for i = 1, 16 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
- if Debounces.on == false then end
- rs:wait()
- end
- coroutine.resume(coroutine.create(function()
- local BF = Instance.new("BodyVelocity",hed)
- BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- BF.velocity = root.CFrame.lookVector*120
- wait(2.5)
- BF:remove()
- end))
- z = Instance.new("Sound",char)
- z.SoundId = "rbxassetid://138223085"
- z.Volume = 90
- wait(.1)
- z:Play()
- coroutine.resume(coroutine.create(function()
- for i=1,78 do
- wait()
- MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
- wait(0.01)
- MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
- end
- end))
- coroutine.resume(coroutine.create(function()
- Grabee = gp:FindFirstChild("Torso")
- par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
- wait(0.01)
- for i = 1,78 do
- wait(0.01)
- for i=1, 5 do
- p=Instance.new("Part")
- p.FrontSurface=par.TopSurface
- p.Material=par.Material
- p.BottomSurface=0
- p.Anchored=true p.CanCollide=false
- p.BrickColor=par.BrickColor
- p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
- p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
- p.Parent=char
- game:GetService("Debris"):AddItem(p,2+i*.1)
- if math.random(1,5)==5 then
- coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- Grabee = gp:FindFirstChild("Torso")
- par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
- wait(0.01)
- for i=1, 78 do
- wait(0.01)
- for i=1, 1 do
- p=Instance.new("Part")
- p.TopSurface=par.TopSurface
- p.BottomSurface=par.BottomSurface
- p.Material=par.Material
- p.BottomSurface=0
- p.Anchored=false p.CanCollide=false
- p.BrickColor=par.BrickColor
- p.formFactor="Custom"
- p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
- p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
- p.Parent=char
- game:GetService("Debris"):AddItem(p,3+i*.1)
- p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
- p.RotVelocity=p.Velocity
- if math.random(1,5)==5 then
- coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
- end
- end
- Swait(.025)
- end
- end))
- for i = 1, 100 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
- if Debounces.on == false then end
- rs:wait()
- end
- asd:Destroy()
- gp = nil
- hum1.Health = 0
- attack = false
- ht = nil
- NoAnims = false
- Grab = false
- end
- end
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- function Ring()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = workspace
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(10000020,10000030))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
- end
- end
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring1"
- shok.BrickColor = BrickColor.new("Really blue")
- shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "wring2"
- shok.BrickColor = BrickColor.new("Really blue")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.25
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://3270017"
- mesh.Scale = Vector3.new(12, 12, 0.05)
- mesh.Parent = shok
- for e = 1, 30 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 38 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.002
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
- shok.Transparency = shok.Transparency + 0.03
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shokwve"
- shok.BrickColor = BrickColor.new("Really black")
- shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.6
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 32 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.002
- end
- for e = 1, 24 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
- shok.Transparency = shok.Transparency + 0.03
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock2"
- shok.BrickColor = BrickColor.new("Really black")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Really blue")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://489415447"
- mesh.Scale = Vector3.new(12, 12, 12)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- it=Instance.new
- vt=Vector3.new
- cf=CFrame.new
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=torso.Position
- NoOutline(fp)
- fp.Material="SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
- --http://www.roblox.com/asset/?id=4770560
- game:GetService("Debris"):AddItem(prt,2)
- CF=prt.CFrame
- coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
- for i=0,1,0.2 do
- wait()
- Part.CFrame=CF*cf(0,0,-0.4)
- end
- for i=0,1,delay do
- wait()
- --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
- Mesh.Scale=Mesh.Scale
- end
- for i=0,1,0.1 do
- wait()
- Part.Transparency=i
- end
- Part.Parent=nil
- end),prt,msh,CF)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "SmoothPlastic"
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- swait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.Material = "Neon"
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local rtype = rottype
- for i=0,1,delay do
- swait()
- if rtype == 1 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
- elseif rtype == 2 then
- prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
- end
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,cframe)
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(i*20,0,0)
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt2.Anchored=true
- prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
- game:GetService("Debris"):AddItem(prt2,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.1 do
- wait()
- Part.CFrame=Part.CFrame*cf(0,0.5,0)
- end
- Part.Parent=nil
- end),prt2,msh2)
- end
- for i=0,1,delay*2 do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()/10
- rand1=math.random()/10
- for i=0,1,rand1 do
- wait()
- CF=CF*cf(0,math.random()/2,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt,CF,Numbb,randnumb)
- end
- function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(0,0.7,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*cf(0,y3/2,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x,y,z)
- msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
- local num=math.random()
- local num2=math.random(-3,2)+math.random()
- local numm=0
- for i=0,1,delay*2 do
- swait()
- Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
- Part.Transparency=i
- numm=numm+0.01
- end
- Part.Parent=nil
- Mesh.Parent=nil
- end),prt,msh,x,y,z)
- end
- function Landing()
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function debris(cfremz, thepart, amt)
- for j = 1, amt do
- do
- local pr = Instance.new("Part")
- nooutline(pr)
- pr.Name = "debrisobeb"
- pr.Anchored = true
- pr.BrickColor = thepart.BrickColor
- pr.CanCollide = true
- pr.Material = thepart.Material
- pr.Transparency = thepart.Transparency
- pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
- pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
- pr.Parent = workspace
- game.Debris:AddItem(pr, 25)
- delay(15, function()
- if pr then
- pr.CanCollide = false
- pr.Anchored = false
- end
- end)
- end
- end
- for c = 1, amt do
- do
- local pr2 = Instance.new("Part")
- nooutline(pr2)
- pr2.Name = "moredebr"
- pr2.Anchored = false
- pr2.BrickColor = thepart.BrickColor
- pr2.CanCollide = false
- pr2.Material = thepart.Material
- pr2.Transparency = thepart.Transparency
- pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
- pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
- pr2.Parent = workspace
- pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
- pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
- game.Debris:AddItem(pr2, 45)
- delay(2, function()
- pr2.CanCollide = true
- wait(10)
- if pr2 then
- pr2.CanCollide = false
- end
- end)
- end
- end
- end
- function AirSlam()
- NoAnims = true
- attack = true
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- wait()
- end
- wait(0.5)
- coroutine.resume(coroutine.create(function()
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
- MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
- MagicBlock(BrickColor.new("Really blue"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
- end))
- Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
- hum.WalkSpeed = 50
- BV = Instance.new("BodyVelocity", torso)
- BV.maxForce = Vector3.new(0,200000,0)
- BV.P = 100000
- BV.velocity = Vector3.new(0,150,0)
- for i = 1, 20 do
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
- if Debounces.on == false then break end
- wait()
- end
- BV:Destroy()
- coroutine.resume(coroutine.create(function()
- for i = 1, 2880, 48 do
- torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
- rs:wait(4)
- end
- torso.Weld.C1 = CFrame.new(0, -1, 0)
- end))
- for i = 1, 30 do
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
- if Debounces.on == false then break end
- wait()
- end
- if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
- for i = 1, 20 do
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
- if Debounces.on == false then break end
- wait()
- end
- end
- local ry,ht,ps=nil,nil,nil
- while ht==nil do
- ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
- wait()
- end
- par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
- if par then
- local cfremz = CFrame.new(loc)
- debris(cfremz, par, 50)
- end
- coroutine.resume(coroutine.create(function()
- Ring()
- end))
- Landing()
- Sound("rbxassetid://514867425",char,90,1,false)
- hum.WalkSpeed = 5
- for i = 1, 25 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- wait()
- end
- wait(0.2)
- attack = false
- NoAnims = false
- end
- function CreatePart(parent,transparency,reflectance,material,brickcolor)
- local p = Instance.new("Part")
- p.Parent = parent
- p.Size = Vector3.new(1,1,1)
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CanCollide = false
- p.BrickColor = brickcolor
- p.Material = material
- return p
- end
- function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
- weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
- return weld
- end
- --[[HandleR = Instance.new("Part")
- HandleR.BrickColor = BrickColor.new("Really blue")
- HandleR.Material = "Neon"
- HandleR.Transparency = 0.3
- HandleR.Size = Vector3.new(1,0.8,4)
- HandleR.CFrame = sorb.CFrame
- HandleRM = Instance.new("SpecialMesh",HandleR)
- HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
- HandleRM.Scale = Vector3.new(1,1,1)
- HandleL = Instance.new("Part")
- HandleL.BrickColor = BrickColor.new("Really blue")
- HandleL.Material = "Neon"
- HandleL.Transparency = 0.3
- HandleL.Size = Vector3.new(1,0.8,4)
- HandleL.CFrame = sorb2.CFrame
- HandleLM = Instance.new("SpecialMesh",HandleL)
- HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
- HandleLM.Scale = Vector3.new(1,1,1)]]
- local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
- CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
- CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- v3 = Vector3.new
- rad=math.rad
- kiblade = Instance.new("Part",char)
- kiblade.Name = "Blade"
- kiblade.Size = v3(1,5,1)
- kiblade.Transparency = 1
- kiblade.BrickColor = BrickColor.new("Really blue")
- kiblade.Position = v3(999,999,999)
- kiblade.CanCollide = false
- kiblademesh = Instance.new("SpecialMesh",kiblade)
- kiblademesh.MeshType = "FileMesh"
- kiblademesh.MeshId = "rbxassetid://898849476"
- kiblademesh.Scale = v3(0.01,0.008,0.01)
- kiweld7 = Instance.new("Weld",kiblade)
- kiweld7.Part0 = rarm
- kiweld7.Part1 = kiblade
- kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
- kiblade1 = Instance.new("Part",char)
- kiblade1.Name = "Blade"
- kiblade1.Transparency = 1
- kiblade1.Size = v3(0.1,0.1,0.1)
- kiblade1.Position = v3(999,999,999)
- kiblade1.CanCollide = false
- kiblademesh = Instance.new("SpecialMesh",kiblade1)
- kiblademesh.MeshType = "Sphere"
- kiblademesh.Scale = v3(1,1,1)
- kiweld = Instance.new("Weld",kiblade1)
- kiweld.Part0 = rarm
- kiweld.Part1 = kiblade1
- kiweld.C0 = CFrame.new(0,-1,0)
- kiblade2 = Instance.new("Part",char)
- kiblade2.Name = "Blade"
- kiblade2.Size = v3(0.1,0.1,0.1)
- kiblade2.Transparency = 1
- kiblade2.Position = v3(999,999,999)
- kiblade2.CanCollide = false
- kiblademesh = Instance.new("SpecialMesh",kiblade2)
- kiblademesh.MeshType = "Sphere"
- kiblademesh.Scale = v3(1,1,1)
- kiweld = Instance.new("Weld",kiblade2)
- kiweld.Part0 = rarm
- kiweld.Part1 = kiblade2
- kiweld.C0 = CFrame.new(0,-4.5,0)
- torso = owner.Character.Torso
- head = owner.Character.Head
- torso1 = Instance.new("Attachment",kiblade1)
- head1 = Instance.new("Attachment",kiblade2)
- trail = Instance.new("Trail",torso)
- trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
- trail.Attachment0 = torso1
- trail.Attachment1 = head1
- trail.Lifetime = 0.5
- trail.Enabled = false
- kiblade2 = Instance.new("Part",char)
- kiblade2.Name = "Blade"
- kiblade2.Size = v3(1,5,1)
- kiblade2.Transparency = 1
- kiblade2.BrickColor = BrickColor.new("Really blue")
- kiblade2.Position = v3(999,999,999)
- kiblade2.CanCollide = false
- kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
- kiblademesh2.MeshType = "FileMesh"
- kiblademesh2.MeshId = "rbxassetid://898849476"
- kiblademesh2.Scale = v3(0.01,0.008,0.01)
- kiweld72 = Instance.new("Weld",kiblade2)
- kiweld72.Part0 = larm
- kiweld72.Part1 = kiblade2
- kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
- kiblade12 = Instance.new("Part",char)
- kiblade12.Name = "Blade"
- kiblade12.Transparency = 1
- kiblade12.Size = v3(0.1,0.1,0.1)
- kiblade12.Position = v3(999,999,999)
- kiblade12.CanCollide = false
- kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
- kiblademesh2.MeshType = "Sphere"
- kiblademesh2.Scale = v3(1,1,1)
- kiweld2 = Instance.new("Weld",kiblade12)
- kiweld2.Part0 = larm
- kiweld2.Part1 = kiblade12
- kiweld2.C0 = CFrame.new(0,-1,0)
- kiblade22 = Instance.new("Part",char)
- kiblade22.Name = "Blade"
- kiblade22.Size = v3(0.1,0.1,0.1)
- kiblade22.Transparency = 1
- kiblade22.Position = v3(999,999,999)
- kiblade22.CanCollide = false
- kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
- kiblademesh2.MeshType = "Sphere"
- kiblademesh2.Scale = v3(1,1,1)
- kiweld2 = Instance.new("Weld",kiblade22)
- kiweld2.Part0 = larm
- kiweld2.Part1 = kiblade22
- kiweld2.C0 = CFrame.new(0,-4.5,0)
- torso2 = owner.Character.Torso
- head2 = owner.Character.Head
- torso12 = Instance.new("Attachment",kiblade12)
- head12 = Instance.new("Attachment",kiblade22)
- trail2 = Instance.new("Trail",torso2)
- trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
- trail2.Attachment0 = torso12
- trail2.Attachment1 = head12
- trail2.Lifetime = 0.5
- trail2.Enabled = false
- local Gibs = game.Workspace
- function Kill(Character)
- Character.Humanoid.Health = 0
- local poo = Instance.new("IntValue",Character)
- poo.Name = "haha nope"
- local svch = Character
- local hum = Character:findFirstChild("Humanoid")
- Character.Archivable = true
- local chrclone = Character:clone()
- Character.Archivable = false
- local ch = chrclone:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
- ch[i]:remove()
- end
- end
- local function Scan(ch)
- local e
- for e = 1,#ch do
- Scan(ch[e]:GetChildren())
- if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
- ch[e]:remove()
- end
- end
- end
- Scan(chrclone:GetChildren())
- local hum2 = chrclone:findFirstChild("Humanoid")
- if hum2 ~= nil then
- hum2.Name = "Humanoid2"
- hum2.PlatformStand = true
- hum2.Sit = true
- hum2.MaxHealth = 0
- hum2.Health = 0
- end
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- wait(0.2)
- local ch = Character:GetChildren()
- local i
- for i = 1,#ch do
- if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
- ch[i]:remove()
- end
- end
- Character = chrclone
- local Torso = Character.Torso
- local movevector = Vector3.new()
- if Torso then
- local Head = Character:FindFirstChild("Head")
- local Limb = Character:FindFirstChild("Right Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Arm")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftShoulder"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Right Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "RightHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- local Limb = Character:FindFirstChild("Left Leg")
- if Limb then
- Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
- local Joint = Instance.new("Glue")
- Joint.Name = "LeftHip"
- Joint.Part0 = Torso
- Joint.Part1 = Limb
- Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Joint.Parent = Torso
- local B = Instance.new("Part")
- B.TopSurface = 0
- B.BottomSurface = 0
- B.formFactor = "Symmetric"
- B.Size = Vector3.new(1, 1, 1)
- B.Transparency = 1
- B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
- B.Parent = Character
- local W = Instance.new("Weld")
- W.Part0 = Limb
- W.Part1 = B
- W.C0 = CFrame.new(0, -0.5, 0)
- W.Parent = Limb
- end
- --[
- local Bar = Instance.new("Part")
- Bar.TopSurface = 0
- Bar.BottomSurface = 0
- Bar.formFactor = "Symmetric"
- Bar.Size = Vector3.new(1, 1, 1)
- Bar.Transparency = 1
- Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
- Bar.Parent = Character
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Bar
- Weld.C0 = CFrame.new(0, 0.5, 0)
- Weld.Parent = Torso
- --]]
- end
- Character.Parent = Gibs
- game.Debris:AddItem(Character, 12)
- if movevector ~= Vector3.new() then
- for i = 1,10 do
- wait()
- Torso.Velocity = Vector3.new(0,0,-100)
- Head.Velocity = movevector * 200
- end
- end
- end
- function SpinSlice()
- NoAnims = true
- attack = true
- Sound("rbxassetid://588738949",char,90,1,false)
- kiblade.Transparency = 0
- kiblade2.Transparency = 0
- trail.Enabled = true
- trail2.Enabled = true
- hum.WalkSpeed = 0
- for i = 1,40 do
- torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
- rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
- lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
- hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
- if Debounces.on == false then break end
- wait()
- end
- coroutine.resume(coroutine.create(function()
- local BF = Instance.new("BodyVelocity",hed)
- BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- BF.velocity = root.CFrame.lookVector*120
- wait(2.0)
- BF:remove()
- end))
- coroutine.resume(coroutine.create(function()
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- wait(.1)
- Sound("rbxassetid://588734356",char,90,1,false)
- end))
- local HitBox = Instance.new("Part",rarm)
- HitBox.Size = Vector3.new(1,5,1)
- HitBox.CanCollide = false
- HitBox.Transparency = 1
- local HitBox2 = Instance.new("Weld",HitBox)
- HitBox2.Part0 = rarm
- HitBox2.Part1 = HitBox
- HitBox2.C0 = CFrame.new(0,-1.8,0)
- HitBox.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
- Kill(hit.Parent)
- hit.Parent.Humanoid.PlatformStand = true
- end
- end)
- local HitBox2 = Instance.new("Part",larm)
- HitBox2.Size = Vector3.new(1,5,1)
- HitBox2.CanCollide = false
- HitBox2.Transparency = 1
- local HitBox22 = Instance.new("Weld",HitBox2)
- HitBox22.Part0 = larm
- HitBox22.Part1 = HitBox2
- HitBox22.C0 = CFrame.new(0,-1.8,0)
- HitBox2.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
- Kill(hit.Parent)
- hit.Parent.Humanoid.PlatformStand = true
- end
- end)
- for i = 1,40 do
- torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
- rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
- lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
- hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
- root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
- if Debounces.on == false then break end
- wait()
- end
- kiblade.Transparency = 1
- kiblade2.Transparency = 1
- trail.Enabled = false
- trail2.Enabled = false
- HitBox:Destroy()
- HitBox2:Destroy()
- hum.WalkSpeed = 5
- attack = false
- NoAnims = false
- end
- function hito(partoz, magn, dmg, debtim)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
- do
- local humz = guy:FindFirstChildOfClass("Humanoid")
- local hed = guy:FindFirstChild("Head")
- humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = hed
- delay(debtim, function()
- db:Destroy()
- end)
- end
- end
- end
- end
- end
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- ov = false
- nooutline = function(i)
- i.TopSurface = 10
- end
- makepart = function(l, m, n, o, p, q, r)
- local s = Instance.new("Part")
- s.BrickColor = BrickColor.new(l)
- s.Name = m
- s.Transparency = o
- nooutline(s)
- s.Reflectance = n
- s.Material = p
- s.Anchored = true
- s.CanCollide = false
- s.Locked = true
- s.CFrame = r
- s.Size = Vector3.new(0.2, 0.2, 0.2)
- s.Parent = q
- return s
- end
- makemesh = function(t, u, v, w)
- local x = Instance.new("SpecialMesh")
- x.MeshType = t
- x.Scale = u
- if t == "FileMesh" then
- x.MeshId = v
- end
- x.Parent = w
- return x
- end
- local H = {}
- Barrage = function()
- modz = Instance.new("Model")
- modz.Name = "efx"
- modz.Parent = char
- ov = true
- hum.AutoRotate = false
- local aN = nil
- local a9 = true
- local aa = {}
- local ab = {}
- local b7 = {}
- for j = 1, 16 do
- local ac = Instance.new("Part")
- nooutline(ac)
- ac.Anchored = true
- ac.Locked = true
- ac.CanCollide = false
- ac.Material = "Neon"
- ac.Size = Vector3.new(1, 1, 1)
- ac.Transparency = 1
- ac.CFrame = CFrame.new(0, 1000, 0)
- ac.Parent = modz
- ac.BrickColor = BrickColor.new("Really blue")
- makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
- table.insert(aa, ac)
- end
- for j = 1, 40 do
- local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
- table.insert(ab, a3)
- end
- for j = 1, 30 do
- local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
- makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
- table.insert(b7, a3)
- end
- local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
- local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aN = aO.Transparency
- aO.Transparency = 1
- end
- end
- local a8 = Instance.new("BodyGyro")
- a8.MaxTorque = Vector3.new(1050, 3000, 750)
- a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
- a8.P = 580000
- a8.D = 250
- a8.Parent = root
- coroutine.resume(coroutine.create(function()
- while a8 do
- swait()
- a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
- end
- end))
- local af = 0
- local ag = 0
- repeat
- ag = ag + 1
- if af == 0 then
- af = 1
- else
- af = af % 14 + 1
- end
- coroutine.resume(coroutine.create(function()
- local ah = aa[af]
- local ai = ab[af]
- local aj = ab[af + 14]
- local ba = b7[af]
- ah.Size = Vector3.new(1, 1, 2)
- ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
- ah.Transparency = 0.25
- ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
- ai.Transparency = 0.35
- ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
- aj.Transparency = 0.45
- aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
- aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
- if af % 2 == 1 then
- ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
- else
- if af % 2 == 0 then
- ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
- end
- end
- ba.CFrame = ah.CFrame * cf(0, 0, -8)
- ba.Transparency = 0.4
- ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
- local bb = ah.CFrame * cf(0, 0, -5)
- local bc = aj.CFrame * cf(0, -0.1, 0)
- local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
- local ak = false
- for j = 1, 12 do
- swait()
- local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
- local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
- if a1 and ak == false then
- ak = true
- local a3 = makepart("Really blue", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
- do
- local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
- game.Debris:AddItem(a3, 0.5)
- local a5 = rd2(1, 12)
- if a5 == 6 then
- hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
- else
- hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
- end
- coroutine.resume(coroutine.create(function()
- for I = 1, 4 do
- swait()
- a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
- a3.Transparency = a3.Transparency + 0.2
- end
- a3:Destroy()
- end))
- end
- end
- ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
- ah.CFrame = ah.CFrame:lerp(bb, 1)
- ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
- ah.Transparency = ah.Transparency + 0.0725
- ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
- ai.Transparency = ai.Transparency + 0.06
- aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
- aj.CFrame = aj.CFrame:lerp(bc, 0.3)
- aj.Transparency = aj.Transparency + 0.05
- ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
- ba.CFrame = ba.CFrame:lerp(bd, 0.3)
- ba.Transparency = ba.Transparency + 0.06
- end
- end))
- swait()
- until ov == false
- for I,aO in pairs(H) do
- if aO.Parent == rarm or aO.Parent == larm then
- aO.Transparency = aN
- end
- end
- b8:Destroy()
- b9:Destroy()
- a8:Destroy()
- hum.AutoRotate = true
- ov = false
- wait(1)
- for I,al in pairs(aa) do
- al:Destroy()
- end
- for I,am in pairs(ab) do
- am:Destroy()
- end
- for I,be in pairs(b7) do
- be:Destroy()
- end
- end
- function Kneel()
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- hum2 = v:FindFirstChild('Humanoid')
- hum2.PlatformStand=true
- end
- end
- end
- --[[mouse.KeyDown:connect(function(key)
- if key == "l" and Trans == false and Strength then
- Transformation()
- Trans = true
- end
- end)]]
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- GrabAndDrag()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "x" then
- AirSlam()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- SpinSlice()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "p" and Full == false then
- FullPower()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "1" then
- Sound("rbxassetid://966268002",char,90,1,false)
- Kneel()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "v" then
- if ov == false then
- hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
- wait()
- local ChatService = game:GetService("Chat")
- wait()
- local ChatService = game:GetService("Chat")
- coroutine.resume(coroutine.create(function()
- s = 0
- repeat
- s = s + 1
- Barrage()
- wait()
- until not ov
- end))
- if Full == true then
- coroutine.resume(coroutine.create(function()
- s = 0
- repeat
- s = s + 1
- Barrage()
- wait()
- until not ov
- end))
- end
- mouse.KeyUp:connect(function(key)
- if key == "v" then
- wait(0.4)
- ov = false
- wait(0.1)
- end
- end)
- end
- end
- end)
- --//====================================================\\--
- --|| CREATED BY SHACKLUSTER
- --\\====================================================//--
- wait(0.2)
- Player = owner
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- Character = Player.Character
- Humanoid = Character.Humanoid
- Mouse = Player:GetMouse()
- mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- local sick = Instance.new("Sound",Character)
- sick.SoundId = "rbxassetid://815464203"
- sick.Looped = true
- sick.Pitch = 1
- sick.Volume = 5
- sick:Play()
- Humanoid.DisplayDistanceType = "None"
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "Name"
- naeeym2.PlayerToHideFrom = Player
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "Ali"
- tecks2.Font = "SourceSansBold"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = BrickColor.new("Really blue").Color
- tecks2.TextStrokeColor3 = BrickColor.new("Really blue").Color
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- --//=================================\\
- --|| CUSTOMIZATION
- --\\=================================//
- Player_Size = 1 --Size of the player.
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local Effects2 = {}
- --//=================================\\
- --|| END OF CUSTOMIZATION
- --\\=================================//
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local CHANGEDEFENSE = 0
- local CHANGEDAMAGE = 0
- local CHANGEMOVEMENT = 0
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local WALK = 0
- local VALUE1 = false
- local VALUE2 = false
- local POWERLEVEL = 1
- local DEATH = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- local Weapon = IT("Model")
- Weapon.Name = "Adds"
- local Effects = IT("Folder", Weapon)
- Effects.Name = "Effects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
- local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
- local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
- local HITBLOCKSOUNDS = {"199148933", "199148947"}
- local UNANCHOR = true
- local LIMITBROKEN = false
- local HITFLOOR, HITPOS = nil
- local FLIGHT = false
- local SKILLTEXTCOLOR = BRICKC("Really blue").Color
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = ACOS(cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((1 - t) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = ACOS(-cosTheta)
- local invSinTheta = 1 / SIN(theta)
- startInterp = SIN((t - 1) * theta) * invSinTheta
- finishInterp = SIN(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function Clerp(a, b, t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local SOUND = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = SOUND:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- --Swait()
- NEWSOUND:play()
- if DOESLOOP == false then
- repeat Swait() until NEWSOUND.Playing == false
- NEWSOUND:remove()
- elseif DOESLOOP == true then
- NEWSOUND.Looped = true
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,-SIZE.X/8)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,0)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- if DOESROT == true then
- wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
- end
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
- local mesh = IT("SpecialMesh",wave)
- mesh.MeshType = "Sphere"
- mesh.Scale = SIZE
- mesh.Offset = VT(0,0,0)
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale + GROW
- wave.Transparency = wave.Transparency + (1/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
- if FLOOR ~= nil then
- coroutine.resume(coroutine.create(function()
- local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really blue", "DebreeCenter", VT(0,0,0))
- PART.CFrame = CF(POSITION)
- for i = 1, 45 do
- local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
- RingPiece.Material = FLOOR.Material
- RingPiece.Color = FLOOR.Color
- RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
- Debris:AddItem(RingPiece,SWAIT)
- end
- PART:remove()
- end))
- end
- end
- function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
- local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
- local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
- wave.CFrame = CFRAME
- coroutine.resume(coroutine.create(function(PART)
- for i = 1, WAIT do
- Swait()
- mesh.Scale = mesh.Scale * GROW
- wave.Transparency = wave.Transparency + (0.5/WAIT)
- if wave.Transparency > 0.99 then
- wave:remove()
- end
- end
- end))
- end
- function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
- if FLOOR ~= nil then
- for i = 1, AMOUNT do
- local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Debree", BLOCKSIZE, false)
- DEBREE.Material = FLOOR.Material
- DEBREE.Color = FLOOR.Color
- DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
- DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
- coroutine.resume(coroutine.create(function()
- Swait(15)
- DEBREE.Parent = workspace
- DEBREE.CanCollide = true
- Debris:AddItem(DEBREE,SWAIT)
- end))
- end
- end
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- function CheckTableForString(Table, String)
- for i, v in pairs(Table) do
- if string.find(string.lower(String), string.lower(v)) then
- return true
- end
- end
- return false
- end
- function CheckIntangible(Hit)
- local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
- if Hit and Hit.Parent then
- if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
- return true
- end
- end
- return false
- end
- Debris = game:GetService("Debris")
- function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
- local Direction = CFrame.new(StartPos, Vec).lookVector
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
- if RayHit and CheckIntangible(RayHit) then
- if DelayIfHit then
- wait()
- end
- RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
- end
- return RayHit, RayPos, RayNormal
- end
- function turnto(position)
- RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- function particles(art)
- local EyeSizes={
- NumberSequenceKeypoint.new(0,1,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local EyeTrans={
- NumberSequenceKeypoint.new(0,0.8,0),
- NumberSequenceKeypoint.new(1,1,0)
- }
- local PE=Instance.new("ParticleEmitter",art)
- PE.LightEmission=.8
- PE.Color = ColorSequence.new(BRICKC("Really blue").Color)
- PE.Size=NumberSequence.new(EyeSizes)
- PE.Transparency=NumberSequence.new(EyeTrans)
- PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
- PE.Rotation=NumberRange.new(0,360)
- PE.Rate=999
- PE.VelocitySpread = 10000
- PE.Acceleration = Vector3.new(0,75,0)
- PE.Drag = 5
- PE.Speed = NumberRange.new(0,0,0)
- PE.Texture="http://www.roblox.com/asset/?id=341277531"
- PE.ZOffset = -1.5
- PE.Name = "PE"
- end
- Weapon.Parent = Character
- Humanoid.Died:connect(function()
- ATTACK = true
- DEATH = true
- end)
- local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
- local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
- local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
- local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
- local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
- local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
- local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
- local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rival Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
- local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chunk chuck", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3")
- local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Boost", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
- local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] X-Event", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 5")
- local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Power level: ["..POWERLEVEL.."]", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 6")
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function killnearest(position,range,maxstrength)
- for i,v in ipairs(workspace:GetChildren()) do
- if v.ClassName == "Model" then
- local body = v:GetChildren()
- for part = 1, #body do
- if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
- if(body[part].Position - position).Magnitude < range then
- if v.ClassName == "Model" then
- v:BreakJoints()
- end
- --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
- body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- Humanoid.HealthChanged:connect(function()
- if DEATH == false then
- if Humanoid.Health ~= "inf" then
- Humanoid.Health = "inf"
- CreateSound("907330011", Torso, 10, 1)
- end
- if Humanoid.MaxHealth ~= "inf" then
- Humanoid.MaxHealth = "inf"
- end
- end
- end)
- function VanishPlayer()
- tecks2.TextTransparency = 1
- tecks2.TextStrokeTransparency = 1
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" then
- c.Transparency = 1
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal").Transparency = 1
- end
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
- end
- elseif c.ClassName == "Accessory" then
- c.Handle.Transparency = 1
- if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
- c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
- end
- end
- end
- end
- function Reappear()
- tecks2.TextTransparency = 0
- tecks2.TextStrokeTransparency = 0
- for _, c in pairs(Character:GetChildren()) do
- if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
- c.Transparency = 0
- if c:FindFirstChildOfClass("Decal") then
- c:FindFirstChildOfClass("Decal").Transparency = 0
- end
- if c:FindFirstChildOfClass("ParticleEmitter") then
- c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
- end
- elseif c.ClassName == "Accessory" then
- c.Handle.Transparency = 0
- if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
- c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
- end
- end
- end
- end
- function Warp()
- ATTACK = true
- Rooted = true
- for i = 1, 50 do
- Swait()
- CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Institutional white",VT(i/3,i/3,0))
- CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Institutional white",VT(i/3,i/3,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- end
- if VALUE2 == false then
- VALUE2 = true
- elseif VALUE2 == true then
- VALUE2 = false
- end
- ATTACK = false
- Rooted = false
- end
- function RivalingOverthrower()
- if HITFLOOR ~= nil then
- if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local HITBODY = Mouse.Target.Parent
- local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
- local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- if TORS ~= nil and HUMAN ~= nil then
- ATTACK = true
- Rooted = true
- TORS.Anchored = true
- RootPart.CFrame = TORS.CFrame * CF(0,0,4)
- HITFLOOR, HITPOS = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 4 * TORS.Size.Y/2, HITBODY)
- local FLOOR = HITFLOOR
- local POS = HITPOS
- print(FLOOR)
- UNANCHOR = false
- RootPart.Anchored = true
- CreateSound("1295446488", Torso, 10, 1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- local TAUNTS = {"907329532","907333294","907329893"}
- CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Torso, 10, 1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- RootPart.CFrame = TORS.CFrame * CF(0,0,2)
- CreateSound("260411131", TORS, 10, 1)
- TORS.Anchored = false
- local WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-1,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- for i = 1, 15 do
- CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,-3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0))
- end
- WELD:remove()
- local grav = Instance.new("BodyPosition",TORS)
- grav.P = 20000
- grav.D = 100
- grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- grav.position = TORS.Position + VT(0,50,0)
- grav.Name = "GravityForce"
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- CreateSound("1295446488", Torso, 10, 1)
- CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really blue",VT(1,0.1,1))
- RootPart.CFrame = CF(TORS.Position)*CF(0,0,5)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
- end
- VanishPlayer()
- for i = 1, 50+(25*POWERLEVEL) do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
- local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
- MagicSphere(VT(0,0,0),15,CFRAME,"Really blue",VT(0.1,0.1,POWERLEVEL*5))
- MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really blue",VT(0.1,0.1,POWERLEVEL*5))
- end
- RootPart.CFrame = CF(TORS.Position)*CF(0,15,1)
- Reappear()
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(160), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- for i = 1, 15 do
- CreateRing(VT(0,0,0),false,0,25,CF(TORS.Position+VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(i/5,i/5,0))
- end
- RootPart.CFrame = CF(TORS.Position)*CF(0,5,1)
- grav.Position = POS
- CreateDebreeRing(FLOOR,POS,6*POWERLEVEL,VT(6,6,6)*POWERLEVEL,10)
- CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,10,50*POWERLEVEL)
- CreateSound("289842971", TORS, 3, 1)
- MagicSphere(VT(0,0,0),35,CF(POS),"Really blue",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
- MagicSphere(VT(0.1,0.1,0.1),35,CF(POS),"Really blue",VT(POWERLEVEL/2,POWERLEVEL/2,POWERLEVEL/2))
- killnearest(POS,POWERLEVEL*10,5)
- if POWERLEVEL > 3 then
- MagicSphere(VT(0.1,500,0.1),15,CF(POS),"Institutional white",VT(POWERLEVEL,0,POWERLEVEL))
- end
- CreateWave(VT(0,0,0),15,CF(POS),true,2,"Really black",VT(POWERLEVEL*2,0.1,POWERLEVEL*2))
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(25), RAD(0), RAD(20)) * LEFTSHOULDERC0, 3 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
- end
- HITBODY:BreakJoints()
- grav:remove()
- ATTACK = false
- Rooted = false
- UNANCHOR = true
- RootPart.Anchored = false
- if POWERLEVEL > 1 then
- POWERLEVEL = POWERLEVEL - 1
- end
- end
- end
- end
- end
- function ChunkChuck()
- if HITFLOOR ~= nil then
- ATTACK = true
- Rooted = true
- CreateSound("305685800", Head, 10, 1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.75, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(65), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-65)), 2 / Animation_Speed)
- end
- CreateDebreeRing(HITFLOOR,HITPOS,3*POWERLEVEL,VT(2,2,2)*POWERLEVEL,3)
- CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2)*POWERLEVEL,3,50*POWERLEVEL)
- local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(5,5,5)*POWERLEVEL/1.5)
- CHUNK.Color = HITFLOOR.Color
- CHUNK.Material = HITFLOOR.Material
- CHUNK.CFrame = Torso.CFrame*CF(0,0,-3*POWERLEVEL)
- CreateSound("260411131", CHUNK, 10, 1)
- CreateSound("289842971", Torso, 3, 1)
- repeat
- Swait()
- CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
- turnto(Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- until HOLD == true
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- CHUNK.CFrame = Torso.CFrame*CF(0,2+(2*POWERLEVEL),0)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- CHUNK.CanCollide = true
- CHUNK.Anchored = false
- CHUNK.CFrame = RootPart.CFrame*CF(0,0,-1*POWERLEVEL)
- for i = 1, 25 do
- CreateRing(VT(0,0,0),false,0,15,RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(0),RAD(0),RAD(0)),"Really blue",VT((POWERLEVEL/3)/i,(POWERLEVEL/3)/i,0))
- end
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = RootPart.CFrame.lookVector*400
- bv.Parent = CHUNK
- local HIT = CHUNK.Touched:Connect(function(hit)
- if hit.Parent ~= workspace and hit.Parent ~= Character and hit.Parent.ClassName == "Model" then
- hit.Parent:BreakJoints()
- end
- end)
- CreateSound("138079201", CHUNK, 10, 1)
- Debris:AddItem(CHUNK,5)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(115), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- if POWERLEVEL > 1 then
- POWERLEVEL = POWERLEVEL - 1
- end
- end
- end
- function Boost()
- ATTACK = true
- Rooted = true
- CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
- for i = 1, 50 do
- Swait()
- CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really blue",VT(i/5,i/5,0))
- CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really blue",VT(i/5,i/5,0))
- CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
- end
- POWERLEVEL = POWERLEVEL + 1
- ATTACK = false
- Rooted = false
- end
- function XEvent()
- if HITFLOOR ~= nil then
- VALUE2 = false
- CreateSound("907332670", Effects, 10, 1)
- local POS = HITPOS
- local FLOOR = HITFLOOR
- local STARTPOS = RootPart.CFrame
- ATTACK = true
- Rooted = true
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- UNANCHOR = false
- RootPart.Anchored = true
- CreateSound("1295446488", Effects, 10, 1)
- RootPart.CFrame = RootPart.CFrame*CF(0,100+(150*POWERLEVEL),0)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- CreateSound("289315275", Effects, 10, 1)
- for i=0, 5, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/1.2,POWERLEVEL/1.2,0))
- CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*CF(0,5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL,POWERLEVEL,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- CreateSound("260411131", Effects, 3, 1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- for i=0, 0.3, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- local BURNMARKS = {}
- local DEATHRAY1 = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "RAY", VT(0,0,0))
- MakeForm(DEATHRAY1,"Cyl")
- local DEATHRAY2 = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "RAY", VT(0,0,0))
- MakeForm(DEATHRAY2,"Cyl")
- local loopsound = CreateSound("487214658", Effects, 4, 1, true)
- local AMOUNT = POWERLEVEL * 25
- for i = 1, POWERLEVEL * 50 do
- Swait()
- MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Really blue",VT(0,0,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
- MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
- table.insert(BURNMARKS,MARK)
- MakeForm(MARK,"Cyl")
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
- DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
- DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
- DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- AMOUNT = AMOUNT - 1
- end
- local AMOUNT = POWERLEVEL * 25
- for i = 1, POWERLEVEL * 50 do
- Swait()
- MagicSphere(VT(POWERLEVEL,POWERLEVEL,POWERLEVEL)*2,35,RightArm.CFrame*CF(0,-2,0),"Institutional white",VT(0,0,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Institutional white", "BurnMark", VT(POWERLEVEL,0,POWERLEVEL)*2)
- MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
- table.insert(BURNMARKS,MARK)
- MakeForm(MARK,"Cyl")
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/5,POWERLEVEL/5,0))
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
- DEATHRAY1.Size = Vector3.new(POWERLEVEL, distance, POWERLEVEL)
- DEATHRAY1.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- DEATHRAY2.Size = Vector3.new(POWERLEVEL+0.1, distance, POWERLEVEL+0.1)
- DEATHRAY2.CFrame = CFrame.new(RightArm.CFrame*CF(0,-2,0).p,POS+VT(AMOUNT,0,-AMOUNT)) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(90),RAD(0),RAD(0))
- AMOUNT = AMOUNT - 1
- end
- DEATHRAY1:remove()
- DEATHRAY2:remove()
- loopsound:remove()
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
- end
- RootPart.CFrame = STARTPOS
- for i=0, 0.1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
- end
- for i = 1, 10+(5*POWERLEVEL) do
- Swait()
- CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL*5,POWERLEVEL*5,0))
- CreateRing(VT(0,0,0),false,0,5,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL*15,POWERLEVEL*15,0))
- end
- local SOUND = CreateSound("314970772", Effects, 10, 1)
- CreateSound("414517163", Effects, 10, 1)
- IT("EchoSoundEffect",SOUND)
- MagicSphere(VT(0,0,0),35,CF(POS),"Institutional white",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
- CreateDebreeRing(FLOOR,POS,25*POWERLEVEL,VT(25,25,25)*POWERLEVEL,3)
- CreateFlyingDebree(FLOOR,CF(POS),25,VT(4,4,4)*POWERLEVEL,3,25*POWERLEVEL)
- for i = 1, 25 do
- Swait()
- MagicSphere(VT(0,0,0),15,CF(POS),"Really black",VT(POWERLEVEL,POWERLEVEL,POWERLEVEL))
- CreateRing(VT(0,0,0.1),false,0,45,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Institutional white",VT(POWERLEVEL*2,POWERLEVEL*2,0))
- killnearest(POS,POWERLEVEL*100,500)
- CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL*15,POWERLEVEL*15,0))
- CreateRing(VT(0,0,0),false,0,15,CF(POS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL*25,POWERLEVEL*25,0))
- end
- for i = 1, 50 do
- Swait()
- for e=1,#BURNMARKS do
- if BURNMARKS[e]~=nil then
- local Thing=BURNMARKS[e]
- if Thing~=nil then
- local Part=Thing
- Part.Transparency = Part.Transparency + (1/50)
- end
- end
- end
- end
- for e=1,#BURNMARKS do
- if BURNMARKS[e]~=nil then
- local Thing=BURNMARKS[e]
- if Thing~=nil then
- local Part=Thing
- Part:remove()
- end
- end
- end
- ATTACK = false
- Rooted = false
- UNANCHOR = true
- RootPart.Anchored = false
- POWERLEVEL = 1
- end
- end
- function Taunt()
- ATTACK = true
- Rooted = true
- CreateSound("907330011", Head, 10, 1.1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- function BreakLimit()
- ATTACK = true
- Rooted = false
- UNANCHOR = false
- RootPart.Anchored = true
- for i=0, 5, 0.1 / Animation_Speed do
- Swait()
- RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
- end
- CreateSound("1368598393", Effects, 10, 1)
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
- MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
- MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- CreateSound("1368583274", Effects, 10, 1)
- for i=0, 6, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,0,0))
- CreateRing(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,0,0)*3)
- local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
- MagicSphere(VT(0,0,0),15,CFRAME,"Really blue",VT(0.1,0.1,55))
- MagicSphere(VT(0,0,0),15,CFRAME,"Really blue",VT(2,2,2))
- MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really blue",VT(0.1,0.1,55))
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- chatfunc("I Will Show You True Power")
- CreateSound("907329532", Effects, 10, 1.1)
- Swait(175)
- CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(7,7,0))
- CreateSound("1368605755", Effects, 10, 1)
- CreateSound("1368637781", Effects, 10, 1)
- MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really blue",VT(5,5,5))
- LIMITBROKEN = true
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(4,4,0))
- CreateRing(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(5,5,0))
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
- end
- UNANCHOR = true
- RootPart.Anchored = false
- ATTACK = false
- Rooted = false
- end
- -- LIMIT BROKEN
- function RivalingOverthrower2()
- if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- local HITBODY = Mouse.Target.Parent
- local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
- local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- if TORS ~= nil and HUMAN ~= nil then
- ATTACK = true
- Rooted = false
- VanishPlayer()
- TORS.Anchored = true
- RootPart.CFrame = TORS.CFrame*CF(0,5,0)
- CreateSound("815464203", RootPart, 3, 1)
- for i = 1, 75 do
- Swait()
- CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
- local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
- MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5))
- MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5))
- TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
- end
- RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45))
- Reappear()
- CreateSound("1368583274", RightArm, 10, 1)
- local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,0,0))
- MakeForm(ORB,"Ball")
- ORB.Color = C3(0,0,0)
- ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
- for i=0, 4, 0.1 / Animation_Speed do
- Swait()
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
- CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,-1,0))
- RootPart.CFrame = CF(RootPart.Position,TORS.Position)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i = 1, 5 do
- Swait()
- RootPart.CFrame = CF(RootPart.Position,TORS.Position)
- ORB.Size = ORB.Size * 0.8
- end
- local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,25,0))
- MakeForm(BEAM,"Ball")
- local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,1000,0))
- MakeForm(BEAM2,"Cyl")
- BEAM.CFrame = ORB.CFrame * CF(0,0,10)
- ORB.Color = BRICKC("Really blue").Color
- for i = 1, 5 do
- Swait()
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(2,2,0))
- BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
- BEAM.Size = BEAM.Size + VT(2,0,2)
- BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
- BEAM2.Size = BEAM2.Size + VT(2,0,2)
- RootPart.CFrame = CF(RootPart.Position,TORS.Position)
- ORB.Size = ORB.Size * 1.3
- end
- CreateSound("1368605755", Effects, 10, 1)
- HITBODY:BreakJoints()
- TORS.Anchored = false
- local POS = TORS.Position
- for i = 1, 25 do
- CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/4,POWERLEVEL/4,0))
- end
- for i=0, 2, 0.1 / Animation_Speed do
- Swait()
- killnearest(POS,15,700)
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(2,2,0))
- BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
- BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- RootPart.CFrame = CF(RootPart.Position,POS)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i = 1, 5 do
- Swait()
- BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
- BEAM.Size = BEAM.Size - VT(2,0,2)
- BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
- BEAM2.Size = BEAM2.Size - VT(2,0,2)
- RootPart.CFrame = CF(RootPart.Position,TORS.Position)
- ORB.Size = ORB.Size * 0.8
- end
- turnto(POS)
- ORB:remove()
- BEAM:remove()
- BEAM2:remove()
- ATTACK = false
- Rooted = false
- end
- end
- end
- function ChunkChuck2()
- if HITFLOOR ~= nil then
- ATTACK = true
- Rooted = false
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- local DIST = (RootPart.Position - HITPOS).Magnitude
- RootPart.CFrame = RootPart.CFrame * CF(0,-(DIST-3),0)
- for i=0, 0.1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- CreateDebreeRing(HITFLOOR,HITPOS,15,VT(15,15,15))
- CreateFlyingDebree(HITFLOOR,CF(HITPOS),25,VT(2,2,2),3,150)
- local CHUNK = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", VT(25,25,25))
- CHUNK.Color = HITFLOOR.Color
- CHUNK.Material = HITFLOOR.Material
- CHUNK.CFrame = RootPart.CFrame*CF(0,-25,-0.5)
- CreateSound("260411131", CHUNK, 10, 1)
- CreateSound("289842971", Torso, 3, 1)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- RootPart.CFrame = RootPart.CFrame * CF(0,(DIST-3),0)
- CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
- repeat
- Swait()
- RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- until HOLD == true
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- CHUNK.CFrame = Torso.CFrame*CF(0.7,15,0)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- coroutine.resume(coroutine.create(function()
- local COLLISION = false
- CHUNK.CFrame = RootPart.CFrame
- for i = 1, 300 do
- CHUNK.CFrame = CHUNK.CFrame * CF(0,0,-5)
- killnearest(CHUNK.Position,CHUNK.Size.Z/1.8,15)
- local TRAIL = CHUNK:Clone()
- TRAIL.CanCollide = false
- TRAIL.Transparency = 0.9
- TRAIL.Parent = Effects
- TRAIL.CFrame = CHUNK.CFrame
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- Swait()
- TRAIL.Transparency = TRAIL.Transparency + (0.1/10)
- end
- TRAIL:remove()
- end))
- local HIT = Raycast(CHUNK.Position, CHUNK.CFrame.lookVector, CHUNK.Size.Z/2, Character)
- if HIT ~= nil then
- COLLISION = true
- break
- end
- end
- CHUNK:remove()
- if COLLISION == true then
- CreateFlyingDebree(CHUNK,CF(CHUNK.Position),25,VT(10,10,10),3,MRANDOM(150,250))
- killnearest(CHUNK.Position,CHUNK.Size.Z,45)
- end
- end))
- turnto(CHUNK.Position)
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-25)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
- end
- ATTACK = false
- Rooted = false
- end
- end
- function XEvent2()
- local FLOOR,HITPOS = Raycast(RootPart.Position, CF(RootPart.Position,RootPart.Position+VT(0,-1,0)).lookVector, 100000, Character)
- if FLOOR then
- local BURNMARKS = {}
- local POS = HITPOS
- ATTACK = true
- Rooted = false
- local AMOUNT = 200
- for i=0, 3, 0.1 / Animation_Speed do
- Swait()
- RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))*CF(0,0,2)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- CreateSound("1368583274", Effects, 10, 0.5)
- local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,0,0))
- MakeForm(ORB,"Ball")
- ORB.Color = C3(0,0,0)
- ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
- for i=0, 12, 0.1 / Animation_Speed do
- Swait()
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
- CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0))
- CreateRing(VT(250,250,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0))
- RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i = 1, 50 do
- Swait()
- ORB.Size = ORB.Size * 0.9
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- end
- local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,100,0))
- MakeForm(BEAM,"Ball")
- local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,1000,0))
- MakeForm(BEAM2,"Cyl")
- BEAM.CFrame = ORB.CFrame * CF(0,0,10)
- ORB.Color = BRICKC("Really blue").Color
- CreateSound("1368598393", Effects, 10, 0.3)
- CreateSound("1368605755", Effects, 10, 0.3)
- CreateSound("1368637781", Effects, 10, 0.3)
- for i = 1, 10 do
- local COLOR = C3(0,0,0)
- ORB.Size = VT(10,10,10)
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(10,10,0))
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(20,20,0))
- BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
- BEAM.Size = BEAM.Size + VT(4,0,4)
- BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
- BEAM2.Size = BEAM2.Size + VT(4,0,4)
- BEAM.Color = COLOR
- ORB.Color = COLOR
- BEAM2.Color = COLOR
- end
- for i = 1, 400 do
- Swait()
- local COLOR = C3(1,1,1)
- BEAM.Color = COLOR
- ORB.Color = COLOR
- BEAM2.Color = COLOR
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
- BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
- RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,AMOUNT))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/30,POWERLEVEL/30,0))
- local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "BurnMark", VT(15,0,15)*2)
- MARK.CFrame = CF(POS+VT(AMOUNT,0,AMOUNT))
- table.insert(BURNMARKS,MARK)
- MakeForm(MARK,"Cyl")
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/50,POWERLEVEL/50,0))
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
- local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,AMOUNT)).magnitude
- AMOUNT = AMOUNT - 1
- --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,AMOUNT)),1,VT(5,5,5),1,150)
- end
- local AMOUNT = 200
- for i = 1, 400 do
- Swait()
- local COLOR = C3(1,1,1)
- BEAM.Color = COLOR
- ORB.Color = COLOR
- BEAM2.Color = COLOR
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
- BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
- RootPart.CFrame = CF(RootPart.Position,POS+VT(AMOUNT,0,-AMOUNT))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
- CreateRing(VT(0,0,0),false,0,25,RightArm.CFrame*CF(0,-1.5,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/30,POWERLEVEL/30,0))
- local MARK = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "BurnMark", VT(15,0,15)*2)
- MARK.CFrame = CF(POS+VT(AMOUNT,0,-AMOUNT))
- table.insert(BURNMARKS,MARK)
- MakeForm(MARK,"Cyl")
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/50,POWERLEVEL/50,0))
- CreateRing(VT(0,0,0),false,0,25,CF(POS+VT(AMOUNT,0,-AMOUNT))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(POWERLEVEL/40,POWERLEVEL/40,0))
- local distance = (RightArm.CFrame*CF(0,-2,0).p - POS+VT(AMOUNT,0,-AMOUNT)).magnitude
- AMOUNT = AMOUNT - 1
- --CreateFlyingDebree(FLOOR,CF(POS+VT(AMOUNT,0,-AMOUNT)),1,VT(5,5,5),1,150)
- end
- for i = 1, 40 do
- Swait()
- local COLOR = C3(0,0,0)
- BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
- BEAM.Size = BEAM.Size - VT(2,0,2)
- BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
- BEAM2.Size = BEAM2.Size - VT(2,0,2)
- ORB.Size = ORB.Size * 0.9
- BEAM.Color = COLOR
- ORB.Color = COLOR
- BEAM2.Color = COLOR
- end
- ORB:remove()
- BEAM:remove()
- BEAM2:remove()
- CreateSound("1368583274", Effects, 10, 0.375)
- local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,0,0))
- MakeForm(ORB,"Ball")
- ORB.Color = C3(0,0,0)
- ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
- for i=0, 18, 0.1 / Animation_Speed do
- Swait()
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
- CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0))
- CreateRing(VT(450,450,0),false,0,45,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-10,-10,0))
- RootPart.CFrame = CF(RootPart.Position,POS)
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
- end
- for i = 1, 50 do
- Swait()
- ORB.Size = ORB.Size * 0.9
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- end
- local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,100,0))
- MakeForm(BEAM,"Ball")
- local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Neon", VT(0,1000,0))
- MakeForm(BEAM2,"Cyl")
- BEAM.CFrame = ORB.CFrame * CF(0,0,10)
- ORB.Color = BRICKC("Institutional white").Color
- CreateSound("1368598393", Effects, 10, 1)
- CreateSound("1368605755", Effects, 10, 1)
- CreateSound("1368637781", Effects, 10, 1)
- CreateSound("314970772", Effects, 10, 1)
- for i = 1, 60 do
- Swait()
- MagicSphere(VT(0,0,0),25,CF(POS),"Really blue",VT(15,15,15))
- local COLOR = C3(0,0,0)
- ORB.Size = VT(10,10,10)
- ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(10,10,0))
- CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(20,20,0))
- BEAM.CFrame = ORB.CFrame * CF(0,-50-(ORB.Size.Z/3),0)
- BEAM.Size = BEAM.Size + VT(6,0,6)
- BEAM2.CFrame = ORB.CFrame * CF(0,-550-(ORB.Size.Z/3),0)
- BEAM2.Size = BEAM2.Size + VT(6,0,6)
- BEAM.Color = COLOR
- ORB.Color = COLOR
- BEAM2.Color = COLOR
- end
- for _, c in pairs(workspace:GetChildren()) do
- if c ~= Character then
- if c.ClassName == "Model" then
- c:BreakJoints()
- for _, g in pairs(c:GetChildren()) do
- if g ~= Character then
- if g.ClassName == "Part" then
- g.Anchored = false
- g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
- end
- end
- end
- elseif c.ClassName == "Folder" then
- for _, g in pairs(c:GetChildren()) do
- if g ~= Character then
- if g.ClassName == "Part" then
- g.Anchored = false
- g.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
- end
- end
- end
- elseif c.ClassName == "Part" then
- c.Anchored = false
- c.Velocity = VT(MRANDOM(-150,150),MRANDOM(-150,150),MRANDOM(-150,150))
- end
- end
- end
- for e=1,#BURNMARKS do
- if BURNMARKS[e]~=nil then
- local Thing=BURNMARKS[e]
- if Thing~=nil then
- local Part=Thing
- Part:remove()
- end
- end
- end
- ORB:remove()
- BEAM:remove()
- BEAM2:remove()
- Swait(100)
- for i = 1, 60 do
- Swait()
- end
- ATTACK = false
- Rooted = false
- end
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- HOLD = true
- if ATTACK == false then
- end
- end
- function CastProperRay(StartPos, Vec, Length, Ignore)
- local Direction = CFrame.new(StartPos, Vec).lookVector
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
- return RayHit, RayPos, RayNormal
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- function KeyDown(Key)
- KEYHOLD = true
- if LIMITBROKEN == false then
- if Key == "t" and ATTACK == false then
- Taunt()
- end
- if Key == "z" and ATTACK == false then
- Warp()
- end
- if Key == "b" and ATTACK == false then
- RivalingOverthrower()
- end
- if Key == "c" and ATTACK == false then
- ChunkChuck()
- end
- if Key == "v" and ATTACK == false then
- if POWERLEVEL < 5 then
- Boost()
- end
- end
- if Key == "q" and ATTACK == false then
- BreakLimit()
- end
- if Key == "x" and ATTACK == false then
- XEvent()
- end
- else
- if Key == "b" and ATTACK == false then
- RivalingOverthrower2()
- end
- if Key == "c" and ATTACK == false then
- ChunkChuck2()
- end
- if Key == "x" and ATTACK == false then
- XEvent2()
- end
- if Key == "q" and ATTACK == false then
- LIMITBROKEN = false
- POWERLEVEL = 1
- end
- if Key == "w" and ATTACK == false then
- FLIGHT = true
- repeat
- local RayHit, RayPos = CastProperRay(RootPart.Position, Mouse.Hit.p, 5, {workspace})
- RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
- Swait()
- until KEYHOLD == false
- FLIGHT = false
- end
- if Key == "s" and ATTACK == false then
- FLIGHT = true
- repeat
- local RayHit1, RayPos1 = CastProperRay(Mouse.Hit.p, RootPart.Position, 10000, {workspace})
- local RayHit, RayPos = CastProperRay(RootPart.Position, RayPos1, 1, {workspace})
- RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
- Swait()
- until KEYHOLD == false
- FLIGHT = false
- end
- if Key == "a" and ATTACK == false then
- FLIGHT = true
- repeat
- local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(-1,0,0).p, 1, {workspace})
- RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
- Swait()
- until KEYHOLD == false
- FLIGHT = false
- end
- if Key == "d" and ATTACK == false then
- FLIGHT = true
- repeat
- local RayHit, RayPos = CastProperRay(RootPart.Position, RootPart.CFrame*CF(1,0,0).p, 1, {workspace})
- RootPart.CFrame = CFrame.new(RayPos,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
- Swait()
- until KEYHOLD == false
- FLIGHT = false
- end
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- g = Character:GetChildren()
- for i = 1, #g do
- if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
- g[i].Anchored = false
- end
- if g[i].ClassName == "Accessory" then
- g[i].Handle.Anchored = false
- end
- end
- if LIMITBROKEN == false then
- RootPart.Anchored = false
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- Speed = 12
- Humanoid.JumpPower = 200
- local FF = IT("ForceField",Character)
- FF.Visible = false
- while true do
- Swait()
- ANIMATE.Parent = nil
- local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
- IDLEANIMATION:Play()
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
- if LIMITBROKEN == false then
- HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
- if HITFLOOR ~= nil then
- if HITFLOOR.CanCollide == false then
- HITFLOOR = nil
- end
- end
- local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
- if ANIM == "Walk" and TORSOVELOCITY > 1 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- if ANIM == "Fall" then
- Rooted = true
- CreateSound("289842971", Torso, 3, 1)
- Humanoid.WalkSpeed = 0
- CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
- CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1))
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
- end
- Rooted = false
- end
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 2 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- if ANIM == "Fall" then
- Rooted = true
- CreateSound("289842971", Torso, 3, 1)
- Humanoid.WalkSpeed = 0
- CreateFlyingDebree(HITFLOOR,CF(RootPart.Position+VT(0,-3,0)),5,VT(1.5,1.5,1.5),45,50)
- CreateWave(VT(0,0,0),15,CF(HITPOS),true,2,"Really black",VT(1,0.1,1))
- for i=0, 1, 0.1 / Animation_Speed do
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
- end
- Rooted = false
- end
- ANIM = "Walk"
- WALK = WALK + 1 / Animation_Speed
- if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
- WALK = 0
- if WALKINGANIM == true then
- WALKINGANIM = false
- elseif WALKINGANIM == false then
- WALKINGANIM = true
- end
- end
- --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(2 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
- end
- end
- if ATTACK == false and POWERLEVEL > 2 then
- killnearest(Torso.Position,POWERLEVEL*2,15)
- end
- if sick.SoundId ~= "rbxassetid://1057854857" then
- sick.SoundId = "rbxassetid://1057854857"
- sick.Volume = 5
- sick:Play()
- end
- sick.Pitch = (1-((POWERLEVEL-1))/15)
- SKILL6TEXT.Text = "Power level: ["..POWERLEVEL.."]"
- else
- VALUE2 = false
- if ATTACK == false and POWERLEVEL > 2 then
- killnearest(Torso.Position,15,15)
- end
- local RANDOM = MRANDOM(1,4)
- if MRANDOM(1,5) == 1 then
- CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,-1,0)*RANDOM)
- end
- if MRANDOM(1,5) == 1 then
- CreateRing(VT(15,15,0)*RANDOM,false,0,15,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really blue",VT(-1,-1,0)*RANDOM)
- end
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- POWERLEVEL = 100
- RootPart.Anchored = true
- if FLIGHT == false then
- ANIM = "Levitate"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
- end
- else
- ANIM = "Fly"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 2 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-10), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
- end
- end
- SKILL6TEXT.Text = "Power level: ["..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9)..MRANDOM(1,9).."]"
- HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 75, Character)
- if sick.SoundId ~= "rbxassetid://1100698694" then
- sick.SoundId = "rbxassetid://1100698694"
- sick.Volume = 5
- sick:Play()
- sick.Pitch = 1
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- if ANIM == "Jump" or ANIM == "Fall" then
- Humanoid.WalkSpeed = Speed*3
- else
- Humanoid.WalkSpeed = Speed
- end
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- q = Character:GetChildren()
- for u = 1, #q do
- if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
- if q[u].Handle:FindFirstChild("PE") == nil then
- particles(q[u].Handle)
- elseif q[u].Handle:FindFirstChild("PE") then
- if LIMITBROKEN == false then
- local EyeSizes={
- NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- q[u].Handle.PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
- q[u].Handle.PE.Speed = NumberRange.new(POWERLEVEL)
- q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
- else
- local EyeSizes={
- NumberSequenceKeypoint.new(0,4,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- q[u].Handle.PE.Acceleration = Vector3.new(0,100,0)
- q[u].Handle.PE.Speed = NumberRange.new(25)
- q[u].Handle.PE.Size=NumberSequence.new(EyeSizes)
- end
- end
- elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
- if q[u]:FindFirstChild("PE") == nil then
- particles(q[u])
- elseif q[u]:FindFirstChild("PE") then
- if LIMITBROKEN == false then
- local EyeSizes={
- NumberSequenceKeypoint.new(0,POWERLEVEL/2,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- q[u].PE.Acceleration = Vector3.new(0,75*POWERLEVEL/2,0)
- q[u].PE.Speed = NumberRange.new(POWERLEVEL)
- q[u].PE.Size=NumberSequence.new(EyeSizes)
- else
- local EyeSizes={
- NumberSequenceKeypoint.new(0,4,0),
- NumberSequenceKeypoint.new(1,0,0)
- }
- q[u].PE.Acceleration = Vector3.new(0,100,0)
- q[u].PE.Speed = NumberRange.new(25)
- q[u].PE.Size=NumberSequence.new(EyeSizes)
- end
- end
- end
- end
- script.Parent = PlayerGui
- if VALUE2 == false then
- if HITFLOOR ~= nil then
- CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really blue",VT(POWERLEVEL/3,POWERLEVEL/3,0))
- end
- Speed = 12
- Character.Parent = workspace
- Weapon.Parent = Character
- elseif VALUE2 == true then
- Speed = 45
- Character.Parent = Cam
- Weapon.Parent = workspace
- end
- Effects.Parent = Weapon
- FF.Parent = Character
- local MATHS = {"0","1"}
- Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
- Humanoid.PlatformStand = false
- sick.Parent = Character
- end
- end)
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
- --[[l = game.Lighting
- l.TimeOfDay = 1
- game.Lighting.Ambient = Color3.new(0,0,0)
- l.Brightness = 0]]--
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement