Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.Enabled = true
- local fr = 0 -- leave this alone
- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/GreenDeno/Venyx-UI-Library/main/source.lua"))()
- local venyx = library.new("Driving Empire Car Setter", 5013109572)
- local themes = {
- Background = Color3.fromRGB(24, 24, 24),
- Glow = Color3.fromRGB(0, 0, 0),
- Accent = Color3.fromRGB(10, 10, 10),
- LightContrast = Color3.fromRGB(20, 20, 20),
- DarkContrast = Color3.fromRGB(14, 14, 14),
- TextColor = Color3.fromRGB(255, 255, 255)
- }
- local page = venyx:addPage("Test", 5012544693)
- local section1 = page:addSection("Set Your Car")
- for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MainHUD.Vehicles.Vehicles:GetDescendants()) do
- if v.Name == "VehicleName" then
- if v.Parent.Name ~= "Template" then
- section1:addButton(v.Text, function()
- _G.car = v.Parent.Name
- game:GetService("CoreGui")["Driving Empire Car Setter"]:Destroy()
- end)
- end
- end
- end
- venyx:SelectPage(venyx.pages[1], true)
- for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.Idled)) do
- v:Disable()
- end
- _G.r = false
- plr = game.Players.LocalPlayer.Name
- game:GetService("RunService").RenderStepped:Connect(function()
- if _G.Enabled == true then
- fr = fr + 1
- if fr >= 10 then
- fr = 0
- for i, v in pairs(game.Workspace.Vehicles:GetChildren()) do
- if v.Name == plr then
- wait(0.5)
- game.Workspace.Vehicles[plr].VehicleSeat.CFrame = CFrame.new(0, 350, 0)
- game.Workspace.Vehicles[plr].VehicleSeat.Velocity = Vector3.new(0, math.random(200, 300), math.random(500, 600))
- end
- end
- wait()
- local args = {
- [1] = "CarSpawnRemoveEvent",
- [2] = _G.car
- }
- game:GetService("ReplicatedStorage").Remotes.VehicleEvent:FireServer(unpack(args))
- _G.r = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement