Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 0.550
- Frame.Position = UDim2.new(0, 0, -2.89540587e-08, 0)
- Frame.Size = UDim2.new(0, 764, 0, 56)
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0, 0, 0.034155596, 0)
- TextButton.Size = UDim2.new(0, 123, 0, 37)
- TextButton.Font = Enum.Font.Fantasy
- TextButton.LineHeight = 0.000
- TextButton.Text = "BOBUC"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 0.550
- TextLabel.Position = UDim2.new(0.336387426, 0, -0.00189753319, 0)
- TextLabel.Size = UDim2.new(0, 206, 0, 19)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Roleplay Gui items"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.Position = UDim2.new(0.373036623, 0, 0.034155596, 0)
- TextButton_2.Size = UDim2.new(0, 123, 0, 37)
- TextButton_2.Font = Enum.Font.JosefinSans
- TextButton_2.Text = "BoomBox"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14.000
- TextButton_2.TextWrapped = true
- TextButton_3.Parent = ScreenGui
- TextButton_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_3.Position = UDim2.new(0.595549762, 0, 0.034155596, 0)
- TextButton_3.Size = UDim2.new(0, 99, 0, 37)
- TextButton_3.Font = Enum.Font.PermanentMarker
- TextButton_3.Text = "food"
- TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_3.TextScaled = true
- TextButton_3.TextSize = 14.000
- TextButton_3.TextWrapped = true
- TextButton_4.Parent = ScreenGui
- TextButton_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_4.Position = UDim2.new(0.774869084, 0, 0.0227703992, 0)
- TextButton_4.Size = UDim2.new(0, 114, 0, 43)
- TextButton_4.Font = Enum.Font.SourceSans
- TextButton_4.Text = "2007"
- TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_4.TextScaled = true
- TextButton_4.TextSize = 14.000
- TextButton_4.TextWrapped = true
- -- Scripts:
- local function LNTDE_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- local tool = game.ReplicatedStorage.Robux--Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
- local player = game.Players.LocalPlayer --finds the script's parent, the player.
- script.Parent.MouseButton1Click:Connect(function() --when clicked, function
- tool:Clone() --clones tool
- tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
- end)
- ---------------------------
- end
- coroutine.wrap(LNTDE_fake_script)()
- local function LBVCH_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- local tool = game.ReplicatedStorage.BoomBox --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
- local player = game.Players.LocalPlayer --finds the script's parent, the player.
- script.Parent.MouseButton1Click:Connect(function() --when clicked, function
- tool:Clone() --clones tool
- tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
- end)
- ---------------------------
- end
- coroutine.wrap(LBVCH_fake_script)()
- local function MXJXWX_fake_script() -- TextButton_3.LocalScript
- local script = Instance.new('LocalScript', TextButton_3)
- local tool = game.ReplicatedStorage.Waffle --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
- local player = game.Players.LocalPlayer --finds the script's parent, the player.
- script.Parent.MouseButton1Click:Connect(function() --when clicked, function
- tool:Clone() --clones tool
- tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
- end)
- ---------------------------
- end
- coroutine.wrap(MXJXWX_fake_script)()
- local function MEKDNK_fake_script() -- TextButton_4.LocalScript
- local script = Instance.new('LocalScript', TextButton_4)
- local tool = game.ReplicatedStorage["old roblox"] --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
- local player = game.Players.LocalPlayer --finds the script's parent, the player.
- script.Parent.MouseButton1Click:Connect(function() --when clicked, function
- tool:Clone() --clones tool
- tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
- end)
- ---------------------------
- end
- coroutine.wrap(MEKDNK_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement