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 Opener = Instance.new("TextButton")
- local Opener_Roundify_12px = Instance.new("ImageLabel")
- local Frame = Instance.new("ImageLabel")
- local Player = Instance.new("TextBox")
- local Player_Roundify_12px = Instance.new("ImageLabel")
- local Kill = Instance.new("TextButton")
- local Kill_Roundify_12px = Instance.new("ImageLabel")
- local Cancel = Instance.new("TextButton")
- local Cancel_Roundify_12px = Instance.new("ImageLabel")
- local LKill = Instance.new("TextButton")
- local Kill_Roundify_12px_2 = Instance.new("ImageLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- Opener.Name = "Opener"
- Opener.Parent = ScreenGui
- Opener.BackgroundColor3 = Color3.fromRGB(80, 255, 116)
- Opener.BackgroundTransparency = 1.000
- Opener.BorderSizePixel = 0
- Opener.Position = UDim2.new(0, 0, 0.456597209, 0)
- Opener.Size = UDim2.new(0, 113, 0, 50)
- Opener.ZIndex = 2
- Opener.Font = Enum.Font.SourceSans
- Opener.Text = "Open"
- Opener.TextColor3 = Color3.fromRGB(255, 255, 255)
- Opener.TextScaled = true
- Opener.TextSize = 14.000
- Opener.TextWrapped = true
- Opener_Roundify_12px.Name = "Opener_Roundify_12px"
- Opener_Roundify_12px.Parent = Opener
- Opener_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Opener_Roundify_12px.BackgroundTransparency = 1.000
- Opener_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
- Opener_Roundify_12px.Image = "rbxassetid://2851926732"
- Opener_Roundify_12px.ImageColor3 = Color3.fromRGB(80, 255, 116)
- Opener_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- Opener_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
- Frame.Name = "Frame"
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.BackgroundTransparency = 1.000
- Frame.Position = UDim2.new(0.377227724, 0, 0.411458343, 0)
- Frame.Size = UDim2.new(0, 248, 0, 170)
- Frame.Visible = false
- Frame.Image = "rbxassetid://2851926732"
- Frame.ImageColor3 = Color3.fromRGB(72, 255, 96)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(12, 12, 12, 12)
- Player.Name = "Player"
- Player.Parent = Frame
- Player.BackgroundColor3 = Color3.fromRGB(135, 255, 140)
- Player.BackgroundTransparency = 1.000
- Player.BorderSizePixel = 0
- Player.Position = UDim2.new(0.0967741907, 0, 0.152100846, 0)
- Player.Size = UDim2.new(0, 200, 0, 50)
- Player.ZIndex = 2
- Player.Font = Enum.Font.SourceSans
- Player.Text = "Player"
- Player.TextColor3 = Color3.fromRGB(255, 255, 255)
- Player.TextScaled = true
- Player.TextSize = 14.000
- Player.TextWrapped = true
- Player_Roundify_12px.Name = "Player_Roundify_12px"
- Player_Roundify_12px.Parent = Player
- Player_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Player_Roundify_12px.BackgroundTransparency = 1.000
- Player_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
- Player_Roundify_12px.Image = "rbxassetid://2851926732"
- Player_Roundify_12px.ImageColor3 = Color3.fromRGB(135, 255, 140)
- Player_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- Player_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
- Kill.Name = "Kill"
- Kill.Parent = Frame
- Kill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
- Kill.BackgroundTransparency = 1.000
- Kill.BorderSizePixel = 0
- Kill.Position = UDim2.new(0, 0, 0.700840294, 0)
- Kill.Size = UDim2.new(0, 73, 0, 50)
- Kill.ZIndex = 2
- Kill.Font = Enum.Font.SourceSans
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.fromRGB(255, 255, 255)
- Kill.TextScaled = true
- Kill.TextSize = 14.000
- Kill.TextWrapped = true
- Kill_Roundify_12px.Name = "Kill_Roundify_12px"
- Kill_Roundify_12px.Parent = Kill
- Kill_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Kill_Roundify_12px.BackgroundTransparency = 1.000
- Kill_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
- Kill_Roundify_12px.Image = "rbxassetid://2851926732"
- Kill_Roundify_12px.ImageColor3 = Color3.fromRGB(141, 255, 142)
- Kill_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- Kill_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
- Cancel.Name = "Cancel"
- Cancel.Parent = Frame
- Cancel.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
- Cancel.BackgroundTransparency = 1.000
- Cancel.BorderSizePixel = 0
- Cancel.Position = UDim2.new(0.705645204, 0, 0.700840294, 0)
- Cancel.Size = UDim2.new(0, 73, 0, 50)
- Cancel.ZIndex = 2
- Cancel.Font = Enum.Font.SourceSans
- Cancel.Text = "Cancel"
- Cancel.TextColor3 = Color3.fromRGB(255, 255, 255)
- Cancel.TextScaled = true
- Cancel.TextSize = 14.000
- Cancel.TextWrapped = true
- Cancel_Roundify_12px.Name = "Cancel_Roundify_12px"
- Cancel_Roundify_12px.Parent = Cancel
- Cancel_Roundify_12px.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Cancel_Roundify_12px.BackgroundTransparency = 1.000
- Cancel_Roundify_12px.Size = UDim2.new(1, 0, 1, 0)
- Cancel_Roundify_12px.Image = "rbxassetid://2851926732"
- Cancel_Roundify_12px.ImageColor3 = Color3.fromRGB(141, 255, 142)
- Cancel_Roundify_12px.ScaleType = Enum.ScaleType.Slice
- Cancel_Roundify_12px.SliceCenter = Rect.new(12, 12, 12, 12)
- LKill.Name = "LKill"
- LKill.Parent = Frame
- LKill.BackgroundColor3 = Color3.fromRGB(141, 255, 142)
- LKill.BackgroundTransparency = 1.000
- LKill.BorderSizePixel = 0
- LKill.Position = UDim2.new(0.342741907, 0, 0.700840294, 0)
- LKill.Size = UDim2.new(0, 73, 0, 50)
- LKill.ZIndex = 2
- LKill.Font = Enum.Font.SourceSans
- LKill.Text = "Loopkill"
- LKill.TextColor3 = Color3.fromRGB(255, 255, 255)
- LKill.TextScaled = true
- LKill.TextSize = 14.000
- LKill.TextWrapped = true
- Kill_Roundify_12px_2.Name = "Kill_Roundify_12px"
- Kill_Roundify_12px_2.Parent = LKill
- Kill_Roundify_12px_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Kill_Roundify_12px_2.BackgroundTransparency = 1.000
- Kill_Roundify_12px_2.Size = UDim2.new(1, 0, 1, 0)
- Kill_Roundify_12px_2.Image = "rbxassetid://2851926732"
- Kill_Roundify_12px_2.ImageColor3 = Color3.fromRGB(141, 255, 142)
- Kill_Roundify_12px_2.ScaleType = Enum.ScaleType.Slice
- Kill_Roundify_12px_2.SliceCenter = Rect.new(12, 12, 12, 12)
- -- Scripts:
- local function TUCASSB_fake_script() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript', ScreenGui)
- script.Parent.Opener.MouseButton1Click:Connect(function()
- script.Parent.Frame.Visible = true
- end)
- script.Parent.Frame.Cancel.MouseButton1Click:Connect(function()
- script.Parent.Frame.Visible = false
- end)
- script.Parent.Frame.Kill.MouseButton1Click:Connect(function()
- game.Players:FindFirstChild(script.Parent.Frame.Player.Text).Character.Humanoid.Health = 0
- script.Parent.Frame.Visible = false
- end)
- script.Parent.Frame.LKill.MouseButton1Click:Connect(function()
- while true do
- game.Players:WaitForChild(script.Parent.Frame.Player.Text).Character.Humanoid.Health = 0
- wait(1)
- end
- script.Parent.Frame.Visible = false
- end)
- end
- coroutine.wrap(TUCASSB_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement