Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- made by 1ndrew XXDDXDDXDXXDXDXXDDXDX VERY FUNNI MLG SCRIPT!11!!!1!!!1
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Sound2 = Instance.new("Sound")
- Sound3 = Instance.new("Sound")
- SpecialMesh4 = Instance.new("SpecialMesh")
- Sound5 = Instance.new("Sound")
- Sound6 = Instance.new("Sound")
- SpecialMesh7 = Instance.new("SpecialMesh")
- SpecialMesh8 = Instance.new("SpecialMesh")
- LocalScript9 = Instance.new("LocalScript")
- ScreenGui10 = Instance.new("ScreenGui")
- TextLabel11 = Instance.new("TextLabel")
- ImageLabel12 = Instance.new("ImageLabel")
- TextLabel13 = Instance.new("TextLabel")
- Tool0.Name = "MountainDew"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=11631668"
- Tool0.CanBeDropped = false
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.BrickColor = BrickColor.new("Mid gray")
- Part1.FormFactor = Enum.FormFactor.Plate
- Part1.Size = Vector3.new(1, 1.20000005, 1)
- Part1.CFrame = CFrame.new(-0.100000024, 2.40000367, 45.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1.Position = Vector3.new(-0.100000024, 2.40000367, 45.5)
- Part1.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Sound2.Name = "DrinkSound"
- Sound2.Parent = Part1
- Sound2.SoundId = "http://www.roblox.com/asset/?id=10722059"
- Sound3.Name = "OpenSound"
- Sound3.Parent = Part1
- Sound3.SoundId = "http://www.roblox.com/asset/?id=10721950"
- SpecialMesh4.Parent = Part1
- SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=10470609"
- SpecialMesh4.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=10550002"
- SpecialMesh4.MeshType = Enum.MeshType.FileMesh
- SpecialMesh4.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- Sound5.Name = "MLG"
- Sound5.Parent = Part1
- Sound5.SoundId = "rbxassetid://179497874"
- Sound6.Name = "HitMarker"
- Sound6.Parent = Part1
- Sound6.SoundId = "rbxassetid://160432334"
- SpecialMesh7.Name = "Shades"
- SpecialMesh7.Parent = Tool0
- SpecialMesh7.MeshId = "http://www.roblox.com/asset/?id=121910245 "
- SpecialMesh7.Scale = Vector3.new(0.699999988, 0.5, 0.699999988)
- SpecialMesh7.TextureId = "http://www.roblox.com/asset/?id=121947422 "
- SpecialMesh7.MeshType = Enum.MeshType.FileMesh
- SpecialMesh7.Scale = Vector3.new(0.699999988, 0.5, 0.699999988)
- SpecialMesh8.Name = "Hat"
- SpecialMesh8.Parent = Tool0
- SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=13030731"
- SpecialMesh8.Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- SpecialMesh8.TextureId = "http://www.roblox.com/asset/?id=70262300"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- SpecialMesh8.Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988)
- LocalScript9.Name = "Drink"
- LocalScript9.Parent = Tool0
- table.insert(cors,sandbox(LocalScript9,function()
- local Tool = script.Parent;
- local plr = game.Players.LocalPlayer
- local cam = workspace.CurrentCamera
- local mlg = false
- local sp = script.Parent:WaitForChild("gui")
- enabled = true
- local txtz={"360 noscope","lenny","no","lens flare","DAYUMMM","Sample Text","shrekt","yolo","GET NOSCOPED","NOOOO","WOMBO COMBO","doritos","mountain dew","mlg","get rekt","420"}
- local imgz={"119713452","131395855","113671547","84334015","162381293","179012130","154169320","34395075","162595515", "30877733", "30877733", "30877733"}
- for i=1,#imgz do game.ContentProvider:Preload("rbxassetid://"..imgz[i]) end
- function random(table)
- return table[math.random(#table)]
- end
- function rt(g)
- local cl=sp.txt:clone()
- cl.Parent=g
- cl.Text=random(txtz)
- cl.TextColor3=Color3.new(math.random(),math.random(),math.random())
- cl.TextStrokeColor3=Color3.new(math.random(),math.random(),math.random())
- cl.TextTransparency=math.random()
- cl.TextStrokeTransparency=math.random()
- 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
- cl.Position=UDim2.new(math.random(),0,math.random(),0)
- cl.Visible=true
- game.Debris:AddItem(cl,math.random()+0.2)
- end
- function ri(g, s)
- local cl=sp.img:clone()
- cl.Parent=g
- local img = random(imgz)
- cl.Image="rbxassetid://"..img
- if img == "30877733" then
- s:Play()
- end
- 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
- cl.Position=UDim2.new(math.random(),0,math.random(),0)
- cl.Visible=true
- game.Debris:AddItem(cl,math.random()+0.2)
- end
- function mlgMode(g)
- g.back.BackgroundTransparency = 0.5
- local sound2 = script.Parent.Handle.HitMarker:clone()
- sound2.Parent = plr.Character.Torso
- for i = 1, 520 do
- if mlg then
- cam.FieldOfView = math.abs(70+(math.cos(tick()*2))*50)
- game:GetService("RunService").RenderStepped:wait()
- ri(g, sound2)
- rt(g)
- g.back.BackgroundColor3 = Color3.new(math.random(),math.random(),math.random())
- end
- end
- sound2.Parent = nil
- g.back.BackgroundTransparency = 1
- cam.FieldOfView = 70
- end
- function onActivated()
- if not enabled then
- return
- end
- local char = script.Parent.Parent
- local hum = char:WaitForChild("Humanoid")
- enabled = false
- Tool.GripForward = Vector3.new(0,-.759,-.651)
- Tool.GripPos = Vector3.new(1.5,-.5,.3)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.651,-.759)
- --game.StarterGui:SetCoreGuiEnabled("All",false)
- local cl=sp:clone()
- cl.Parent=plr.PlayerGui
- Tool.Handle.DrinkSound:Play()
- wait(3)
- Tool.GripForward = Vector3.new(-.976,0,-0.217)
- Tool.GripPos = Vector3.new(0.03,0,0)
- Tool.GripRight = Vector3.new(.217,0,-.976)
- Tool.GripUp = Vector3.new(0,1,0)
- local p = char:GetChildren()
- for i = 1, #p do
- if p[i].className == "Hat" then
- p[i].Parent = nil
- end
- end
- local h = Instance.new("Hat")
- local p = Instance.new("Part")
- h.Name = "Obey"
- p.Parent = h
- p.Position = char:findFirstChild("Head").Position
- p.Name = "Handle"
- p.formFactor = 0
- p.Size = Vector3.new(1, 0.4, 1)
- p.BottomSurface = 0
- p.TopSurface = 0
- p.CanCollide = false
- script.Parent.Hat:clone().Parent = p
- h.Parent = char
- --h.AttachmentForward = Vector3.new (0.148, -0.195, 0.97)
- h.AttachmentPos = Vector3.new(0, -0.15, 0)
- --h.AttachmentRight = Vector3.new (-0.989, -0.0292, 0.145)
- --h.AttachmentUp = Vector3.new (-7.2e-007, 0.98, 0.197)
- local h2 = Instance.new("Hat")
- local p2 = Instance.new("Part")
- h2.Name = "Shades"
- p2.Parent = h2
- p2.Position = char:findFirstChild("Head").Position
- p2.Name = "Handle"
- p2.formFactor = 0
- p2.Size = Vector3.new(1, 0.4, 1)
- p2.BottomSurface = 0
- p2.TopSurface = 0
- p2.CanCollide = false
- script.Parent.Shades:clone().Parent = p2
- h2.Parent = char
- --h2.AttachmentForward = Vector3.new (0, 0, -1)
- h2.AttachmentPos = Vector3.new(0, -1, 0.1)
- --h2.AttachmentRight = Vector3.new (1, 0, 0)
- --h2.AttachmentUp = Vector3.new (0, 1, 0)
- for i = 1, 30 do
- wait()
- h2.AttachmentPos = h2.AttachmentPos + Vector3.new(0, 0.046, 0)
- end
- local sound = script.Parent.Handle.MLG:clone()
- sound.Parent = char.Torso
- sound:Play()
- hum.Died:connect(function()
- mlg = false
- cam.FieldOfView = 70
- --game.StarterGui:SetCoreGuiEnabled("All",true)
- sound:Stop()
- sound.Parent = nil
- end)
- mlg = true
- mlgMode(cl)
- sound.Parent = nil
- mlg = false
- --game.StarterGui:SetCoreGuiEnabled("All",true)
- cl.Parent = nil
- enabled = true
- end
- function onEquipped()
- Tool.Handle.OpenSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- ScreenGui10.Name = "gui"
- ScreenGui10.Parent = Tool0
- TextLabel11.Name = "back"
- TextLabel11.Parent = ScreenGui10
- TextLabel11.Transparency = 1
- TextLabel11.Size = UDim2.new(1, 0, 1, 0)
- TextLabel11.Text = ""
- TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel11.BackgroundTransparency = 1
- TextLabel11.Font = Enum.Font.SourceSans
- TextLabel11.FontSize = Enum.FontSize.Size14
- ImageLabel12.Name = "img"
- ImageLabel12.Parent = ScreenGui10
- ImageLabel12.Transparency = 1
- ImageLabel12.Size = UDim2.new(0, 150, 0, 150)
- ImageLabel12.Visible = false
- ImageLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel12.BackgroundTransparency = 1
- ImageLabel12.ZIndex = 2
- TextLabel13.Name = "txt"
- TextLabel13.Parent = ScreenGui10
- TextLabel13.Transparency = 1
- TextLabel13.Size = UDim2.new(0, 200, 0, 100)
- TextLabel13.Visible = false
- TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel13.BackgroundTransparency = 1
- TextLabel13.ZIndex = 2
- TextLabel13.Font = Enum.Font.SourceSansBold
- TextLabel13.FontSize = Enum.FontSize.Size14
- TextLabel13.TextColor3 = Color3.new(1, 1, 0)
- TextLabel13.TextScaled = true
- TextLabel13.TextStrokeTransparency = 0
- TextLabel13.TextWrapped = true
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment