Advertisement
ttyyuu12345

Beer

Dec 12th, 2016
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --ttyyuu12345 is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors: TouchTransmitter
  11. local Create = function(itemClass,tabl)
  12. local item = Instance.new(itemClass)
  13. for i,v in pairs(tabl) do
  14. local a,b = ypcall(function() return item[i] end)
  15. if a then
  16. item[i] = tabl[i]
  17. end
  18. end
  19. return item
  20. end
  21.  
  22. local runDummyScript = function(f,scri)
  23. local oldenv = getfenv(f)
  24. local newenv = setmetatable({}, {
  25. __index = function(_, k)
  26. if k:lower() == 'script' then
  27. return scri
  28. else
  29. return oldenv[k]
  30. end
  31. end
  32. })
  33. setfenv(f, newenv)
  34. ypcall(function() f() end)
  35. end
  36. cors = {}
  37. mas = Instance.new("Model",game:GetService("Lighting"))
  38. mas.Name = "CompiledModel"
  39. o1 = Create("Tool",{
  40. ["Name"] = "Beer",
  41. ["Parent"] = mas,
  42. ["GripForward"] = Vector3.new(-0, -0, 1),
  43. ["GripRight"] = Vector3.new(0, -1, 0),
  44. ["GripUp"] = Vector3.new(1, 0, 0),
  45. })
  46. o2 = Create("Part",{
  47. ["Name"] = "Handle",
  48. ["Parent"] = o1,
  49. ["Material"] = Enum.Material.Metal,
  50. ["BrickColor"] = BrickColor.new("Mid gray"),
  51. ["Position"] = Vector3.new(-6, 1.00000596, -11),
  52. ["Rotation"] = Vector3.new(-0, 0, 90),
  53. ["CFrame"] = CFrame.new(-6, 1.00000596, -11, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1),
  54. ["Shape"] = Enum.PartType.Cylinder,
  55. ["Size"] = Vector3.new(1.20000005, 0.800000012, 0.800000012),
  56. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  57. ["TopSurface"] = Enum.SurfaceType.Smooth,
  58. ["Color"] = Color3.new(0.803922, 0.803922, 0.803922),
  59. })
  60. o4 = Create("LocalScript",{
  61. ["Parent"] = o1,
  62. })
  63. table.insert(cors,coroutine.create(function()
  64. wait()
  65. runDummyScript(function()
  66. function PlayAnimation()
  67. local animation = Instance.new("Animation")
  68. animation.AnimationId = "http://www.roblox.com/Asset?ID=572425745"
  69. local char = game:GetService("Players").LocalPlayer.Character
  70. if (char~=nil) and (char.Parent~=nil) then
  71. local hum = char:findFirstChild("Humanoid")
  72. if hum~=nil then
  73. local animTrack = hum:LoadAnimation(animation)
  74. animTrack:Play()
  75. end
  76. end
  77. end
  78. function CreateGui()
  79. local sgui = Instance.new("ScreenGui",game:GetService("Players").LocalPlayer.PlayerGui)
  80. local frame = Instance.new("Frame",sgui)
  81. frame.Size = UDim2.new(1,0,1.1,0)
  82. frame.Position = UDim2.new(0,0,-0.1,0)
  83. frame.BackgroundColor3 = Color3.new(192/255,192/255,192/255)
  84. frame.BackgroundTransparency = 1
  85. return sgui,frame
  86. end
  87. local canActive = true
  88. local gui,fram = CreateGui()
  89. coroutine.resume(coroutine.create(function()
  90. while wait(1) do
  91. if fram.BackgroundTransparency~=1 then
  92. fram.BackgroundTransparency = fram.BackgroundTransparency + 0.01
  93. end
  94. end
  95. end))
  96. script.Parent.Activated:connect(function()
  97. if canActive then
  98. canActive = false
  99. PlayAnimation()
  100. wait(1.5)
  101. fram.BackgroundTransparency = fram.BackgroundTransparency - 0.075
  102. canActive = true
  103. end
  104. end)
  105. end,o4)
  106. end))
  107. mas.Parent = workspace
  108. mas:MakeJoints()
  109. local mas1 = mas:GetChildren()
  110. for i=1,#mas1 do
  111. mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  112. ypcall(function() mas1[i]:MakeJoints() end)
  113. end
  114. mas:Destroy()
  115. for i=1,#cors do
  116. coroutine.resume(cors[i])
  117. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement