Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.5
- Frame.BorderSizePixel = 0
- Frame.Size = UDim2.new(0, 284, 0, 378)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 284, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "ADMIN"
- TextLabel.TextColor3 = Color3.new(1, 0, 0.0156863)
- TextLabel.TextSize = 50
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.Position = UDim2.new(0, 0, 0.158730164, 0)
- TextButton.Size = UDim2.new(0, 284, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Arrow"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 50
- -- Scripts:
- local function FJCIOV_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.RemoteEvent:FireServer()
- end)
- end
- coroutine.wrap(FJCIOV_fake_script)()
- local function ZCGK_fake_script() -- TextButton.Script
- local script = Instance.new('Script', TextButton)
- script.Parent.RemoteEvent.OnServerEvent:Connect(function()
- game.ServerStorage.Arrow:Clone().Parent = game.Players.LocalPlayer.Backpack
- end)
- end
- coroutine.wrap(ZCGK_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement