Advertisement
dahpiglz

Untitled

Aug 13th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. print(1)
  2. player = game.Players.LocalPlayer
  3. character = player.Character
  4. character.Humanoid.WalkSpeed = 24
  5. character.Humanoid.MaxHealth = math.huge
  6. character.Humanoid.Health = math.huge
  7.  
  8. game:GetService("UserInputService").InputBegan:connect(function(input)
  9. if input.KeyCode == Enum.KeyCode.LeftShift then
  10. character.Humanoid.WalkSpeed = (100)
  11. end
  12. end)
  13.  
  14. game:GetService("UserInputService").InputEnded:connect(function(input)
  15. if input.KeyCode == Enum.KeyCode.LeftShift then
  16. character.Humanoid.WalkSpeed = (24)
  17. end
  18. end)
  19.  
  20. game:GetService("UserInputService").InputBegan:connect(function(input)
  21. if input.KeyCode == Enum.KeyCode.Zero then
  22. boom = Instance.new("Explosion")
  23.     boom.Parent = character
  24.     boom.BlastRadius = 1000
  25.     boom.Position = (character.Torso.Position)
  26. end
  27. end)
  28.  
  29. game:GetService("UserInputService").InputEnded:connect(function(input)
  30. if input.KeyCode == Enum.KeyCode.L then
  31. boxp1 = Instance.new("Part")
  32. boxp1.CanCollide = false
  33. boxp1.Parent = game.Workspace
  34. boxp1.Anchored = true
  35. boxp1.Size = Vector3.new(30,1,30)
  36. boxp1.Position = character.Torso.Position + Vector3.new(0,15,0)
  37. boxp1.TopSurface = ("Smooth")
  38. boxp1.BottomSurface = ("Smooth")
  39. boxp1.Transparency = (0.5)
  40. boxp1.CanCollide = true
  41. boxp2 = Instance.new("Part")
  42. boxp2.CanCollide = false
  43. boxp2.Parent = game.Workspace
  44. boxp2.Anchored = true
  45. boxp2.Size = Vector3.new(1,20,30)
  46. boxp2.Position = character.Torso.Position + Vector3.new(15,5,0)
  47. boxp2.TopSurface = ("Smooth")
  48. boxp2.BottomSurface = ("Smooth")
  49. boxp2.Transparency = (0.5)
  50. boxp2.CanCollide = true
  51. boxp3 = Instance.new("Part")
  52. boxp3.CanCollide = false
  53. boxp3.Parent = game.Workspace
  54. boxp3.Anchored = true
  55. boxp3.Size = Vector3.new(1,20,30)
  56. boxp3.Position = character.Torso.Position + Vector3.new(-15,5,0)
  57. boxp3.TopSurface = ("Smooth")
  58. boxp3.BottomSurface = ("Smooth")
  59. boxp3.Transparency = (0.5)
  60. boxp3.CanCollide = true
  61. boxp4 = Instance.new("Part")
  62. boxp4.CanCollide = false
  63. boxp4.Parent = game.Workspace
  64. boxp4.Anchored = true
  65. boxp4.Size = Vector3.new(30,20,1)
  66. boxp4.Position = character.Torso.Position + Vector3.new(0,5,15)
  67. boxp4.TopSurface = ("Smooth")
  68. boxp4.BottomSurface = ("Smooth")
  69. boxp4.Transparency = (0.5)
  70. boxp4.CanCollide = true
  71. boxp5 = Instance.new("Part")
  72. boxp5.CanCollide = false
  73. boxp5.Parent = game.Workspace
  74. boxp5.Anchored = true
  75. boxp5.Size = Vector3.new(30,20,1)
  76. boxp5.Position = character.Torso.Position + Vector3.new(0,5,-15)
  77. boxp5.TopSurface = ("Smooth")
  78. boxp5.BottomSurface = ("Smooth")
  79. boxp5.Transparency = (0.5)
  80. boxp5.CanCollide = true
  81. end
  82. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement