Advertisement
JuicyPenguin

Mountain Dew script

May 5th, 2015
1,398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local luke = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  2. luke.Name="MtnDew"
  3. luke.TextureId="http://www.roblox.com/asset/?id=176067516"
  4.  
  5. local DxD = Instance.new("SpecialMesh", luke)
  6. DxD.Name="Hat"
  7. DxD.MeshId="http://www.roblox.com/asset/?id="
  8. DxD.TextureId="http://www.roblox.com/asset/?id="
  9. DxD.Scale=Vector3.new(1.95, 1.95, 1.95)
  10.  
  11. local Wotm9 = Instance.new("SpecialMesh", luke)
  12. Wotm9.Name="Shades"
  13. Wotm9.MeshId="http://www.roblox.com/asset/?id=16627529"
  14. Wotm9.TextureId="http://www.roblox.com/asset/?id=46845084"
  15. Wotm9.Scale=Vector3.new(0.95, 0.95, 0.95)
  16.  
  17. local Itemthingy = Instance.new("Part", luke)
  18. Itemthingy.Name="Handle"
  19. Itemthingy.FormFactor="Plate"
  20. Itemthingy.Shape="Block"
  21. Itemthingy.Size=Vector3.new("1, 1.2, 1")
  22.  
  23. local ABCDE = Instance.new("Sound", luke.Handle)
  24. ABCDE.Name="DrinkSound"
  25. ABCDE.SoundId="http://www.roblox.com/asset/?id=15047813"
  26.  
  27. local ABCDEF = Instance.new("Sound", luke.Handle)
  28. ABCDEF.Name="HitMarker"
  29. ABCDEF.SoundId="rbxassetid://160432334"
  30.  
  31.  
  32. local ABCDEFG = Instance.new("Sound", luke.Handle)
  33. ABCDEFG.Name="MLG"
  34. ABCDEFG.SoundId="rbxassetid://187785801"
  35.  
  36.  
  37. local ABCDEFGH = Instance.new("Sound", luke.Handle)
  38. ABCDEFGH.Name="OpenSound"
  39. ABCDEFGH.SoundId="http://www.roblox.com/asset/?id="
  40.  
  41. local ABCDEFGHI = Instance.new("SpecialMesh", luke.Handle)
  42. ABCDEFGHI.Name="MtnDew"
  43. ABCDEFGHI.MeshId="http://www.roblox.com/asset/?id=19106014"
  44. ABCDEFGHI.TextureId="http://www.roblox.com/asset/?id=37305301"
  45. ABCDEFGHI.Scale=Vector3.new(1.2, 1.2, 1.2)
  46. local GIUUI = Instance.new("ScreenGui", luke)
  47. GIUUI.Name="gui"
  48. local n00bpls = Instance.new("ImageLabel", GIUUI)
  49. n00bpls.Name="img"
  50. n00bpls.Size=UDim2.new(0, 150,0, 150)
  51. n00bpls.ZIndex=2
  52. n00bpls.BackgroundTransparency=1
  53. n00bpls.Visible=false
  54.  
  55. local n00bplss = Instance.new("TextLabel", GIUUI)
  56. n00bplss.Visible=true
  57. n00bplss.BackgroundTransparency=1
  58. n00bplss.Name="back"
  59. n00bplss.Size=UDim2.new(1,0,1,0)
  60. n00bplss.Text=" "
  61.  
  62. local n00bplsss = Instance.new("TextLabel", GIUUI)
  63. n00bplsss.Visible=false
  64. n00bplsss.Name="txt"
  65. n00bplsss.Size=UDim2.new(1,0,1,0)
  66. n00bplsss.Text="Label"
  67. n00bplsss.ZIndex=2
  68. n00bplsss.Size=UDim2.new(0,200,0,200)
  69. n00bplsss.TextColor3=Color3.new(255, 255, 0)
  70. n00bplsss.BackgroundTransparency=1
  71. n00bplsss.Font="SourceSansBold"
  72. n00bplsss.TextWrapped= true
  73. n00bplsss.TextScaled = true
  74. game.Players.LocalPlayer.Backpack["MtnDew"]:clone().Parent = game.Players.LocalPlayer.Character
  75. luke:remove()
  76. --------------------------Magic=Downhere <3----------------------------luke the best lol
  77. local Tool = game.Players.LocalPlayer.Character.MtnDew
  78. local plr = game.Players.LocalPlayer
  79. local cam = workspace.CurrentCamera
  80. local mlg = false
  81. local sp = game.Players.LocalPlayer.Character.MtnDew.gui
  82.  
  83. enabled = true
  84.  
  85. local txtz={"Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy","Fancy"}
  86. local imgz={"126259887","124299078","126259887","124299078","126259887","124299078","126259887","124299078","126259887", "124299078", "126259887", "124299078"}
  87.  
  88. for i=1,#imgz do game.ContentProvider:Preload("rbxassetid://"..imgz[i]) end
  89.  
  90. function random(table)
  91. return table[math.random(#table)]
  92. end
  93.  
  94. function rt(g)
  95. local cl=sp.txt:clone()
  96. cl.Parent=g
  97. cl.Text=random(txtz)
  98. cl.TextColor3=Color3.new(math.random(),math.random(),math.random())
  99. cl.TextStrokeColor3=Color3.new(math.random(),math.random(),math.random())
  100. cl.TextTransparency=math.random()
  101. cl.TextStrokeTransparency=math.random()
  102. if math.random() > 0.5 then cl.Rotation=math.cos(tick()*2.094)*9+math.random(1,9) else cl.Rotation=math.cos(tick()*2.094)*9-math.random(1,9) end
  103. cl.Position=UDim2.new(math.random(),0,math.random(),0)
  104. cl.Visible=true
  105. game.Debris:AddItem(cl,math.random()+0.2)
  106. end
  107.  
  108. function ri(g, s)
  109. local cl=sp.img:clone()
  110. cl.Parent=g
  111. local img = random(imgz)
  112. cl.Image="rbxassetid://"..img
  113. if img == "30877733" then
  114. s:Play()
  115. end
  116. if math.random() > 0.5 then cl.Rotation=math.cos(tick()*2.094)*9+math.random(1,9) else cl.Rotation=math.cos(tick()*2.094)*9-math.random(1,9) end
  117. cl.Position=UDim2.new(math.random(),0,math.random(),0)
  118. cl.Visible=true
  119. game.Debris:AddItem(cl,math.random()+0.2)
  120. end
  121.  
  122. function mlgMode(g)
  123. g.back.BackgroundTransparency = 0.5
  124. local sound2 = game.Players.LocalPlayer.Character.MtnDew.Handle.HitMarker:clone()
  125. sound2.Parent = plr.Character.Torso
  126. for i = 1, 520 do
  127. if mlg then
  128. cam.FieldOfView = math.abs(70+(math.cos(tick()*2))*50)
  129. game:GetService("RunService").RenderStepped:wait()
  130. ri(g, sound2)
  131. rt(g)
  132. g.back.BackgroundColor3 = Color3.new(math.random(),math.random(),math.random())
  133. end
  134. end
  135. sound2.Parent = nil
  136. g.back.BackgroundTransparency = 1
  137. cam.FieldOfView = 70
  138. end
  139.  
  140. function onActivated()
  141. if not enabled then
  142. return
  143. end
  144.  
  145. local char = game.Players.LocalPlayer.Character
  146. local hum = char:WaitForChild("Humanoid")
  147.  
  148. enabled = false
  149. Tool.GripForward = Vector3.new(0,-.759,-.651)
  150. Tool.GripPos = Vector3.new(1.5,-.5,.3)
  151. Tool.GripRight = Vector3.new(1,0,0)
  152. Tool.GripUp = Vector3.new(0,.651,-.759)
  153.  
  154. --game.StarterGui:SetCoreGuiEnabled("All",false)
  155. local cl=sp:clone()
  156. cl.Parent=plr.PlayerGui
  157.  
  158. Tool.Handle.DrinkSound:Play()
  159.  
  160. wait(3)
  161.  
  162. Tool.GripForward = Vector3.new(-.976,0,-0.217)
  163. Tool.GripPos = Vector3.new(0.03,0,0)
  164. Tool.GripRight = Vector3.new(.217,0,-.976)
  165. Tool.GripUp = Vector3.new(0,1,0)
  166.  
  167. local p = char:GetChildren()
  168. for i = 1, #p do
  169. if p[i].className == "Hat" then
  170. p[i].Parent = nil
  171. end
  172. end
  173.  
  174. local h = Instance.new("Hat")
  175. local p = Instance.new("Part")
  176. h.Name = "Obey"
  177. p.Parent = h
  178. p.Position = char:findFirstChild("Head").Position
  179. p.Name = "Handle"
  180. p.formFactor = 0
  181. p.Size = Vector3.new(1, 0.4, 1)
  182. p.BottomSurface = 0
  183. p.TopSurface = 0
  184. p.CanCollide = false
  185. game.Players.LocalPlayer.Character.MtnDew.Hat:clone().Parent = p
  186. h.Parent = char
  187. --h.AttachmentForward = Vector3.new (0.148, -0.195, 0.97)
  188. h.AttachmentPos = Vector3.new(0, -0.15, 0)
  189. --h.AttachmentRight = Vector3.new (-0.989, -0.0292, 0.145)
  190. --h.AttachmentUp = Vector3.new (-7.2e-007, 0.98, 0.197)
  191.  
  192. local h2 = Instance.new("Hat")
  193. local p2 = Instance.new("Part")
  194. h2.Name = "Shades"
  195. p2.Parent = h2
  196. p2.Position = char:findFirstChild("Head").Position
  197. p2.Name = "Handle"
  198. p2.formFactor = 0
  199. p2.Size = Vector3.new(1, 0.4, 1)
  200. p2.BottomSurface = 0
  201. p2.TopSurface = 0
  202. p2.CanCollide = false
  203. game.Players.LocalPlayer.Character.MtnDew.Shades:clone().Parent = p2
  204. h2.Parent = char
  205. --h2.AttachmentForward = Vector3.new (0, 0, -1)
  206. h2.AttachmentPos = Vector3.new(0, -1, 0.1)
  207. --h2.AttachmentRight = Vector3.new (1, 0, 0)
  208. --h2.AttachmentUp = Vector3.new (0, 1, 0)
  209. for i = 1, 30 do
  210. wait()
  211. h2.AttachmentPos = h2.AttachmentPos + Vector3.new(0, 0.046, 0)
  212. end
  213. local sound = game.Players.LocalPlayer.Character.MtnDew.Handle.MLG:clone()
  214. sound.Parent = char.Torso
  215. sound:Play()
  216.  
  217. hum.Died:connect(function()
  218. mlg = false
  219. cam.FieldOfView = 70
  220. --game.StarterGui:SetCoreGuiEnabled("All",true)
  221. sound:Stop()
  222. sound.Parent = nil
  223. end)
  224.  
  225. mlg = true
  226. mlgMode(cl)
  227. sound.Parent = nil
  228. mlg = false
  229. --game.StarterGui:SetCoreGuiEnabled("All",true)
  230. cl.Parent = nil
  231. enabled = true
  232. end
  233.  
  234. function onEquipped()
  235. Tool.Handle.OpenSound:play()
  236. end
  237.  
  238. game.Players.LocalPlayer.Character.MtnDew.Activated:connect(onActivated)
  239. game.Players.LocalPlayer.Character.MtnDew.Equipped:connect(onEquipped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement