Advertisement
LSJiqueue

Roblox Car Driving Simulator

Sep 10th, 2023
1,912
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.26 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local KeySystem = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local TextLabel = Instance.new("TextLabel")
  10. local Input = Instance.new("Frame")
  11. local TextBox = Instance.new("TextBox")
  12. local UICorner_2 = Instance.new("UICorner")
  13. local Submit = Instance.new("Frame")
  14. local TextButton = Instance.new("TextButton")
  15. local UICorner_3 = Instance.new("UICorner")
  16. local Close = Instance.new("Frame")
  17. local TextButton_2 = Instance.new("TextButton")
  18. local UICorner_4 = Instance.new("UICorner")
  19. local Status = Instance.new("TextLabel")
  20. local Menu = Instance.new("ScrollingFrame")
  21. local PlaceHolder = Instance.new("TextButton")
  22. local UIGridLayout = Instance.new("UIGridLayout")
  23. local CloseScript = Instance.new("TextButton")
  24.  
  25. --Properties:
  26.  
  27. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  28. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29.  
  30. KeySystem.Name = "KeySystem"
  31. KeySystem.Parent = ScreenGui
  32. KeySystem.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  33. KeySystem.BorderColor3 = Color3.fromRGB(0, 0, 0)
  34. KeySystem.BorderSizePixel = 0
  35. KeySystem.Position = UDim2.new(0.36489439, 0, 0.237717912, 0)
  36. KeySystem.Size = UDim2.new(0.27021122, 0, 0.522979379, 0)
  37. KeySystem.Visible = false
  38.  
  39. UICorner.Parent = KeySystem
  40.  
  41. TextLabel.Parent = KeySystem
  42. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. TextLabel.BackgroundTransparency = 1.000
  44. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  45. TextLabel.BorderSizePixel = 0
  46. TextLabel.Size = UDim2.new(1, 0, 0.156060606, 0)
  47. TextLabel.Font = Enum.Font.Cartoon
  48. TextLabel.Text = "Please enter the key"
  49. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  50. TextLabel.TextScaled = true
  51. TextLabel.TextSize = 14.000
  52. TextLabel.TextStrokeTransparency = 0.000
  53. TextLabel.TextWrapped = true
  54.  
  55. Input.Name = "Input"
  56. Input.Parent = KeySystem
  57. Input.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  58. Input.BorderColor3 = Color3.fromRGB(0, 0, 0)
  59. Input.BorderSizePixel = 0
  60. Input.Position = UDim2.new(0.0835579485, 0, 0.603030324, 0)
  61. Input.Size = UDim2.new(0.835579515, 0, 0.130303025, 0)
  62.  
  63. TextBox.Parent = Input
  64. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  65. TextBox.BackgroundTransparency = 1.000
  66. TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  67. TextBox.BorderSizePixel = 0
  68. TextBox.Size = UDim2.new(1, 0, 1, 0)
  69. TextBox.Font = Enum.Font.Cartoon
  70. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  71. TextBox.PlaceholderText = "Enter Key Here."
  72. TextBox.Text = ""
  73. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. TextBox.TextScaled = true
  75. TextBox.TextSize = 14.000
  76. TextBox.TextWrapped = true
  77.  
  78. UICorner_2.Parent = Input
  79.  
  80. Submit.Name = "Submit"
  81. Submit.Parent = KeySystem
  82. Submit.BackgroundColor3 = Color3.fromRGB(46, 104, 35)
  83. Submit.BorderColor3 = Color3.fromRGB(0, 0, 0)
  84. Submit.BorderSizePixel = 0
  85. Submit.Position = UDim2.new(0.26954177, 0, 0.812121212, 0)
  86. Submit.Size = UDim2.new(0.458221018, 0, 0.0939393938, 0)
  87.  
  88. TextButton.Parent = Submit
  89. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  90. TextButton.BackgroundTransparency = 1.000
  91. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  92. TextButton.BorderSizePixel = 0
  93. TextButton.Size = UDim2.new(1, 0, 1, 0)
  94. TextButton.Font = Enum.Font.Cartoon
  95. TextButton.Text = "Verify"
  96. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  97. TextButton.TextScaled = true
  98. TextButton.TextSize = 14.000
  99. TextButton.TextWrapped = true
  100.  
  101. UICorner_3.Parent = Submit
  102.  
  103. Close.Name = "Close"
  104. Close.Parent = KeySystem
  105. Close.BackgroundColor3 = Color3.fromRGB(76, 0, 1)
  106. Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
  107. Close.BorderSizePixel = 0
  108. Close.Position = UDim2.new(0.26954177, 0, 0.190909088, 0)
  109. Close.Size = UDim2.new(0.458221018, 0, 0.0939393938, 0)
  110.  
  111. TextButton_2.Parent = Close
  112. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113. TextButton_2.BackgroundTransparency = 1.000
  114. TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  115. TextButton_2.BorderSizePixel = 0
  116. TextButton_2.Size = UDim2.new(1, 0, 1, 0)
  117. TextButton_2.Font = Enum.Font.Cartoon
  118. TextButton_2.Text = "Close Menu"
  119. TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  120. TextButton_2.TextScaled = true
  121. TextButton_2.TextSize = 14.000
  122. TextButton_2.TextWrapped = true
  123.  
  124. UICorner_4.Parent = Close
  125.  
  126. Status.Name = "Status"
  127. Status.Parent = KeySystem
  128. Status.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  129. Status.BackgroundTransparency = 1.000
  130. Status.BorderColor3 = Color3.fromRGB(0, 0, 0)
  131. Status.BorderSizePixel = 0
  132. Status.Position = UDim2.new(0.256064683, 0, 0.393939406, 0)
  133. Status.Size = UDim2.new(0.485175192, 0, 0.110606059, 0)
  134. Status.Font = Enum.Font.Cartoon
  135. Status.Text = ""
  136. Status.TextColor3 = Color3.fromRGB(255, 255, 255)
  137. Status.TextScaled = true
  138. Status.TextSize = 14.000
  139. Status.TextStrokeTransparency = 0.000
  140. Status.TextWrapped = true
  141.  
  142. Menu.Name = "Menu"
  143. Menu.Parent = ScreenGui
  144. Menu.Active = true
  145. Menu.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  146. Menu.BorderColor3 = Color3.fromRGB(0, 0, 0)
  147. Menu.BorderSizePixel = 0
  148. Menu.Position = UDim2.new(0.367079377, 0, 0.236133128, 0)
  149. Menu.Size = UDim2.new(0.265112877, 0, 0.526148975, 0)
  150. Menu.CanvasSize = UDim2.new(0, 0, 50, 0)
  151.  
  152. PlaceHolder.Name = "PlaceHolder"
  153. PlaceHolder.Parent = Menu
  154. PlaceHolder.BackgroundColor3 = Color3.fromRGB(170, 255, 234)
  155. PlaceHolder.BorderColor3 = Color3.fromRGB(0, 0, 0)
  156. PlaceHolder.BorderSizePixel = 2
  157. PlaceHolder.Position = UDim2.new(0, 0, 0.0451807231, 0)
  158. PlaceHolder.Size = UDim2.new(0, 150, 0, 50)
  159. PlaceHolder.Font = Enum.Font.Cartoon
  160. PlaceHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
  161. PlaceHolder.TextScaled = true
  162. PlaceHolder.TextSize = 14.000
  163. PlaceHolder.TextWrapped = true
  164.  
  165. UIGridLayout.Parent = Menu
  166. UIGridLayout.CellPadding = UDim2.new(0.0299999993, 0, 0.00100000005, 0)
  167. UIGridLayout.CellSize = UDim2.new(0.25, 0, 0.00300000003, 0)
  168.  
  169. CloseScript.Name = "CloseScript"
  170. CloseScript.Parent = ScreenGui
  171. CloseScript.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  172. CloseScript.BorderColor3 = Color3.fromRGB(0, 0, 0)
  173. CloseScript.BorderSizePixel = 0
  174. CloseScript.Position = UDim2.new(0.00509832473, 0, 0.475435823, 0)
  175. CloseScript.Size = UDim2.new(0.0233066287, 0, 0.0475435853, 0)
  176. CloseScript.Font = Enum.Font.Cartoon
  177. CloseScript.Text = "X"
  178. CloseScript.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. CloseScript.TextScaled = true
  180. CloseScript.TextSize = 14.000
  181. CloseScript.TextStrokeTransparency = 0.000
  182. CloseScript.TextWrapped = true
  183.  
  184. -- Scripts:
  185.  
  186. local function ETFMJUE_fake_script() -- TextButton_2.LocalScript
  187.     local script = Instance.new('LocalScript', TextButton_2)
  188.  
  189.     script.Parent.MouseButton1Click:Connect(function()
  190.         script.Parent.Parent.Parent.Parent:Destroy()
  191.     end)
  192. end
  193. coroutine.wrap(ETFMJUE_fake_script)()
  194. local function MTDUOA_fake_script() -- KeySystem.Main
  195.     local script = Instance.new('LocalScript', KeySystem)
  196.  
  197.     local submit = script.Parent:WaitForChild("Submit")
  198.     local input = script.Parent:WaitForChild("Input")
  199.     local key = "LSJiqueue"
  200.     submit.TextButton.MouseButton1Click:Connect(function()
  201.         if tostring(input.TextBox.Text) == key or tostring(input.TextBox.Text) == key:lower() then
  202.             script.Parent.Visible = false
  203.             script.Parent.Status.Text = ""
  204.             script.Parent.Status.TextColor3 = Color3.fromRGB(255,255,255)
  205.             script.Parent.Parent:WaitForChild("Menu").Visible = true
  206.             local hint = Instance.new("Hint", workspace)
  207.             hint.Text = "Press LeftBracket ']' to hide/unhide the menu! Have Fun!"
  208.             task.wait(3)
  209.             hint:Destroy()
  210.         else
  211.             script.Parent.Status.Text = "Incorrect Code"
  212.             script.Parent.Status.TextColor3 = Color3.fromRGB(255,0,0)
  213.         end
  214.     end)
  215.    
  216. end
  217. coroutine.wrap(MTDUOA_fake_script)()
  218. local function TWXQYOE_fake_script() -- ScreenGui.LocalScript
  219.     local script = Instance.new('LocalScript', ScreenGui)
  220.  
  221.     script.Parent.KeySystem.Visible = true
  222.     script.Parent.Menu.Visible = false
  223. end
  224. coroutine.wrap(TWXQYOE_fake_script)()
  225. local function RKPVIKH_fake_script() -- Menu.toggle
  226.     local script = Instance.new('LocalScript', Menu)
  227.  
  228.     local uis = game:GetService("UserInputService")
  229.     uis.InputBegan:Connect(function(i, g)
  230.         if g then return end
  231.         if i.KeyCode == Enum.KeyCode.LeftBracket then
  232.             script.Parent.Visible = not script.Parent.Visible
  233.             script.Parent.CloseScript.Visible = false
  234.         end
  235.     end)
  236.    
  237. end
  238. coroutine.wrap(RKPVIKH_fake_script)()
  239. local function WVVI_fake_script() -- Menu.create
  240.     local script = Instance.new('LocalScript', Menu)
  241.  
  242.     local p = game.Players.LocalPlayer
  243.     local carShop = p.PlayerGui:WaitForChild("CarShop")
  244.     local carShop2 = p.PlayerGui:WaitForChild("CarShop2")
  245.     for i, v in pairs(carShop:WaitForChild("Frame"):GetDescendants()) do
  246.         if v:IsA("ImageLabel") and v.Name ~= "ImageLabel" then
  247.             local newtextButton = script.Parent.PlaceHolder:Clone()
  248.             newtextButton.Visible = true
  249.             newtextButton.Parent = script.Parent
  250.             newtextButton.Name = v.Name
  251.             newtextButton.Text = v.model.Text
  252.             newtextButton.MouseButton1Click:Connect(function()
  253.                 game.ReplicatedStorage:WaitForChild("DespawnCar"):FireServer()
  254.                 game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer(newtextButton.Name)
  255.             end)
  256.         end
  257.     end
  258.     for i, v in pairs(carShop2:WaitForChild("Frame"):GetDescendants()) do
  259.         if v:IsA("ImageLabel") and v.Name ~= "ImageLabel" then
  260.             print(v.Name)
  261.             local newtextButton = script.Parent.PlaceHolder:Clone()
  262.             newtextButton.Visible = true
  263.             newtextButton.Parent = script.Parent
  264.             newtextButton.Name = v.Name
  265.             newtextButton.Text = v.model.Text
  266.             newtextButton.MouseButton1Click:Connect(function()
  267.                 game.ReplicatedStorage:WaitForChild("DespawnCar"):FireServer()
  268.                 if newtextButton.Text == "(Renault) Premium 440" then
  269.                     game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer("prem")
  270.                 end
  271.                 game.ReplicatedStorage:FindFirstChild("SpawnCar"):FireServer(newtextButton.Name)
  272.             end)
  273.         end
  274.     end
  275. end
  276. coroutine.wrap(WVVI_fake_script)()
  277. local function GPTBMNL_fake_script() -- Menu.draggable
  278.     local script = Instance.new('LocalScript', Menu)
  279.  
  280.     script.Parent.Draggable = true
  281.     script.Parent.Selectable = true
  282. end
  283. coroutine.wrap(GPTBMNL_fake_script)()
  284. local function PNMY_fake_script() -- CloseScript.LocalScript
  285.     local script = Instance.new('LocalScript', CloseScript)
  286.  
  287.     script.Parent.MouseButton1Click:Connect(function()
  288.         script.Parent.Parent:Destroy()
  289.     end)
  290. end
  291. coroutine.wrap(PNMY_fake_script)()
  292.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement