Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a1x=Instance.new("ScreenGui")
- a1x.Name="xGuiY"
- a1x.ResetOnSpawn=false
- a1x.Parent=game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")
- local b2y=Instance.new("Frame")
- b2y.Name="fMain"
- b2y.Size=UDim2.new(0,250,0,300)
- b2y.Position=UDim2.new(0.1,0,0.1,0)
- b2y.BackgroundColor3=Color3.fromRGB(35,35,35)
- b2y.BorderSizePixel=0
- b2y.Active=true
- b2y.Draggable=true
- b2y.Parent=a1x
- local c3z=Instance.new("TextLabel")
- c3z.Text="Scriptbox | Car Crash"
- c3z.Size=UDim2.new(1,0,0,30)
- c3z.BackgroundColor3=Color3.fromRGB(20,20,20)
- c3z.TextColor3=Color3.fromRGB(255,255,255)
- c3z.Font=Enum.Font.SourceSansBold
- c3z.TextSize=18
- c3z.Parent=b2y
- local d4w=Instance.new("TextButton")
- d4w.Text="Hide"
- d4w.Size=UDim2.new(0.5,0,0,30)
- d4w.Position=UDim2.new(0,0,1,-30)
- d4w.BackgroundColor3=Color3.fromRGB(255,70,70)
- d4w.TextColor3=Color3.fromRGB(255,255,255)
- d4w.Font=Enum.Font.SourceSans
- d4w.TextSize=16
- d4w.Parent=b2y
- local e5v=Instance.new("TextButton")
- e5v.Text="Show GUI"
- e5v.Size=UDim2.new(0,160,0,30)
- e5v.Position=UDim2.new(0.1,0,0.5,0)
- e5v.BackgroundColor3=Color3.fromRGB(60,180,75)
- e5v.TextColor3=Color3.fromRGB(255,255,255)
- e5v.Font=Enum.Font.SourceSans
- e5v.TextSize=16
- e5v.Visible=false
- e5v.Parent=a1x
- d4w.MouseButton1Click:Connect(function()
- b2y.Visible=false
- e5v.Visible=true
- end)
- e5v.MouseButton1Click:Connect(function()
- b2y.Visible=true
- e5v.Visible=false
- end)
- local function zxc(vtx,lol,fnk)
- local btn=Instance.new("TextButton")
- btn.Text=vtx
- btn.Size=UDim2.new(0.9,0,0,30)
- btn.Position=UDim2.new(0.05,0,0,lol)
- btn.BackgroundColor3=Color3.fromRGB(45,45,45)
- btn.TextColor3=Color3.fromRGB(255,255,255)
- btn.Font=Enum.Font.SourceSans
- btn.TextSize=16
- btn.Parent=b2y
- btn.MouseButton1Click:Connect(fnk)
- end
- zxc("Classic F1 Car",40,function()
- local x1={"Classic F1 Car"}
- game:GetService("ReplicatedStorage").SpawnCar:FireServer(unpack(x1))
- end)
- zxc("Lego Car",80,function()
- local x2={"Lego Car"}
- game:GetService("ReplicatedStorage").SpawnCar:FireServer(unpack(x2))
- end)
- zxc("Helicopter",120,function()
- local x3={"Helicopter"}
- game:GetService("ReplicatedStorage").SpawnCar:FireServer(unpack(x3))
- end)
- zxc("Phantom Wedge",160,function()
- local x4={"Phantom Wedge"}
- game:GetService("ReplicatedStorage").SpawnCar:FireServer(unpack(x4))
- end)
- zxc("Lightning McQueen",200,function()
- local x5={"Lightning Mcqueen"}
- game:GetService("ReplicatedStorage").SpawnCar:FireServer(unpack(x5))
- end)
Advertisement
Add Comment
Please, Sign In to add comment