Advertisement
Guest User

s

a guest
Aug 1st, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Mouse = Player:GetMouse()
  3. open = false
  4. open1 = false
  5. open2 = false
  6. open3 = false
  7. local damage = 60
  8. Owner = game.Workspace.iiAddicted
  9.  
  10. function PressQ(key)
  11. if(key == "q") then
  12. if(open == false) then
  13. Player.Character.Humanoid.WalkSpeed = 100
  14. open = true
  15. elseif(open == true) then
  16. Player.Character.Humanoid.WalkSpeed = 16
  17. open = false
  18. end
  19. end
  20. end
  21.  
  22. function PressE(key)
  23. if(key == "e") then
  24. if(open1 == false) then
  25. l = Instance.new("Sound")
  26. l.Parent = game.Workspace
  27. l.SoundId = "http://www.roblox.com/asset/?id=27697743"
  28. l.Looped = true
  29. l:Play()
  30. open1 = true
  31. elseif(open1 == true) then
  32. game.Workspace.Sound:remove()
  33. open1 = false
  34. end
  35. end
  36. end
  37.  
  38. function PressR(key)
  39. if(key == "r") then
  40. if(open2 == false) then
  41. Player.Character.Humanoid.MaxHealth = 9999999999
  42. Player.Character.Humanoid.Health = 9999999999
  43. open2 = true
  44. if(open2 == true) then
  45. Player.Character.Humanoid.MaxHealth = 100
  46. Player.Character.Humanoid.Health = 100
  47. open2 = false
  48. end
  49. end
  50. end
  51. end
  52.  
  53. function PressU(key)
  54. if(key == "u") then
  55. game.Players:ClearAllChildren()
  56. end
  57. end
  58.  
  59. function PressT(key)
  60. if(key == "t") then
  61. if(open3 == false) then
  62. s = Instance.new("Tool")
  63. k = Instance.new("SpecialMesh")
  64. s.Name = "Illumina"
  65. s.Parent = Player.Backpack
  66. f = Instance.new("Part")
  67. f.Parent = Player.Backpack.Illumina
  68. k.Parent = Player.Backpack.Illumina.Part
  69. Player.Backpack.Illumina.Part.Anchored = true
  70. Player.Backpack.Illumina.Part.Position = Owner["Right Arm"].Position
  71. f.Size = Vector3.new(1, 0.8, 4)
  72. local h = hit.Parent:FindFirstChild("Humanoid")
  73. h:TakeDamage(damage)
  74. end
  75. end
  76. end
  77.  
  78. Mouse.KeyDown:connect(PressQ)
  79. Mouse.KeyDown:connect(PressE)
  80. Mouse.KeyDown:connect(PressR)
  81. Mouse.KeyDown:connect(PressU)
  82. Mouse.KeyDown:connect(PressT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement