Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=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 and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- 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 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})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- 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)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- function wbtwe(Part0, Part1, C0)
- local weld = Instance.new("Weld", Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
- return weld
- end
- local song = Instance.new("Sound", owner.Character.Head)
- song.SoundId = "rbxassetid://2858940717"
- song.Volume = 2
- song.Looped = true
- song.Pitch = .6
- song:Play()
- owner.Character:FindFirstChildOfClass("Humanoid").Name = "VOID"
- local speedval = 0
- for i,v in pairs(owner.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Decal") or v:IsA("SpecialMesh") then
- v:Destroy()
- end
- if v:IsA("Part") and v.Name ~= "Head" and v.Name ~= "HumanoidRootPart" then
- v.Transparency = 1
- elseif v:IsA("Part") and v.Name == "Head" then
- v.Transparency = 1
- end
- end
- local animv = true
- local mas = Instance.new("Model",owner.Character)
- local WeldConstraint_2 = Instance.new("WeldConstraint")
- local Shine_2 = Instance.new("ParticleEmitter")
- local PurpleFire_2 = Instance.new("ParticleEmitter")
- local BlueFire_2 = Instance.new("ParticleEmitter")
- local plasma2 = Instance.new("Part")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Shine = Instance.new("ParticleEmitter")
- local PurpleFire = Instance.new("ParticleEmitter")
- local BlueFire = Instance.new("ParticleEmitter")
- local plasma1 = Instance.new("Part")
- local Mesh_2 = Instance.new("SpecialMesh")
- local hand2 = Instance.new("Part")
- local Mesh = Instance.new("SpecialMesh")
- local hand1 = Instance.new("Part")
- local Hands = Instance.new("Model")
- Hands.Name = "Hands"
- Hands.Parent = mas
- hand1.Color = Color3.new(0.9725,0.9725,0.9725)
- hand1.Size = Vector3.new(7.493,8.713,10.107)
- hand1.Name = "hand 1"
- hand1.CanCollide = false
- hand1.CFrame = CFrame.new(25.9776,11.1411,-7.7959,0.9672,-0.0607,0.2467,0.2492,0.4148,-0.8751,-0.0492,0.9079,0.4163)
- hand1.Parent = Hands
- hand1.Massless = true
- hand2.Massless = true
- Mesh.MeshId = "http://www.roblox.com/asset/?id=652913920"
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Scale = Vector3.new(10.456,10.456,10.456)
- Mesh.Parent = hand1
- hand2.Color = Color3.new(0.9725,0.9725,0.9725)
- hand2.Size = Vector3.new(7.543,8.77,10.174)
- hand2.Name = "hand 2"
- hand2.CanCollide = false
- hand2.CFrame = CFrame.new(24.1856,11.1374,3.8781,-0.7578,0.4227,0.4971,-0.1491,0.6296,-0.7625,-0.6352,-0.6519,-0.4141)
- hand2.Parent = Hands
- Mesh_2.MeshId = "http://www.roblox.com/asset/?id=652913236"
- Mesh_2.MeshType = Enum.MeshType.FileMesh
- Mesh_2.Scale = Vector3.new(10.524,10.524,10.524)
- Mesh_2.Parent = hand2
- plasma1.Color = Color3.new(0.0667,0.0667,0.0667)
- plasma1.Material = Enum.Material.Neon
- plasma1.Size = Vector3.new(2.16,2.16,2.16)
- plasma1.Name = "plasma 1"
- plasma1.CastShadow = false
- plasma1.CFrame = CFrame.new(23.5947,14.8699,-8.7232,0.7578,-0.4971,-0.4227,0.1491,0.7625,-0.6296,0.6352,0.4141,0.6519)
- plasma1.Shape = Enum.PartType.Ball
- plasma1.Parent = Hands
- BlueFire.Color = ColorSequence.new(Color3.new(1,0,0))
- BlueFire.Lifetime = NumberRange.new(1)
- BlueFire.Speed = NumberRange.new(0)
- BlueFire.Size = NumberSequence.new(2)
- BlueFire.Transparency = NumberSequence.new(0.89999997615814)
- BlueFire.Name = "BlueFire"
- BlueFire.LightEmission = -1
- BlueFire.Texture = "http://www.roblox.com/asset/?id=348467696"
- BlueFire.Parent = plasma1
- PurpleFire.Color = ColorSequence.new(Color3.new(0.4431,0,0))
- PurpleFire.Lifetime = NumberRange.new(1)
- PurpleFire.Speed = NumberRange.new(0)
- PurpleFire.Size = NumberSequence.new(2)
- PurpleFire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
- PurpleFire.Name = "PurpleFire"
- PurpleFire.LightEmission = -1
- PurpleFire.Texture = "http://www.roblox.com/asset/?id=348467696"
- PurpleFire.Parent = plasma1
- Shine.Color = ColorSequence.new(Color3.new(1,0,0))
- Shine.ZOffset = 2
- Shine.Speed = NumberRange.new(0)
- Shine.Size = NumberSequence.new(2)
- Shine.LockedToPart = true
- Shine.Rate = 3
- Shine.Rotation = NumberRange.new(-100,100)
- Shine.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.05,0.98,0),NumberSequenceKeypoint.new(0.15,0.93,0),NumberSequenceKeypoint.new(0.769,0.93,0),NumberSequenceKeypoint.new(0.848,0.98,0),NumberSequenceKeypoint.new(1,1,0)})
- Shine.Name = "Shine"
- Shine.LightEmission = 1
- Shine.Texture = "rbxassetid://75202463"
- Shine.Parent = plasma1
- WeldConstraint.Part1 = hand1
- WeldConstraint.Part0 = plasma1
- WeldConstraint.Parent = plasma1
- plasma2.Color = Color3.new(0.0667,0.0667,0.0667)
- plasma2.Material = Enum.Material.Neon
- plasma2.Size = Vector3.new(2.16,2.16,2.16)
- plasma2.Name = "plasma 2"
- plasma2.CastShadow = false
- plasma2.CFrame = CFrame.new(21.0308,14.305,3.4879,0.7578,-0.4971,-0.4227,0.1491,0.7625,-0.6296,0.6352,0.4141,0.6519)
- plasma2.Shape = Enum.PartType.Ball
- plasma2.Parent = Hands
- BlueFire_2.Color = ColorSequence.new(Color3.new(1,0,0))
- BlueFire_2.Lifetime = NumberRange.new(1)
- BlueFire_2.Speed = NumberRange.new(0)
- BlueFire_2.Size = NumberSequence.new(2)
- BlueFire_2.Transparency = NumberSequence.new(0.89999997615814)
- BlueFire_2.Name = "BlueFire"
- BlueFire_2.LightEmission = -1
- BlueFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
- BlueFire_2.Parent = plasma2
- PurpleFire_2.Color = ColorSequence.new(Color3.new(0.4431,0,0))
- PurpleFire_2.Lifetime = NumberRange.new(1)
- PurpleFire_2.Speed = NumberRange.new(0)
- PurpleFire_2.Size = NumberSequence.new(2)
- PurpleFire_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.869,0),NumberSequenceKeypoint.new(0.5,0.475,0),NumberSequenceKeypoint.new(1,1,0)})
- PurpleFire_2.Name = "PurpleFire"
- PurpleFire_2.LightEmission = -1
- PurpleFire_2.Texture = "http://www.roblox.com/asset/?id=348467696"
- PurpleFire_2.Parent = plasma2
- Shine_2.Color = ColorSequence.new(Color3.new(1,0,0))
- Shine_2.ZOffset = 2
- Shine_2.Speed = NumberRange.new(0)
- Shine_2.Size = NumberSequence.new(2)
- Shine_2.LockedToPart = true
- Shine_2.Rate = 3
- Shine_2.Rotation = NumberRange.new(-100,100)
- Shine_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.05,0.98,0),NumberSequenceKeypoint.new(0.15,0.93,0),NumberSequenceKeypoint.new(0.769,0.93,0),NumberSequenceKeypoint.new(0.848,0.98,0),NumberSequenceKeypoint.new(1,1,0)})
- Shine_2.Name = "Shine"
- Shine_2.LightEmission = 1
- Shine_2.Texture = "rbxassetid://75202463"
- Shine_2.Parent = plasma2
- WeldConstraint_2.Part1 = hand2
- WeldConstraint_2.Part0 = plasma2
- WeldConstraint_2.Parent = plasma2
- local mas = Instance.new("Model",owner.Character)
- local WeldConstraint_3 = Instance.new("WeldConstraint")
- local Part_3 = Instance.new("Part")
- local WeldConstraint_2 = Instance.new("WeldConstraint")
- local Part_2 = Instance.new("Part")
- local ParticleEmitter_4 = Instance.new("ParticleEmitter")
- local ParticleEmitter_3 = Instance.new("ParticleEmitter")
- local ParticleEmitter_2 = Instance.new("ParticleEmitter")
- local ParticleEmitter = Instance.new("ParticleEmitter")
- local Mesh_2 = Instance.new("SpecialMesh")
- local Part = Instance.new("Part")
- local WeldConstraint = Instance.new("WeldConstraint")
- local Mesh = Instance.new("SpecialMesh")
- local PhantomoftheOpera = Instance.new("Part")
- local Halfface = Instance.new("Model")
- Halfface.Name = "Half face"
- Halfface.Parent = mas
- PhantomoftheOpera.Size = Vector3.new(5.4,4.95,4.89)
- PhantomoftheOpera.Name = "Phantom of the Opera"
- PhantomoftheOpera.CFrame = CFrame.new(24.72,2.545,-6.435,-1,0,0,0,1,0,0,0,-1)
- PhantomoftheOpera.Parent = Halfface
- PhantomoftheOpera.Massless = true
- Mesh.MeshId = "http://www.roblox.com/asset/?id=12470186"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=12470201"
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Scale = Vector3.new(5.94,5.445,5.379)
- Mesh.Parent = PhantomoftheOpera
- WeldConstraint.Part1 = Part
- WeldConstraint.Part0 = PhantomoftheOpera
- WeldConstraint.Parent = PhantomoftheOpera
- Part.BottomSurface = Enum.SurfaceType.Smooth
- Part.TopSurface = Enum.SurfaceType.Smooth
- Part.Color = Color3.new(0.0667,0.0667,0.0667)
- Part.Size = Vector3.new(7.11,4.89,5.21)
- Part.CFrame = CFrame.new(25.8664,2.445,-9.1497,0.9715,0,0.2372,0,1,0,-0.2372,0,0.9715)
- Part.Parent = Halfface
- Part.Massless = true
- Mesh_2.Parent = Part
- ParticleEmitter.Color = ColorSequence.new(Color3.new(0,0,0))
- ParticleEmitter.Lifetime = NumberRange.new(2)
- ParticleEmitter.Speed = NumberRange.new(-9)
- ParticleEmitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.802,2.313,0.5),NumberSequenceKeypoint.new(0.869,2.188,0.75),NumberSequenceKeypoint.new(0.923,1.875,0.4440790116787),NumberSequenceKeypoint.new(0.966,1.438,0.30082800984383),NumberSequenceKeypoint.new(1,0,0)})
- ParticleEmitter.Acceleration = Vector3.new(0,9.5,0)
- ParticleEmitter.RotSpeed = NumberRange.new(-50,50)
- ParticleEmitter.Rate = 75
- ParticleEmitter.LightEmission = 0.9
- ParticleEmitter.Texture = "http://www.roblox.com/asset/?id=266430235"
- ParticleEmitter.SpreadAngle = Vector2.new(15,15)
- ParticleEmitter.Parent = Part
- ParticleEmitter_2.Color = ColorSequence.new(Color3.new(0,0,0))
- ParticleEmitter_2.Lifetime = NumberRange.new(2)
- ParticleEmitter_2.Speed = NumberRange.new(-9)
- ParticleEmitter_2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.802,2.313,0.5),NumberSequenceKeypoint.new(0.869,2.188,0.75),NumberSequenceKeypoint.new(0.923,1.875,0.4440790116787),NumberSequenceKeypoint.new(0.966,1.438,0.30082800984383),NumberSequenceKeypoint.new(1,0,0)})
- ParticleEmitter_2.Acceleration = Vector3.new(0,9.5,0)
- ParticleEmitter_2.RotSpeed = NumberRange.new(-50,50)
- ParticleEmitter_2.Rate = 75
- ParticleEmitter_2.LightEmission = 0.9
- ParticleEmitter_2.Texture = "http://www.roblox.com/asset/?id=266430235"
- ParticleEmitter_2.SpreadAngle = Vector2.new(15,15)
- ParticleEmitter_2.Parent = Part
- ParticleEmitter_3.Lifetime = NumberRange.new(2)
- ParticleEmitter_3.Speed = NumberRange.new(0)
- ParticleEmitter_3.Size = NumberSequence.new(3)
- ParticleEmitter_3.RotSpeed = NumberRange.new(-1000,500)
- ParticleEmitter_3.Rate = 32
- ParticleEmitter_3.Transparency = NumberSequence.new(0.89999997615814)
- ParticleEmitter_3.Texture = "rbxassetid://341277531"
- ParticleEmitter_3.SpreadAngle = Vector2.new(900,900)
- ParticleEmitter_3.Parent = Part
- ParticleEmitter_4.Color = ColorSequence.new(Color3.new(1,0,0))
- ParticleEmitter_4.Drag = 1
- ParticleEmitter_4.Lifetime = NumberRange.new(10)
- ParticleEmitter_4.Speed = NumberRange.new(0)
- ParticleEmitter_4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,5.625,0)})
- ParticleEmitter_4.RotSpeed = NumberRange.new(720)
- ParticleEmitter_4.Rate = 10
- ParticleEmitter_4.Rotation = NumberRange.new(-1000,500)
- ParticleEmitter_4.Transparency = NumberSequence.new(0.98000001907349)
- ParticleEmitter_4.Texture = "rbxassetid://243134825"
- ParticleEmitter_4.Parent = Part
- Part_2.BottomSurface = Enum.SurfaceType.Smooth
- Part_2.TopSurface = Enum.SurfaceType.Smooth
- Part_2.Color = Color3.new(0.7686,0.1569,0.1098)
- Part_2.Material = Enum.Material.Neon
- Part_2.Size = Vector3.new(0.29,0.29,0.29)
- Part_2.CFrame = CFrame.new(24.75,3.075,-6.97,1,0,0,0,1,0,0,0,1)
- Part_2.Shape = Enum.PartType.Ball
- Part_2.Parent = Halfface
- WeldConstraint_2.Part1 = Part
- WeldConstraint_2.Part0 = Part_2
- WeldConstraint_2.Parent = Part_2
- Part_3.BottomSurface = Enum.SurfaceType.Smooth
- Part_3.TopSurface = Enum.SurfaceType.Smooth
- Part_3.Color = Color3.new(0.7686,0.1569,0.1098)
- Part_3.Material = Enum.Material.Neon
- Part_3.Size = Vector3.new(0.29,0.29,0.29)
- Part_3.CFrame = CFrame.new(27.05,3.075,-7.05,1,0,0,0,1,0,0,0,1)
- Part_3.Shape = Enum.PartType.Ball
- Part_3.Parent = Halfface
- WeldConstraint_3.Part1 = Part
- WeldConstraint_3.Part0 = Part_3
- WeldConstraint_3.Parent = Part_3
- facew = wbtwe(Part, owner.Character.Head, CFrame.new(0, -5, 0) *CFrame.Angles(0, 8.4, 0.2))
- lefthand = wbtwe(hand2, owner.Character.Torso, CFrame.new(4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
- righthand = wbtwe(hand1, owner.Character.Torso, CFrame.new(-4.45, -1, 0) *CFrame.Angles(0, 8.4, 0))
- idle = 0
- idlelook = 0
- walk = 0
- mode = 1
- anim = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- if animv == true then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.03
- idlelook = idlelook +0.02
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.1, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
- lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, -1 +math.cos(idle)*0.5, 0) *CFrame.Angles(0 +math.sin(idle)*0.15, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, -1 +math.cos(idle)*0.5, 0) *CFrame.Angles(0 +math.sin(idle)*0.15, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- elseif 1 < owner.Character.HumanoidRootPart.Velocity.Magnitude then
- idlelook = idlelook +0
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.0001, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
- idlelook = idlelook +0.02
- game:GetService("RunService").Stepped:wait()
- idle = idle +0.1
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(0+math.rad(math.random(-1,1)) +math.sin(idle)*0.0001, 8.5+math.cos(idlelook)*0.4+math.rad(math.random(-1,1)), 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
- lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, 3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- end
- end
- end
- end)anim()
- owner.Character.VOID.WalkSpeed = 55
- health = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- owner.Character.VOID.MaxHealth = math.huge
- owner.Character.VOID.Health = math.huge
- end
- end)health()
- function PillarAttack()
- local e = 5
- for i = 1,8 do
- e = e + 0.5
- local attack = Instance.new("Part")
- attack.BottomSurface = Enum.SurfaceType.Smooth
- attack.TopSurface = Enum.SurfaceType.Smooth
- attack.Color = Color3.new(0.9725,0.9725,0.9725)
- attack.Material = Enum.Material.Marble
- attack.Size = Vector3.new(8.92,42.13,7.63)
- attack.Anchored = true
- attack.CFrame = owner.Character.Torso.CFrame *CFrame.new(0, -5, "-"..e + 5)
- attack.Parent = workspace
- attack.Touched:connect(function(p)
- if p.Parent:FindFirstChildOfClass("Humanoid") then
- if p.Parent ~= owner.Character then
- p.Parent:BreakJoints()
- end
- end
- end)
- for i = 1,5 do
- wait()
- e = e + 5
- attack.CFrame = attack.CFrame *CFrame.new(0, 1, 0)
- end
- attack.CanCollide = false
- attack.Anchored = false
- end
- end
- owner.Character.VOID.Running:Connect(function(speed)
- if speed > 0 then
- speedval = speed
- else
- speedval = 0
- end
- end)
- deb = false
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- if deb == false then
- deb = true
- animv = false
- local whoosh = Instance.new("Sound", owner.Character.Head)
- whoosh.SoundId = "rbxassetid://624706518"
- whoosh.Volume = 2
- whoosh.Pitch = 2
- whoosh:Play()
- for i = 1,25 do
- game:GetService("RunService").Stepped:wait()
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -8 +math.cos(idle)*0.5, 0) *CFrame.Angles(0.4, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
- lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 8 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, 2 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- end
- for i = 1,15 do
- game:GetService("RunService").Stepped:wait()
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -5 +math.cos(idle)*0.5, 0) *CFrame.Angles(-0.4, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.3)
- lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 0.5 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(0 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.3)
- righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, -3 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(0.5 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.3)
- end
- local smash = Instance.new("Sound", owner.Character.Head)
- smash.SoundId = "rbxassetid://168514932"
- smash.Volume = 2
- smash.Pitch = 1
- smash:Play()
- local Boom = Instance.new("Part")
- Boom.BottomSurface = Enum.SurfaceType.Smooth
- Boom.TopSurface = Enum.SurfaceType.Smooth
- Boom.Size = Vector3.new(0.08,1,0.94)
- Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
- Boom.Shape = Enum.PartType.Cylinder
- Boom.Parent = workspace
- Boom.Anchored = true
- Boom.CanCollide = false
- Boom.Material = "Neon"
- Boom.BrickColor = BrickColor.new("Really red")
- Boom.Position = Part.Position
- for i = 1,15 do
- game:GetService("RunService").Stepped:wait()
- Boom.Size = Boom.Size +Vector3.new(0.1, 5, 5)
- Boom.Transparency = Boom.Transparency +0.1
- end
- Boom:Destroy()
- Boom:Destroy()
- deb = false
- animv = true
- PillarAttack()
- end
- end
- if key == "x" then
- if deb == false then
- deb = true
- animv = false
- local whoosh = Instance.new("Sound", owner.Character.Head)
- whoosh.SoundId = "rbxassetid://624706518"
- whoosh.Volume = 2
- whoosh.Pitch = 2
- whoosh:Play()
- owner.Character.VOID.WalkSpeed = 0
- owner.Character.VOID.JumpPower = 0
- for i = 1,25 do
- game:GetService("RunService").Stepped:wait()
- facew.C0 = facew.C0:lerp(owner.Character.Head.CFrame:inverse() *owner.Character.Head.CFrame * CFrame.new(0, -8 +math.cos(idle)*0.5, 0) *CFrame.Angles(0.5, 8.5, 0+math.rad(math.random(-1,1)) +math.cos(idle)*0.1), 0.5)
- lefthand.C0 = lefthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(4.45, 8 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- righthand.C0 = righthand.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-4.45, 2 +math.cos(idle)*0.5, -0.4) *CFrame.Angles(-4 +math.sin(idle)*0.5, 9.3+math.cos(idle)*0.1 +math.sin(idle)*0.1, 0), 0.5)
- song.PlaybackSpeed = song.PlaybackSpeed - 0.1
- end
- wait(1)
- local smash = Instance.new("Sound", owner.Character.Head)
- smash.SoundId = "rbxassetid://168514932"
- smash.Volume = 2
- smash.Pitch = 1
- smash:Play()
- song:Stop()
- song.PlaybackSpeed = 1
- song.SoundId = "rbxassetid://1561410944"
- song:Play()
- local Boom = Instance.new("Part")
- Boom.BottomSurface = Enum.SurfaceType.Smooth
- Boom.TopSurface = Enum.SurfaceType.Smooth
- Boom.Size = Vector3.new(0.08,1,0.94)
- Boom.CFrame = CFrame.new(0.47,0.04,43.88,0,0,1,-1,0,0,0,-1,0)
- Boom.Shape = Enum.PartType.Cylinder
- Boom.Parent = workspace
- Boom.Anchored = true
- Boom.CanCollide = false
- Boom.Material = "Neon"
- Boom.BrickColor = BrickColor.new("Really red")
- Boom.Position = Part.Position
- PhantomoftheOpera.Transparency = 1
- for i = 1,15 do
- game:GetService("RunService").Stepped:wait()
- Boom.Size = Boom.Size +Vector3.new(4, 5, 5)
- Boom.Transparency = Boom.Transparency +0.1
- end
- Boom:Destroy()
- deb = false
- animv = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement