Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game.Players.LocalPlayer
- chr = plr.Character or plr.CharacterAdded:wait()
- mouse = plr:GetMouse()
- fire = Instance.new("Fire")
- shield = Instance.new('Part')
- shield.FormFactor = "Custom"
- shield.Size = Vector3.new(.2,.2,.2)
- shield.BottomSurface = "Smooth"
- shield.TopSurface = "Smooth"
- shield.Anchored = true
- shield.CanCollide = false
- shield.BrickColor = BrickColor.new(0,0,0)
- shield.Transparency = .5
- mesh = Instance.new("SpecialMesh",shield)
- mesh.MeshType = "Sphere"
- tele = Instance.new("Part")
- tele.Anchored = true
- tele.Transparency = .5
- tele.CanCollide = false
- cil = Instance.new("CylinderMesh",tele)
- tele.BrickColor = BrickColor.new(1,1,1)
- tele.Size = Vector3.new(5,1,5)
- box = Instance.new("Part")
- box.Transparency = .5
- box.Anchored = true
- box.CanCollide = false
- box.FormFactor = Enum.FormFactor.Custom
- box.Size = Vector3.new(.2,.2,.2)
- box.TopSurface = Enum.SurfaceType.Smooth
- box.BottomSurface = Enum.SurfaceType.Smooth
- outline = Instance.new("Part")
- outline.BrickColor = BrickColor.new(0,0,0)
- outline.Material = "Neon"
- outline.Anchored = false
- outline.CanCollide = false
- outline.FormFactor = "Custom"
- outline.Size = Vector3.new(1,1,1)
- outline.TopSurface = "Smooth"
- outline.BottomSurface = "Smooth"
- local sbox = Instance.new("SelectionBox",outline)
- sbox.Adornee = outline
- sbox.Color3 = Color3.new(1,1,1)
- sbox.LineThickness = .005
- sbox.Transparency = .5
- mouse.KeyDown:connect(function(key)
- if key == 'z' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,1,1)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local target = mouse.Target
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- victim.Character.Torso.Anchored = true
- while true do
- game:GetService('RunService').RenderStepped:wait()
- victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0)
- end
- end
- elseif key == 'x' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- local children = victim.Character:GetChildren()
- victim.Character.Humanoid.WalkSpeed = 0
- victim.Character.Torso.Anchored = true
- for i,v in pairs(children) do
- if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
- v.Anchored = true
- v.CanCollide = false
- for i = 0,1,.1 do
- wait()
- v.Transparency = i
- end
- end
- end
- end
- elseif key == 'c' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,0,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local explosion = Instance.new('Explosion',workspace)
- explosion.Position = mouse.Target.Position
- end
- elseif key == 'v' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0,1,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- local children = victim.Character:GetChildren()
- victim.Character.Humanoid.WalkSpeed = 0
- victim.Character.Torso.Anchored = true
- for i,v in pairs(children) do
- if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
- wait(.25)
- v.BrickColor = BrickColor.Green()
- v.CanCollide = false
- v.Parent = workspace
- v.Anchored = false
- end
- end
- end
- elseif key == 'b' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(0,0,0)
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local ball = shield:Clone()
- ball.Parent = workspace
- ball.Touched:connect(function(p)
- if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then
- p:Destroy()
- end
- end)
- while ball.Size.Y < 26 do
- game:GetService('RunService').RenderStepped:wait()
- ball.Size = ball.Size + Vector3.new(.25,.25,.25)
- ball.CFrame = chr.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- ball.Transparency = i
- end
- ball:Destroy()
- end
- elseif key == 'n' then
- local dec = outline:Clone()
- dec.Parent = workspace
- dec.Anchored = true
- for i = 1,5,.5 do
- game:GetService('RunService').RenderStepped:wait()
- dec.Size = Vector3.new(i,i,i)
- dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),0,math.random(0,180))
- dec.Transparency = dec.Transparency + .1
- dec.SelectionBox.Transparency = dec.Transparency
- end
- dec:Destroy()
- chr:MoveTo(mouse.Hit.p+Vector3.new(0,5.25,0))
- elseif
- key == 'm' then
- if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
- clone.SecondaryColor = clone.Color
- wait(2)
- clone:Destroy()
- local boxB = box:Clone()
- boxB.Parent = target
- boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1))
- local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character
- victim.Humanoid.WalkSpeed = 0
- for i = .2,10,.2 do
- game:GetService('RunService').RenderStepped:wait()
- boxB.Size = Vector3.new(i,i,i)
- boxB.CFrame = victim.Torso.CFrame
- end
- for i = .5,1,.025 do
- game:GetService('RunService').RenderStepped:wait()
- boxB.Transparency = i
- end
- wait()
- boxB:Destroy()
- local children = victim:GetChildren()
- for i,v in pairs(children) do
- clone = fire:Clone()
- clone.Parent = v
- clone.Color = Color3.new(1,0,0)
- victim.Humanoid.Health = victim.Humanoid.Health - 10
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.Red()
- end
- end
- end
- elseif key == 'f' then
- local clone = fire:Clone()
- clone.Parent = chr["Right Arm"]
- clone.Color = Color3.new(1,1,1)
- clone.SecondaryColor = clone.Color
- wait(.5)
- clone:Destroy()
- local sphere = shield:Clone()
- sphere.Parent = workspace
- sphere.Touched:connect(function(p)
- local debounce = false
- local h = p.Parent:FindFirstChild("Humanoid")
- if h and h.Parent.Name ~= plr.Name and debounce == false then
- debounce = true
- local dis = shield:Clone()
- local telep = tele:Clone()
- telep.Parent = workspace
- dis.Parent = workspace
- dis.BrickColor = BrickColor.new(1,1,1)
- for i = 1,25 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Size = dis.Size + Vector3.new(.35,.35,.35)
- dis.CFrame = h.Parent.Torso.CFrame
- telep.Size = telep.Size + Vector3.new(0,5,0)
- telep.CFrame = h.Parent.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- dis.Transparency = i
- telep.Transparency = i
- dis.CFrame = h.Parent.Torso.CFrame
- telep.CFrame = h.Parent.Torso.CFrame
- end
- dis:Destroy()
- telep:Destroy()
- h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50)))
- wait(5)
- debounce = false
- end
- end)
- for i = .2,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- sphere.Size = Vector3.new(i,i,i)
- sphere.CFrame = chr.Torso.CFrame
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- sphere.Transparency = i
- end
- sphere:Destroy()
- elseif key == 'g' and mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local sword = tele:Clone()
- sword.FormFactor = "Custom"
- sword.BrickColor = BrickColor.new(0,0,0)
- sword.Parent = workspace
- sword.Size = Vector3.new(.2,.2,.2)
- local swordB = sword:Clone()
- swordB.Parent = workspace
- for i = 1,5,.2 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Size = Vector3.new(.2,i,.2)
- sword.CFrame = chr["Right Arm"].CFrame
- swordB.Size = Vector3.new(.2,i,.2)
- swordB.CFrame = chr["Left Arm"].CFrame
- end
- for i = 1,30 do
- game:GetService('RunService').RenderStepped:wait()
- swordB.CFrame = chr["Left Arm"].CFrame
- sword.CFrame = chr["Right Arm"].CFrame
- end
- local swordC = sword:Clone()
- swordC.Parent = workspace
- sword.CFrame = target.CFrame + Vector3.new(0,10,0)
- for i = 3,7,.5 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Size = Vector3.new(.2,i,.2)
- sword.CFrame = target.CFrame + Vector3.new(0,10,0)
- swordB.CFrame = chr["Left Arm"].CFrame
- swordC.CFrame = chr["Right Arm"].CFrame
- end
- for i = 10,0,-.2 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Rotation = Vector3.new(0,0,0)
- sword.CFrame = target.CFrame + Vector3.new(0,i,0)
- sword.Rotation = Vector3.new(0,0,0)
- swordB.CFrame = chr["Left Arm"].CFrame
- swordC.CFrame = chr["Right Arm"].CFrame
- end
- if target.Parent.ClassName == "Hat" then
- target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15
- else
- target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35
- end
- for i = .5,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Transparency = i
- swordB.Transparency = i
- swordC.Transparency = i
- end
- sword:Destroy()
- swordB:Destroy()
- swordC:Destroy()
- elseif key == 'h' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then
- local target = mouse.Target
- local children = target.Parent:GetChildren()
- for i,v in pairs(children) do
- v.BrickColor = BrickColor.new(1,0,0)
- local clone = fire:Clone()
- clone.Parent = v
- clone.Color = Color3.new(1,0,0)
- wait(.25)
- v:Destroy()
- end
- elseif key == 'j' and mouse.Target.ClassName == "Part" and mouse.Target.Name ~= "Base" then
- local t = mouse.Target.Transparency
- for i = t,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- mouse.Target.Transparency = i
- end
- if mouse.Target.Name ~= "Base" then
- mouse.Target:Destroy()
- end
- elseif key == 'q' then
- local part = Instance.new("Part",workspace)
- part.CFrame = CFrame.new(100,100,100)
- local bv = Instance.new("BodyVelocity",part)
- Instance.new("CFrameValue",part)
- local rotate = Instance.new("BodyAngularVelocity",part)
- rotate.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
- local cvalue = part:WaitForChild("Value")
- part.Touched:connect(function(p)
- if p.Name == "Part" or p.Name == "Head" then
- for i = 0,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- p.Transparency = i
- end
- p:Destroy()
- part:Destroy()
- elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
- cvalue.Value = part.CFrame
- part.Anchored = true
- for i = 10,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- part.Size = Vector3.new(i,i,i)
- part.CFrame = cvalue.Value
- end
- for i = 0,1.,.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- end
- part:Destroy()
- end
- end)
- part.Parent = chr
- part.BrickColor = BrickColor.new(1,1,1)
- part.Material = "Neon"
- part.Anchored = false
- part.CanCollide = false
- part.Name = "bomb"
- part.FormFactor = "Custom"
- part.Size = Vector3.new(.2,.2,.2)
- part.BottomSurface = "Smooth"
- part.TopSurface = "Smooth"
- local sbox = Instance.new("SelectionBox",part)
- sbox.Adornee = part
- sbox.Color3 = Color3.new(0,0,0)
- sbox.LineThickness = 0.005
- sbox.Transparency = .75
- sbox.SurfaceColor3 = Color3.new(0,0,0)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- for i = 1,9 do
- wait()
- local clone = part:Clone()
- Instance.new("CFrameValue",clone)
- local rotateB = Instance.new("BodyAngularVelocity",part)
- rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
- clone.CFrame = CFrame.new(100,100,100)
- local cvalueB = clone:WaitForChild("Value")
- wait()
- clone.Parent = chr
- clone.Name = "bomb"
- clone.Touched:connect(function(p)
- if p.Name == "Part" or p.Name == "Head" then
- for i = 0,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Transparency = i
- p.Transparency = i
- end
- p:Destroy()
- clone:Destroy()
- elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
- cvalueB.Value = clone.CFrame
- clone.Anchored = true
- for i = 10,25,.5 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Size = Vector3.new(i,i,i)
- clone.CFrame = cvalueB.Value
- end
- for i = 0,1.,.05 do
- game:GetService('RunService').RenderStepped:wait()
- clone.Transparency = i
- end
- clone:Destroy()
- end
- end)
- end
- local children = chr:GetChildren()
- for i,v in pairs(children) do
- if v.Name == "bomb" then
- for i = .2,10,.5 do
- game:GetService('RunService').RenderStepped:wait()
- v.Size = Vector3.new(i,i,i)
- v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0)
- end
- local bvB = v:WaitForChild("BodyVelocity")
- bvB.Velocity = mouse.Hit.lookVector*200
- end
- end
- elseif key == 'e' then
- local kill = Instance.new("Part")
- local bv = Instance.new("BodyVelocity",kill)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local rotate = Instance.new("BodyAngularVelocity",kill)
- rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20))
- kill.CFrame = CFrame.new(100,100,100)
- kill.Touched:connect(function(p)
- if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then
- p.Parent.Humanoid.Health = 0
- p:Destroy()
- for i = 1,10 do
- game:GetService('RunService').RenderStepped:wait()
- kill.Size = kill.Size - Vector3.new(.2,.2,.2)
- kill.Transparency = kill.Transparency - .1
- end
- end
- end)
- kill.BrickColor = BrickColor.new(0,0,0)
- kill.Material = "Neon"
- kill.Anchored = false
- kill.CanCollide = false
- kill.FormFactor = "Custom"
- kill.Size = Vector3.new(1,1,1)
- kill.TopSurface = "Smooth"
- kill.BottomSurface = "Smooth"
- wait()
- local sbox = Instance.new("SelectionBox",kill)
- sbox.Adornee = kill
- sbox.Color3 = Color3.new(1,1,1)
- sbox.LineThickness = .005
- sbox.Transparency = .5
- kill.Parent = workspace
- kill.CFrame = chr.Head.CFrame
- wait()
- kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100
- kill.ChildAdded:connect(function(c)
- for i = 0,1,.2 do
- game:GetService('RunService').RenderStepped:wait()
- c.Transparency = i
- c.SelectionBox.Transparency = i
- end
- c:Destroy()
- end)
- while kill.Transparency == 0 do
- wait(.09)
- local clone = kill:Clone()
- clone.Anchored = true
- clone.Parent = kill
- clone.CFrame = kill.CFrame
- end
- wait(10)
- kill.Transparency = .1
- kill:Destroy()
- elseif key == 'r' and mouse.Target then
- local outclone = outline:Clone()
- outclone.CFrame = chr.Head.CFrame + Vector3.new(0,2,0)
- outclone.Size = Vector3.new(.5,.5,.5)
- outclone.BrickColor = BrickColor.new(1,1,1)
- outclone.Transparency = .5
- outclone.Name = "outclone"
- local bv = Instance.new("BodyVelocity",outclone)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity = mouse.Hit.lookVector*200
- local ba = Instance.new("BodyAngularVelocity",outclone)
- ba.AngularVelocity = Vector3.new(math.random(10,25),math.random(10,25),math.random(10,25))
- outclone.Touched:connect(function(p)
- if p.Name == "Base" then
- outclone.BodyAngularVelocity:Destroy()
- outclone.Anchored = true
- outclone.Rotation = chr.Torso.Rotation
- for i = .5,20,.5 do
- game:GetService('RunService').RenderStepped:wait()
- outclone.Size = Vector3.new(i,i,.5)
- end
- else
- p.Anchored = true
- for i = p.Transparency,1,.1 do
- game:GetService('RunService').RenderStepped:wait()
- p.Transparency = i
- end
- p:Destroy()
- end
- end)
- outclone.Parent = workspace
- wait(5)
- for i = 1,10 do
- game:GetService('RunService').RenderStepped:wait()
- outclone.Transparency = outclone.Transparency + .05
- outclone.SelectionBox.Transparency = outclone.Transparency
- outclone.Size = outclone.Size + Vector3.new(.5,.5,0)
- end
- outclone:Destroy()
- elseif key == 't' and mouse.Target and mouse.Target.Name ~= "Base" then
- local counter = Instance.new("NumberValue")
- local t = outline:Clone()
- t.BrickColor = BrickColor.new(1,1,1)
- t.SelectionBox.Transparency = .25
- t.SelectionBox.Color3 = Color3.new(0,0,0)
- local bv = Instance.new("BodyVelocity",t)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local bav = Instance.new("BodyAngularVelocity",t)
- bav.AngularVelocity = Vector3.new(0,0,10)
- t.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
- t.Anchored = true
- t.Parent = chr
- for i = 1,5,.5 do
- game:GetService('RunService').RenderStepped:wait()
- t.Size = Vector3.new(0,0,i)
- t.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
- end
- local bounce = outline:Clone()
- bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
- chr.Humanoid.WalkSpeed = 0
- bounce.Parent = workspace
- for i = 1,30 do
- game:GetService('RunService').RenderStepped:wait()
- bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
- bounce.Size = bounce.Size + Vector3.new(.1,.1,.1)
- bounce.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
- end
- for i = 1,10 do
- game:GetService('RunService').RenderStepped:wait()
- counter.Value = counter.Value + .1
- bounce.Transparency = counter.Value
- bounce.SelectionBox.Transparency = bounce.Transparency
- bounce.Size = bounce.Size + Vector3.new(.2,.2,.2)
- bounce.CFrame = chr.Torso.CFrame - Vector3.new(0,2,0)
- end
- local touched = false
- local debounce = false
- t.Touched:connect(function(p)
- local h = p.Parent:FindFirstChild("Humanoid")
- if h and h.Parent ~= chr and debounce == false then
- debounce = true
- touched = true
- t.Weld:Destroy()
- for i = 1,60 do
- game:GetService('RunService').RenderStepped:wait()
- t.CFrame = p.CFrame
- end
- bv:Destroy()
- h.Health = h.Health - h.MaxHealth/2
- t:Destroy()
- chr.Animate.Disabled = false
- chr.Humanoid.WalkSpeed = 16
- chr.HumanoidRootPart.BodyGyro.CFrame = CFrame.new(0,0,0)
- chr.HumanoidRootPart.BodyGyro:Destroy()
- end
- end)
- bv.Parent = chr.HumanoidRootPart
- local bav2 = Instance.new("BodyGyro",chr.HumanoidRootPart)
- t.Anchored = false
- local w = Instance.new("Weld",t)
- w.Part0 = t
- w.Part1 = chr["Right Arm"]
- w.C0 = CFrame.new(0,1,0)*CFrame.new()
- chr.Animate.Disabled = true
- while touched == false do
- wait()
- bv.Velocity = mouse.Hit.lookVector*100
- bav2.CFrame = CFrame.new(chr.Torso.Position,mouse.Hit.p) * CFrame.Angles(0,math.rad(-90),0)
- end
- elseif key == 'y' then
- for i = 1,50 do
- wait()
- local bomb = outline:Clone()
- bomb.BrickColor = BrickColor.new(0,0,0)
- bomb.SelectionBox.Color3 = Color3.new(1,1,1)
- local bv = Instance.new("BodyVelocity",bomb)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity = Vector3.new(0,-100,0)
- local bav = Instance.new("BodyAngularVelocity",bomb)
- bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bav.AngularVelocity = Vector3.new(math.random(-5,15),math.random(-5,15),math.random(-5,15))
- bomb.CFrame = CFrame.new(math.random(-250,250),100,math.random(-250,250))
- bomb.Parent = workspace
- bomb.Touched:connect(function(p)
- local h = p.Parent:FindFirstChild("Humanoid")
- if p.Name == "Base" then
- local cframe = bomb.CFrame
- bomb.Anchored = true
- for i = 1,35,.5 do
- bomb.CFrame = cframe * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
- game:GetService('RunService').RenderStepped:wait()
- bomb.Size = Vector3.new(i,i,i)
- if i > 33 then
- bomb.Transparency = bomb.Transparency + .25
- bomb.SelectionBox.Transparency = bomb.Transparency
- end
- end
- elseif h and h.Parent ~= chr then
- h.Health = h.Health - 2.5
- end
- end)
- end
- elseif key == 'u' then
- local mine = outline:Clone()
- mine.Anchored = true
- mine.Transparency = .9
- mine.SelectionBox.Transparency = .9
- mine.CFrame = chr.Torso.CFrame - Vector3.new(0,3,0)
- local cframe = mine.CFrame
- mine.Touched:connect(function(p)
- local h = p.Parent:FindFirstChild("Humanoid")
- if h and h.Parent ~= chr then
- h.WalkSpeed = 0
- for i = .9,1,.025 do
- game:GetService('RunService').RenderStepped:wait()
- mine.Size = mine.Size + Vector3.new(.3,.3,.3)
- mine.CFrame = cframe * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
- mine.Transparency = i
- mine.SelectionBox.Transparency = i
- end
- mine:Destroy()
- local bv = Instance.new("BodyVelocity",p.Parent.HumanoidRootPart)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity = Vector3.new(0,200,0)
- local bav = Instance.new("BodyAngularVelocity",p.Parent.HumanoidRootPart)
- bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bav.AngularVelocity = Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))
- for i = h.Health,0,-1 do
- wait()
- h.Health = i
- end
- end
- end)
- mine.Parent = workspace
- elseif key == 'i' then
- local sword = outline:Clone()
- sword.SelectionBox.Color3 = Color3.new(1,1,1)
- sword.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
- sword.Anchored = true
- sword.Parent = chr
- for i = 1,5,.5 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Size = Vector3.new(0,0,i)
- sword.CFrame = chr["Right Arm"].CFrame - Vector3.new(0,1,0)
- end
- local weld = Instance.new("Weld",sword)
- weld.Part0 = sword
- weld.Part1 = chr["Right Arm"]
- weld.C0 = CFrame.new(0,1,0)
- sword.Anchored = false
- local dec = outline:Clone()
- dec.Size = Vector3.new(1,1,1)
- dec.Anchored = true
- dec.Parent = workspace
- for i = 1,5,.25 do
- game:GetService('RunService').RenderStepped:wait()
- dec.Size = Vector3.new(i,i,i)
- dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
- if i > 4 then
- dec.Transparency = dec.Transparency + .25
- dec.SelectionBox.Transparency = dec.Transparency
- end
- end
- dec.CFrame = CFrame.new(-234,-234,-234)
- chr:MoveTo(mouse.Hit.p+Vector3.new(0,5,0))
- local debounce = false
- sword.Touched:connect(function(p)
- local h = p.Parent:FindFirstChild("Humanoid")
- if h and h.Parent ~= chr and debounce == false then
- debounce = true
- h.Health = h.Health - 25
- dec.CanCollide = true
- dec.Transparency = 0
- dec.SelectionBox.Transparency = 0
- dec.CFrame = chr.Torso.CFrame + Vector3.new(math.random(),0,math.random())
- for i = 5,10,.50 do
- game:GetService('RunService').RenderStepped:wait()
- dec.Size = Vector3.new(i,i,i)
- h.Sit = true
- dec.CFrame = CFrame.new(p.Position+Vector3.new(math.random(),0,math.random())) * CFrame.Angles(math.random(0,180),math.pi,math.random(0,180))
- dec.Transparency = dec.Transparency + .1
- dec.SelectionBox.Transparency = dec.Transparency
- end
- dec:Destroy()
- h.Health = h.Health - 10
- for i = 5,1,-.5 do
- game:GetService('RunService').RenderStepped:wait()
- sword.Transparency = sword.Transparency + .1
- sword.Size = Vector3.new(.2,.2,i)
- end
- end
- end)
- elseif key == 'p' then
- for i = 1,15 do
- local dec = outline:Clone()
- dec.Parent = workspace
- dec.Anchored = false
- local bv = Instance.new("BodyVelocity",dec)
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local bav = Instance.new("BodyAngularVelocity",dec)
- bav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
- bav.AngularVelocity = Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- for i = 1,5,.5 do
- game:GetService('RunService').RenderStepped:wait()
- dec.Size = Vector3.new(i,i,i)
- bv.Velocity = Vector3.new(0,i,0)
- dec.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(0,180),0,math.random(0,180))
- dec.Transparency = dec.Transparency + .1
- dec.SelectionBox.Transparency = dec.Transparency
- end
- dec:Destroy()
- chr:SetPrimaryPartCFrame(chr.Head.CFrame+Vector3.new(math.random(-20,20),0,math.random(-20,20)))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement