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 ui = Instance.new("Frame")
- local guards = Instance.new("TextButton")
- local inmate = Instance.new("TextButton")
- local criminal = Instance.new("TextButton")
- local neutral = Instance.new("TextButton")
- local btools = Instance.new("TextButton")
- local tpspot = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ui.Name = "ui"
- ui.Parent = ScreenGui
- ui.BackgroundColor3 = Color3.fromRGB(182, 0, 0)
- ui.BorderColor3 = Color3.fromRGB(182, 0, 0)
- ui.Position = UDim2.new(0.643489122, 0, 0.71767813, 0)
- ui.Size = UDim2.new(0, 186, 0, 115)
- ui.Active = true
- ui.Visible = true
- ui.Draggable = true
- guards.Name = "guards"
- guards.Parent = ui
- guards.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- guards.BorderColor3 = Color3.fromRGB(0, 0, 0)
- guards.Position = UDim2.new(0.0414507464, 0, 0.0740738586, 0)
- guards.Size = UDim2.new(0, 85, 0, 30)
- guards.Font = Enum.Font.SourceSans
- guards.Text = "guards"
- guards.TextColor3 = Color3.fromRGB(182, 0, 0)
- guards.TextSize = 14.000
- guards.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end)
- inmate.Name = "inmate"
- inmate.Parent = ui
- inmate.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- inmate.BorderColor3 = Color3.fromRGB(0, 0, 0)
- inmate.Position = UDim2.new(0.518134654, 0, 0.0796609595, 0)
- inmate.Size = UDim2.new(0, 85, 0, 29)
- inmate.Font = Enum.Font.SourceSans
- inmate.Text = "inmate"
- inmate.TextColor3 = Color3.fromRGB(182, 0, 0)
- inmate.TextSize = 14.000
- inmate.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- criminal.Name = "criminal"
- criminal.Parent = ui
- criminal.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- criminal.BorderColor3 = Color3.fromRGB(0, 0, 0)
- criminal.Position = UDim2.new(0.0414507762, 0, 0.342592597, 0)
- criminal.Size = UDim2.new(0, 85, 0, 31)
- criminal.Font = Enum.Font.SourceSans
- criminal.Text = "criminal"
- criminal.TextColor3 = Color3.fromRGB(182, 0, 0)
- criminal.TextSize = 14.000
- criminal.MouseButton1Down:connect(function()
- local Apart = Instance.new("Part")
- Apart.Name = "PlrsPos"
- Apart.Parent = workspace
- Apart.Anchored = true
- Apart.Archivable = true
- Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- _G.killAura = true
- wait(0.2)
- Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- Apart.Transparency = 1
- Apart.Anchored = true
- Apart.CanCollide = false
- istptoplr = true
- wait(0.004)
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- LCS.CanCollide = false
- LCS.Size = Vector3.new(51.05, 24.12, 54.76)
- LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- LCS.Transparency = 1
- wait(2)
- istptoplr = false
- _G.killAura = false
- wait(0.04)
- if istptoplr == false then
- LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LCS.Size = Vector3.new(6, 0.2, 6)
- LCS.Transparency = 0
- istptoplr = false
- end
- end)
- neutral.Name = "neutral"
- neutral.Parent = ui
- neutral.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- neutral.BorderColor3 = Color3.fromRGB(0, 0, 0)
- neutral.Position = UDim2.new(0.518134654, 0, 0.334943414, 0)
- neutral.Size = UDim2.new(0, 85, 0, 31)
- neutral.Font = Enum.Font.SourceSans
- neutral.Text = "neutral"
- neutral.TextColor3 = Color3.fromRGB(182, 0, 0)
- neutral.TextSize = 14.000
- neutral.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- end)
- btools.Name = "btools"
- btools.Parent = ui
- btools.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- btools.BorderColor3 = Color3.fromRGB(0, 0, 0)
- btools.Position = UDim2.new(0.0414507464, 0, 0.612157643, 0)
- btools.Size = UDim2.new(0, 85, 0, 29)
- btools.Font = Enum.Font.SourceSans
- btools.Text = "btools"
- btools.TextColor3 = Color3.fromRGB(182, 0, 0)
- btools.TextSize = 14.000
- btools.MouseButton1Down:connect(function()
- local lp = game:GetService("Players").LocalPlayer
- local Clone_T = Instance.new("HopperBin",lp.Backpak)
- Clone_T.BinType = "Clone"
- local Destruct = Instance.new("HopperBin",lp.Backpack)
- Destruct.BinType = "Hammer"
- local Hold_T = Instance.new("HopperBin",lp.Backpack)
- Hold_T.BinType = "Grab"
- end)
- tpspot.Name = "tpspot"
- tpspot.Parent = ui
- tpspot.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- tpspot.BorderColor3 = Color3.fromRGB(0, 0, 0)
- tpspot.Position = UDim2.new(0.518134654, 0, 0.612157643, 0)
- tpspot.Size = UDim2.new(0, 85, 0, 29)
- tpspot.Font = Enum.Font.SourceSans
- tpspot.Text = "cutie spot ^-^"
- tpspot.TextColor3 = Color3.fromRGB(182, 0, 0)
- tpspot.TextSize = 14.000
- tpspot.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(955.16217, 101.498436, 2360.60303, -0.0048833508, -0.0168602243, 0.999845982, -7.27595761e-12, 0.999857962, 0.0168604236, -0.999988139, 8.23353548e-05, -0.0048826565)
- end)
- function onKeyPress(actionName, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- if toggle == false then
- toggle = true
- ui.Visible = true
- else
- toggle = false
- ui.Visible = false
- end
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.X)
Add Comment
Please, Sign In to add comment