RobloxScripTTPoster

(Roblox) Bloxy Cola Script

Dec 2nd, 2022
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. --[[ // -------------------------------- \\
  2. | -- Bloxy Cola Script -- |
  3. \\ -------------------------------- //
  4. --]]
  5.  
  6. local player = game:GetService("Players").LocalPlayer
  7. local bp = player:FindFirstChildOfClass("Backpack")
  8. --------------------------------------------------------------------|
  9. tl=Instance.new("Tool") --|
  10. tl.Name = 'BloxyCola' --|
  11. tl.Parent = bp --|
  12. --------------------------------------------------------------------|
  13. part=Instance.new("Part",tl) --|
  14. part.Name = 'Handle' --|
  15. --------------------------------------------------------------------|
  16. sound1=Instance.new("Sound",part) --|
  17. sound1.Name = 'DrinkSound' --|
  18. sound1.SoundId = 'http://www.roblox.com/asset/?id=10722059' --|
  19. --------------------------------------------------------------------|
  20. sound2=Instance.new("Sound",part) --|
  21. sound2.Name = 'OpenSound' --|
  22. sound2.SoundId = 'http://www.roblox.com/asset/?id=10721950' --|
  23. --------------------------------------------------------------------|
  24. mesh=Instance.new("SpecialMesh",part) --|
  25. mesh.MeshId = 'http://www.roblox.com/asset/?id=10470609' --|
  26. mesh.Scale = Vector3.new(1.2, 1.2, 1.2) --|
  27. mesh.TextureId = 'http://www.roblox.com/asset/?id=10470600' --|
  28. mesh.Name = 'mesh' -- :v --|
  29. --------------------------------------------------------------------|
  30.  
  31. print("Bloxy Cola Script - Loading...")
  32. wait(0.00000000000000000000000000000000000000000000000000000000000001)
  33. -- let's go
  34.  
  35.  
  36. local Tool = tl;
  37.  
  38. enabled = true
  39.  
  40.  
  41.  
  42.  
  43. function onActivated()
  44. if not enabled then
  45. return
  46. end
  47.  
  48. enabled = false
  49. Tool.GripForward = Vector3.new(0,-.759,-.651)
  50. Tool.GripPos = Vector3.new(1.5,-.5,.3)
  51. Tool.GripRight = Vector3.new(1,0,0)
  52. Tool.GripUp = Vector3.new(0,.651,-.759)
  53.  
  54.  
  55. Tool.Handle.DrinkSound:Play()
  56.  
  57. wait(3)
  58.  
  59. local h = Tool.Parent:FindFirstChild("Humanoid")
  60. if (h ~= nil) then
  61. if (h.MaxHealth > h.Health + 5) then
  62. h.Health = h.Health + 5
  63. else
  64. h.Health = h.MaxHealth
  65. end
  66. end
  67.  
  68. Tool.GripForward = Vector3.new(-.976,0,-0.217)
  69. Tool.GripPos = Vector3.new(0.03,0,0)
  70. Tool.GripRight = Vector3.new(.217,0,-.976)
  71. Tool.GripUp = Vector3.new(0,1,0)
  72.  
  73. enabled = true
  74.  
  75. end
  76.  
  77. function onEquipped()
  78. Tool.Handle.OpenSound:play()
  79. end
  80.  
  81. tl.Activated:Connect(onActivated)
  82. tl.Equipped:Connect(onEquipped)
  83. wait(0.0000000000000000000000000000000000000000000000000000001)
  84. warn('Bloxy Cola Script - Loaded!')
Add Comment
Please, Sign In to add comment