Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print(1)
- player = game.Players.LocalPlayer
- character = player.Character
- character.Humanoid.WalkSpeed = 24
- character.Humanoid.MaxHealth = math.huge
- character.Humanoid.Health = math.huge
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift then
- character.Humanoid.WalkSpeed = (100)
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift then
- character.Humanoid.WalkSpeed = (24)
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.Zero then
- boom = Instance.new("Explosion")
- boom.Parent = character
- boom.BlastRadius = 1000
- boom.Position = (character.Torso.Position)
- end
- end)
- game:GetService("UserInputService").InputEnded:connect(function(input)
- if input.KeyCode == Enum.KeyCode.L then
- boxp1 = Instance.new("Part")
- boxp1.CanCollide = false
- boxp1.Parent = game.Workspace
- boxp1.Anchored = true
- boxp1.Size = Vector3.new(30,1,30)
- boxp1.Position = character.Torso.Position + Vector3.new(0,15,0)
- boxp1.TopSurface = ("Smooth")
- boxp1.BottomSurface = ("Smooth")
- boxp1.Transparency = (0.5)
- boxp1.CanCollide = true
- boxp2 = Instance.new("Part")
- boxp2.CanCollide = false
- boxp2.Parent = game.Workspace
- boxp2.Anchored = true
- boxp2.Size = Vector3.new(1,20,30)
- boxp2.Position = character.Torso.Position + Vector3.new(15,5,0)
- boxp2.TopSurface = ("Smooth")
- boxp2.BottomSurface = ("Smooth")
- boxp2.Transparency = (0.5)
- boxp2.CanCollide = true
- boxp3 = Instance.new("Part")
- boxp3.CanCollide = false
- boxp3.Parent = game.Workspace
- boxp3.Anchored = true
- boxp3.Size = Vector3.new(1,20,30)
- boxp3.Position = character.Torso.Position + Vector3.new(-15,5,0)
- boxp3.TopSurface = ("Smooth")
- boxp3.BottomSurface = ("Smooth")
- boxp3.Transparency = (0.5)
- boxp3.CanCollide = true
- boxp4 = Instance.new("Part")
- boxp4.CanCollide = false
- boxp4.Parent = game.Workspace
- boxp4.Anchored = true
- boxp4.Size = Vector3.new(30,20,1)
- boxp4.Position = character.Torso.Position + Vector3.new(0,5,15)
- boxp4.TopSurface = ("Smooth")
- boxp4.BottomSurface = ("Smooth")
- boxp4.Transparency = (0.5)
- boxp4.CanCollide = true
- boxp5 = Instance.new("Part")
- boxp5.CanCollide = false
- boxp5.Parent = game.Workspace
- boxp5.Anchored = true
- boxp5.Size = Vector3.new(30,20,1)
- boxp5.Position = character.Torso.Position + Vector3.new(0,5,-15)
- boxp5.TopSurface = ("Smooth")
- boxp5.BottomSurface = ("Smooth")
- boxp5.Transparency = (0.5)
- boxp5.CanCollide = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement