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
- print("FE Compatibility code by Mokiros")
- 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
- -----------/The final explosion\\-----------
- --[[Movelist
- Instant explosion.
- ---------]]
- Player= owner
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- place = Torso
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- speech = Instance.new("Sound",workspace)
- speech.SoundId = "rbxassetid://2124080151"
- 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 = 1
- imageLabelo.ImageTransparency = 0
- imageLabelo.Position = UDim2.new(0, 0, 0, -50)
- imageLabelo.Size = UDim2.new(0, 1370, 0, 750)
- imageLabelo.Image = "rbxassetid://2124079039"
- wait(6)
- imageLabelo2 = Instance.new("ImageLabel")
- imageLabelo2.Parent = screenGui
- imageLabelo2.BackgroundTransparency = 1
- imageLabelo2.ImageTransparency = 1
- imageLabelo2.Position = UDim2.new(0, 0, 0, -50)
- imageLabelo2.Size = UDim2.new(0, 1370, 0, 750)
- imageLabelo2.Image = "rbxassetid://2124078787"
- 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()
- pcall(function()
- camera = workspace.CurrentCamera
- camera.CameraType = Enum.CameraType.Scriptable
- camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5,-15) * CFrame.Angles(0,math.rad(180),0)
- coroutine.wrap(function()
- for i = 1, 75 do
- wait()
- end
- gf = 5
- fg = -30
- for i = 1, 580 do
- gf = gf + 0
- fg = fg + 2.5
- camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5 + gf,-15 - fg ) * CFrame.Angles(0,math.rad(180),0)
- wait()
- end
- for i = 1, 250 do
- wait()
- end
- coroutine.wrap(function()
- for i = 1, 1000 do
- for i,v in pairs(hum.Parent:GetDescendants()) do
- if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
- end
- end
- wait()
- end
- end)()
- camera.CameraType = Enum.CameraType.Custom
- end)()
- end)
- local remote = NS ([==[
- Player=owner
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- walking = false
- jumping = false
- allowgrassy = false
- zxc = false
- matte = nil
- colori = nil
- bigball = false
- attacking = false
- laughing = false
- running = false
- downpress = false
- taim = nil
- change = 0
- ws = 0
- jp = 0
- appi = false
- tauntdebounce = false
- position = nil
- lastexplosion = false
- staybooming = false
- MseGuide = true
- levitate = false
- firsttime5 = false
- notallowedtransform = false
- settime = 0
- firsttime2 = false
- sine = 0
- t = 0
- combo1 = true
- dgs = 75
- combo2 = false
- firsttime3 = false
- combo3 = false
- local bl = {907530553,907527750,907527912}
- colortable = {"Really black","Really red"}
- colors = #colortable
- blz = #bl
- local aces = {1880203893,1881287656,1881287420,1881288034}
- ace = #aces
- local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
- laugh = #laughs
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- damageall={}
- Repeater={}
- Repeater2={}
- magictable={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- lolzor={}
- lolzor2={}
- th2={}
- keyYsize={}
- blocktrail={}
- keyYtransparency={}
- th3={}
- laughingtable={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- FireBall = Instance.new("Sound",LeftArm)
- FireBall.SoundId = "rbxassetid://842332424"
- FireBall.Volume = 5
- FireBall.Pitch = 2.5
- BigFireBall = Instance.new("Sound",LeftArm)
- BigFireBall.SoundId = "rbxassetid://842332424"
- BigFireBall.Volume = 8
- BigFireBall.Pitch = 1.5
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Torso
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- function makeblockytrail()
- coroutine.wrap(function()
- while true do
- for i,v in pairs(blocktrail) do
- smke = Instance.new("Part",v)
- smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- smke.Material = "Neon"
- smke.Anchored = true
- smke.CanCollide = false
- removeuseless:AddItem(smke,2)
- end
- swait()
- end
- end)()
- end
- local function ci(x, c, y, n)
- so = Instance.new("Sound", x)
- so.SoundId = c
- so.Volume = y
- so.Looped = n
- end
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(0, 1)
- end
- function clean()
- damageall={}
- Repeater={}
- Repeater2={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- th2={}
- th3={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- end
- coroutine.wrap(function()
- while wait() do
- hum.WalkSpeed = ws
- hum.JumpPower = jp
- end
- end)()
- godmode = coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") and v ~= Root then
- v.Anchored = false
- end
- end
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v.Name == "Animate" then v:Remove()
- end
- end
- end)()
- function damagealll(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
- if v:FindFirstChild("Torso") then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- elseif v:FindFirstChild("UpperTorso") then
- local Mag = (v.UpperTorso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- end
- return Returning
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
- so = Instance.new("Sound")
- so.Parent = PARENT
- so.SoundId = "rbxassetid://"..ID
- so.Volume = VOL
- so.Looped = LOOP
- so:Play()
- removeuseless:AddItem(so,REMOVE)
- end
- warn("I'm gonna crush you, and throw you into the wind. Made by Supr14")
- function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function ray2(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return ray(StartPos, DIRECTION, Distance, Ignore)
- end
- sacrifice = Instance.new("Sound",Torso)
- sacrifice.SoundId = "rbxassetid://2123165301"
- sacrifice.Volume = 10
- sacrifice:Play()
- explosiontable = {}
- x = 0
- coroutine.wrap(function()
- for i = 1, 400 do
- swait()
- x = x + 15
- for i,v in pairs(explosiontable) do
- v.Scale = v.Scale + Vector3.new(4,.6,4)
- v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(x),0)
- v.Parent.Transparency = v.Parent.Transparency + .025
- end
- end
- end)()
- coroutine.wrap(function()
- for i = 1, 25 do
- shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Name = "shockwav"
- shockwave3.Transparency = .5
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
- shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(1,1,1)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- table.insert(explosiontable,shockwavemesh3)
- swait(5)
- end
- end)()
- for i = 1, 50 do
- settime = 0.05
- sine = sine + change
- change = 1
- HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(-13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.5)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.5)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.5)
- swait()
- end
- explosiontable2={}
- explosiontable3={}
- TheExplosion = Instance.new("Part",LeftArm)
- TheExplosion.BrickColor = BrickColor.new("Bright yellow")
- TheExplosion.Material = "Neon"
- TheExplosion.Shape = "Ball"
- TheExplosion.Anchored = true
- TheExplosion.CanCollide = false
- TheExplosion.CFrame = CFrame.new(Torso.Position)
- TheExplosion.Size = Vector3.new(8,8,8)
- TheExplosion.Transparency = 0.5
- shockwave2 = Instance.new("Part", LeftArm)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 1
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
- shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(3,1,3)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- table.insert(explosiontable2,shockwavemesh2)
- shockwave = Instance.new("Part", LeftArm)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 1
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0)
- shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(3,1,3)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- table.insert(explosiontable3,shockwavemesh)
- coroutine.wrap(function()
- for i = 1, 23 do
- TheExplosion.Transparency = 1
- swait(1)
- TheExplosion.Transparency = 0.5
- swait(1)
- end
- coroutine.wrap(function()
- for i = 1, 50 do
- wait(2.5)
- shocks = TheExplosion:Clone()
- shocks.Parent = Torso
- shocks.Name = "shock"
- swait()
- end
- end)()
- n = 0
- f = 0
- dmgal = 0
- shockwave.Transparency = .5
- shockwave2.Transparency = .5
- for i = 1, 125 do
- dmgal = dmgal + .25
- local Hit = damagealll(dmgal,TheExplosion.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
- removeuseless:AddItem(vel,.1)
- end
- n = n + 16
- f = f - 16
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.25,.05,.25)
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.25,.05,.25)
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0)
- TheExplosion.Transparency = TheExplosion.Transparency - .0040
- TheExplosion.Size = TheExplosion.Size + Vector3.new(.25,.25,.25)
- swait()
- end
- for i = 1, 920 do
- dmgal = dmgal + 1
- local Hit = damagealll(dmgal/1.5,TheExplosion.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
- removeuseless:AddItem(vel,.1)
- end
- n = n + 4
- f = f - 4
- for i,v in pairs(explosiontable2) do
- v.Scale = v.Scale + Vector3.new(1,.1,1)
- v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
- end
- for i,v in pairs(explosiontable3) do
- v.Scale = v.Scale + Vector3.new(1,.1,1)
- v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0)
- end
- TheExplosion.Transparency = TheExplosion.Transparency - .0025
- TheExplosion.Size = TheExplosion.Size + Vector3.new(1,1,1)
- swait()
- end
- for i = 1, 850 do
- n = n + 18
- f = f - 18
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1,.1,1)
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1,.1,1)
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+14),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-14),0)
- TheExplosion.Transparency = TheExplosion.Transparency - .0025
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 1000 do
- for i,v in pairs(hum.Parent:GetDescendants()) do
- if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
- end
- end
- wait()
- end
- end)()
- for i = 1, 50 do
- n = n + 4
- f = f - 4
- for i,v in pairs(explosiontable2) do
- v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
- v.Parent.Transparency = v.Parent.Transparency + 0.05
- end
- for i,v in pairs(explosiontable3) do
- v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0)
- v.Parent.Transparency = v.Parent.Transparency + 0.05
- end
- TheExplosion.Transparency = TheExplosion.Transparency + .015
- swait()
- end
- for i,v in pairs(explosiontable2) do
- v:Remove()
- end
- for i,v in pairs(explosiontable3) do
- v:Remove()
- end
- TheExplosion:Remove()
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "shocks" then
- v:Remove()
- end
- end
- hum.Parent:BreakJoints()
- for i = 1, 1500 do
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "shocks" then
- for i = 1, 20 do
- v.Transparency = v.Transparency + 0.05
- swait()
- end
- end
- end
- swait()
- end
- end)()
- for i = 1, 25 do
- HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(10)), 0.4)
- swait()
- end
- lastexplosion = true
- for i = 1, 400 do
- HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.45, .1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.05)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.05)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.05)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.05)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.05)
- swait()
- end
- ]==], owner.Character):WaitForChild 'ServerRemote';
- mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement