Advertisement
Plug_RBLX

keko

Jan 3rd, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. plr = game.Players.LocalPlayer.Character
  2. keko = Instance.new("Sound", plr.Torso)
  3. keko.SoundId = "http://roblox.com/asset?id=270181115"
  4. keko:Play()
  5. keko.Looped = true
  6. function sandbox(var,func)
  7. local env = getfenv(func)
  8. local newenv = setmetatable({},{
  9. __index = function(self,k)
  10. if k=="script" then
  11. return var
  12. else
  13. return env[k]
  14. end
  15. end,
  16. })
  17. setfenv(func,newenv)
  18. return func
  19. end
  20. cors = {}
  21. mas = Instance.new("Model",game:GetService("Lighting"))
  22. Tool0 = Instance.new("Tool")
  23. Part1 = Instance.new("Part")
  24. SpecialMesh2 = Instance.new("SpecialMesh")
  25. Decal3 = Instance.new("Decal")
  26. Sound4 = Instance.new("Sound")
  27. Sound5 = Instance.new("Sound")
  28. Script6 = Instance.new("Script")
  29. Tool0.Name = "Temmeih fl00ks :oooooooooooooooo"
  30. Tool0.Parent = mas
  31. Part1.Name = "Handle"
  32. Part1.Parent = Tool0
  33. Part1.Rotation = Vector3.new(-180, 0, -180)
  34. Part1.Locked = true
  35. Part1.Size = Vector3.new(1, 1.5, 0.300000012)
  36. Part1.CFrame = CFrame.new(-105.589996, 0.949999988, 122.939987, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  37. Part1.BottomSurface = Enum.SurfaceType.Smooth
  38. Part1.TopSurface = Enum.SurfaceType.Smooth
  39. Part1.Position = Vector3.new(-105.589996, 0.949999988, 122.939987)
  40. Part1.Orientation = Vector3.new(0, 180, 0)
  41. SpecialMesh2.Parent = Part1
  42. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=435712032"
  43. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=435711871"
  44. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  45. Decal3.Parent = Part1
  46. Decal3.Texture = "http://www.roblox.com/asset/?id=327473548"
  47. Decal3.Face = Enum.NormalId.Back
  48. Sound4.Name = "DrinkSound"
  49. Sound4.Parent = Part1
  50. Sound4.Pitch = 2
  51. Sound4.SoundId = "rbxassetid://990183576"
  52. Sound4.Volume = 7
  53. Sound5.Name = "OpenSound"
  54. Sound5.Parent = Part1
  55. Sound5.SoundId = "rbxassetid://22786502"
  56. Sound5.Volume = 10
  57. Script6.Name = "BloxyColaScript"
  58. Script6.Parent = Tool0
  59. table.insert(cors,sandbox(Script6,function()
  60. local Tool = script.Parent;
  61.  
  62. enabled = true
  63.  
  64.  
  65. function onActivated()
  66. if not enabled then
  67. return
  68. end
  69.  
  70. enabled = false
  71. Player.Torso["Right Shoulder"].C0 = CFrame.new(0.9,0.5,-0.05) * CFrame.Angles(0.2,2,0)
  72. wait(0.05)
  73. Player.Torso["Right Shoulder"].C0 = CFrame.new(0.8,0.5,-0.1) * CFrame.Angles(0.4,2.4,0)
  74.  
  75. Tool.Handle.DrinkSound:Play()
  76.  
  77. for i = 1,30 do
  78. wait(0.1)
  79. Player.Humanoid.Health = Player.Humanoid.Health + 1
  80. end
  81. Player.Torso["Right Shoulder"].C0 = CFrame.new(0.9,0.5,-0.05) * CFrame.Angles(0.2,2,0)
  82. wait(0.05)
  83. Player.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,-0) * CFrame.Angles(0,1.57,0)
  84. wait(0.5)
  85. enabled = true
  86. end
  87.  
  88. function onEquipped()
  89. Player = script.Parent.Parent
  90. Tool.Handle.OpenSound:play()
  91. end
  92.  
  93. function onEnequipped()
  94. Player.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,-0) * CFrame.Angles(0,1.57,0)
  95. end
  96.  
  97. script.Parent.Activated:connect(onActivated)
  98. script.Parent.Equipped:connect(onEquipped)
  99. script.Parent.Unequipped:connect(onEnequipped)
  100.  
  101. end))
  102. for i,v in pairs(mas:GetChildren()) do
  103. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  104. pcall(function() v:MakeJoints() end)
  105. end
  106. mas:Destroy()
  107. for i,v in pairs(cors) do
  108. spawn(function()
  109. pcall(v)
  110. end)
  111. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement