Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- 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"))
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- TextButton2 = Instance.new("TextButton")
- Script3 = Instance.new("Script")
- TextButton4 = Instance.new("TextButton")
- Script5 = Instance.new("Script")
- TextLabel6 = Instance.new("TextLabel")
- TextButton7 = Instance.new("TextButton")
- Script8 = Instance.new("Script")
- ScreenGui0.Parent = mas
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Parent = ScreenGui0
- Frame1.Position = UDim2.new(0.693409681, 0, 0.325842679, 0)
- Frame1.Size = UDim2.new(0, 135, 0, 144)
- Frame1.BackgroundColor = BrickColor.new("Pastel blue-green")
- Frame1.BackgroundColor3 = Color3.new(0.341176, 0.937255, 1)
- Frame1.BackgroundTransparency = 0.5
- Frame1.BorderColor = BrickColor.new("Institutional white")
- Frame1.BorderColor3 = Color3.new(1, 1, 1)
- TextButton2.Parent = Frame1
- TextButton2.Position = UDim2.new(0.0888888836, 0, 0.21527788, 0)
- TextButton2.Size = UDim2.new(0, 110, 0, 24)
- TextButton2.BackgroundColor = BrickColor.new("Institutional white")
- TextButton2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton2.Font = Enum.Font.SourceSans
- TextButton2.FontSize = Enum.FontSize.Size14
- TextButton2.Text = "store tool"
- TextButton2.TextColor = BrickColor.new("Really black")
- TextButton2.TextColor3 = Color3.new(0, 0, 0)
- TextButton2.TextScaled = true
- TextButton2.TextSize = 14
- TextButton2.TextWrap = true
- TextButton2.TextWrapped = true
- Script3.Parent = TextButton2
- table.insert(cors,sandbox(Script3,function()
- script.Parent.MouseButton1Down:Connect(function()
- for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = game.Players.LocalPlayer
- end
- end
- end)
- end))
- TextButton4.Parent = Frame1
- TextButton4.Position = UDim2.new(0.0870105028, 0, 0.50639838, 0)
- TextButton4.Size = UDim2.new(0, 110, 0, 24)
- TextButton4.BackgroundColor = BrickColor.new("Institutional white")
- TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton4.Font = Enum.Font.SourceSans
- TextButton4.FontSize = Enum.FontSize.Size14
- TextButton4.Text = "get tool"
- TextButton4.TextColor = BrickColor.new("Really black")
- TextButton4.TextColor3 = Color3.new(0, 0, 0)
- TextButton4.TextScaled = true
- TextButton4.TextSize = 14
- TextButton4.TextWrap = true
- TextButton4.TextWrapped = true
- Script5.Parent = TextButton4
- table.insert(cors,sandbox(Script5,function()
- script.Parent.MouseButton1Down:Connect(function()
- for _,v in pairs(game.Players.LocalPlayer:GetChildren()) do
- if (v:IsA("Tool")) then
- v.Parent = game.Players.LocalPlayer.Backpack
- end
- end
- end)
- end))
- TextLabel6.Parent = Frame1
- TextLabel6.Size = UDim2.new(0, 135, 0, 15)
- TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel6.BackgroundTransparency = 1
- TextLabel6.Font = Enum.Font.SourceSans
- TextLabel6.FontSize = Enum.FontSize.Size14
- TextLabel6.Text = "equip the tool first"
- TextLabel6.TextColor = BrickColor.new("Really black")
- TextLabel6.TextColor3 = Color3.new(0, 0, 0)
- TextLabel6.TextSize = 14
- TextButton7.Parent = Frame1
- TextButton7.Position = UDim2.new(0, 0, 0.833333433, 0)
- TextButton7.Size = UDim2.new(0, 135, 0, 17)
- TextButton7.BackgroundColor = BrickColor.new("Institutional white")
- TextButton7.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton7.Font = Enum.Font.SourceSans
- TextButton7.FontSize = Enum.FontSize.Size14
- TextButton7.Text = "play oh yeah yeah"
- TextButton7.TextColor = BrickColor.new("Really black")
- TextButton7.TextColor3 = Color3.new(0, 0, 0)
- TextButton7.TextSize = 14
- TextButton7.TextWrap = true
- TextButton7.TextWrapped = true
- Script8.Parent = TextButton7
- table.insert(cors,sandbox(Script8,function()
- script.Parent.MouseButton1Down:Connect(function()
- local lol = Instance.new("Sound", workspace)
- lol.SoundId = "rbxassetid://2778989543"
- lol.Playing = true
- lol.Looped = true
- lol.Volume = 0.5
- lol.Parent = workspace
- lol.Name = "2778989543"
- --incase you want to destroy i am too lazy to make another button
- --game.Workspace["2778989543"]:Destroy()
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game.CoreGui
- 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