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 KeySystem = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local Input = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local UICorner_2 = Instance.new("UICorner")
- local Submit = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local Close = Instance.new("Frame")
- local TextButton_2 = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local Status = Instance.new("TextLabel")
- local Menu = Instance.new("ScrollingFrame")
- local PlaceHolder = Instance.new("TextButton")
- local UIGridLayout = Instance.new("UIGridLayout")
- local CloseScript = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- KeySystem.Name = "KeySystem"
- KeySystem.Parent = ScreenGui
- KeySystem.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- KeySystem.BorderColor3 = Color3.fromRGB(0, 0, 0)
- KeySystem.BorderSizePixel = 0
- KeySystem.Position = UDim2.new(0.36489439, 0, 0.237717912, 0)
- KeySystem.Size = UDim2.new(0.27021122, 0, 0.522979379, 0)
- KeySystem.Visible = false
- UICorner.Parent = KeySystem
- TextLabel.Parent = KeySystem
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(1, 0, 0.156060606, 0)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Please enter the key"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextStrokeTransparency = 0.000
- TextLabel.TextWrapped = true
- Input.Name = "Input"
- Input.Parent = KeySystem
- Input.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- Input.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Input.BorderSizePixel = 0
- Input.Position = UDim2.new(0.0835579485, 0, 0.603030324, 0)
- Input.Size = UDim2.new(0.835579515, 0, 0.130303025, 0)
- TextBox.Parent = Input
- TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.BackgroundTransparency = 1.000
- TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.BorderSizePixel = 0
- TextBox.Size = UDim2.new(1, 0, 1, 0)
- TextBox.Font = Enum.Font.Cartoon
- TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- TextBox.PlaceholderText = "Enter Key Here."
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextScaled = true
- TextBox.TextSize = 14.000
- TextBox.TextWrapped = true
- UICorner_2.Parent = Input
- Submit.Name = "Submit"
- Submit.Parent = KeySystem
- Submit.BackgroundColor3 = Color3.fromRGB(46, 104, 35)
- Submit.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Submit.BorderSizePixel = 0
- Submit.Position = UDim2.new(0.26954177, 0, 0.812121212, 0)
- Submit.Size = UDim2.new(0.458221018, 0, 0.0939393938, 0)
- TextButton.Parent = Submit
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.BackgroundTransparency = 1.000
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Size = UDim2.new(1, 0, 1, 0)
- TextButton.Font = Enum.Font.Cartoon
- TextButton.Text = "Verify"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- UICorner_3.Parent = Submit
- Close.Name = "Close"
- Close.Parent = KeySystem
- Close.BackgroundColor3 = Color3.fromRGB(76, 0, 1)
- Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.26954177, 0, 0.190909088, 0)
- Close.Size = UDim2.new(0.458221018, 0, 0.0939393938, 0)
- TextButton_2.Parent = Close
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.BackgroundTransparency = 1.000
- TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Size = UDim2.new(1, 0, 1, 0)
- TextButton_2.Font = Enum.Font.Cartoon
- TextButton_2.Text = "Close Menu"
- TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14.000
- TextButton_2.TextWrapped = true
- UICorner_4.Parent = Close
- Status.Name = "Status"
- Status.Parent = KeySystem
- Status.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Status.BackgroundTransparency = 1.000
- Status.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Status.BorderSizePixel = 0
- Status.Position = UDim2.new(0.256064683, 0, 0.393939406, 0)
- Status.Size = UDim2.new(0.485175192, 0, 0.110606059, 0)
- Status.Font = Enum.Font.Cartoon
- Status.Text = ""
- Status.TextColor3 = Color3.fromRGB(255, 255, 255)
- Status.TextScaled = true
- Status.TextSize = 14.000
- Status.TextStrokeTransparency = 0.000
- Status.TextWrapped = true
- Menu.Name = "Menu"
- Menu.Parent = ScreenGui
- Menu.Active = true
- Menu.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Menu.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Menu.BorderSizePixel = 0
- Menu.Position = UDim2.new(0.367079377, 0, 0.236133128, 0)
- Menu.Size = UDim2.new(0.265112877, 0, 0.526148975, 0)
- Menu.Visible = false
- Menu.CanvasSize = UDim2.new(0, 0, 50, 0)
- PlaceHolder.Name = "PlaceHolder"
- PlaceHolder.Parent = Menu
- PlaceHolder.BackgroundColor3 = Color3.fromRGB(170, 255, 234)
- PlaceHolder.BorderColor3 = Color3.fromRGB(0, 0, 0)
- PlaceHolder.BorderSizePixel = 2
- PlaceHolder.Position = UDim2.new(0, 0, 0.0451807231, 0)
- PlaceHolder.Size = UDim2.new(0, 150, 0, 50)
- PlaceHolder.Font = Enum.Font.Cartoon
- PlaceHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
- PlaceHolder.TextScaled = true
- PlaceHolder.TextSize = 14.000
- PlaceHolder.TextWrapped = true
- UIGridLayout.Parent = Menu
- UIGridLayout.CellPadding = UDim2.new(0.0299999993, 0, 0.00100000005, 0)
- UIGridLayout.CellSize = UDim2.new(0.25, 0, 0.00300000003, 0)
- CloseScript.Name = "CloseScript"
- CloseScript.Parent = ScreenGui
- CloseScript.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- CloseScript.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CloseScript.BorderSizePixel = 0
- CloseScript.Position = UDim2.new(0.00509832473, 0, 0.475435823, 0)
- CloseScript.Size = UDim2.new(0.0233066287, 0, 0.0475435853, 0)
- CloseScript.Font = Enum.Font.Cartoon
- CloseScript.Text = "X"
- CloseScript.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseScript.TextScaled = true
- CloseScript.TextSize = 14.000
- CloseScript.TextStrokeTransparency = 0.000
- CloseScript.TextWrapped = true
- -- Scripts:
- local function OJRYRXX_fake_script() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript', TextButton_2)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent.Parent:Destroy()
- end)
- end
- coroutine.wrap(OJRYRXX_fake_script)()
- local function EVLUJK_fake_script() -- KeySystem.Main
- local script = Instance.new('LocalScript', KeySystem)
- local submit = script.Parent:WaitForChild("Submit")
- local input = script.Parent:WaitForChild("Input")
- local key = "LSJiqueue"
- submit.TextButton.MouseButton1Click:Connect(function()
- if tostring(input.TextBox.Text) == key or tostring(input.TextBox.Text) == key:lower() then
- script.Parent.Visible = false
- script.Parent.Status.Text = ""
- script.Parent.Status.TextColor3 = Color3.fromRGB(255,255,255)
- script.Parent.Parent:WaitForChild("Menu").Visible = true
- local hint = Instance.new("Hint", workspace)
- hint.Text = "Press LeftBracket ']' to hide/unhide the menu! Have Fun!"
- task.wait(3)
- hint:Destroy()
- else
- script.Parent.Status.Text = "Incorrect Code"
- script.Parent.Status.TextColor3 = Color3.fromRGB(255,0,0)
- end
- end)
- end
- coroutine.wrap(EVLUJK_fake_script)()
- local function VMCHU_fake_script() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript', ScreenGui)
- script.Parent.KeySystem.Visible = true
- script.Parent.Menu.Visible = false
- end
- coroutine.wrap(VMCHU_fake_script)()
- local function RECQZ_fake_script() -- Menu.toggle
- local script = Instance.new('LocalScript', Menu)
- local uis = game:GetService("UserInputService")
- uis.InputBegan:Connect(function(i, g)
- if g then return end
- if i.KeyCode == Enum.KeyCode.LeftBracket then
- script.Parent.Visible = not script.Parent.Visible
- script.Parent.CloseScript.Visible = false
- end
- end)
- end
- coroutine.wrap(RECQZ_fake_script)()
- local function KBMNIKX_fake_script() -- Menu.create
- local script = Instance.new('LocalScript', Menu)
- local p = game.Players.LocalPlayer
- local carShop = p.PlayerGui:FindFirstChild("CarShop")
- local carShop2 = p.PlayerGui:FindFirstChild("CarShop2")
- for i, v in pairs(carShop:WaitForChild("Frame"):GetDescendants()) do
- if v:IsA("ImageLabel") and v.Name ~= "ImageLabel" then
- local newtextButton = script.Parent.PlaceHolder:Clone()
- newtextButton.Visible = true
- newtextButton.Parent = script.Parent
- newtextButton.Name = v.Name
- newtextButton.Text = v.model.Text
- newtextButton.MouseButton1Click:Connect(function()
- game.ReplicatedStorage:WaitForChild("DespawnCar"):FireServer()
- game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer(newtextButton.Name)
- end)
- end
- end
- for i, v in pairs(carShop2:WaitForChild("Frame"):GetDescendants()) do
- if v:IsA("ImageLabel") and v.Name ~= "ImageLabel" then
- print(v.Name)
- local newtextButton = script.Parent.PlaceHolder:Clone()
- newtextButton.Visible = true
- newtextButton.Parent = script.Parent
- newtextButton.Name = v.Name
- newtextButton.Text = v.model.Text
- newtextButton.MouseButton1Click:Connect(function()
- game.ReplicatedStorage:WaitForChild("DespawnCar"):FireServer()
- if newtextButton.Text == "(Renault) Premium 440" then
- game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer("prem")
- end
- game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer(newtextButton.Name)
- end)
- end
- end
- end
- coroutine.wrap(KBMNIKX_fake_script)()
- local function JICHRL_fake_script() -- Menu.draggable
- local script = Instance.new('LocalScript', Menu)
- script.Parent.Draggable = true
- script.Parent.Selectable = true
- end
- coroutine.wrap(JICHRL_fake_script)()
- local function KGTG_fake_script() -- CloseScript.LocalScript
- local script = Instance.new('LocalScript', CloseScript)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent:Destroy()
- end)
- end
- coroutine.wrap(KGTG_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement