0% found this document useful (0 votes)
6 views5 pages

Universal Vehicle Script for Roblox

VAI SE FODE

Uploaded by

jatomijado009
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

Universal Vehicle Script for Roblox

VAI SE FODE

Uploaded by

jatomijado009
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local VenyxLibrary =

loadstring(game:HttpGet("[Link]
scripts/main/Universal%20Vehicle%20Script/[Link]"))()
local Venyx = [Link]("Venyx | [UVS] Universal Vehicle Script |
shawnjbragdon#0001", 5013109572)

local Players = game:GetService("Players")


local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = [Link]

local Theme = {
Background = [Link](61, 60, 124),
Glow = [Link](60, 63, 221),
Accent = [Link](55, 52, 90),
LightContrast = [Link](64, 65, 128),
DarkContrast = [Link](32, 33, 64),
TextColor = [Link](255, 255, 255)
}

for index, value in pairs(Theme) do


pcall([Link], Venyx, index, value)
end

local function GetVehicleFromDescendant(Descendant)


return
Descendant:FindFirstAncestor([Link] .. "\'s Car") or
(Descendant:FindFirstAncestor("Body") and
Descendant:FindFirstAncestor("Body").Parent) or
(Descendant:FindFirstAncestor("Misc") and
Descendant:FindFirstAncestor("Misc").Parent) or
Descendant:FindFirstAncestorWhichIsA("Model")
end

local function TeleportVehicle(CoordinateFrame: CFrame)


local Parent = [Link]
local Vehicle =
GetVehicleFromDescendant([Link]:FindFirstChildWhichIsA("Humanoid").S
eatPart)
[Link] = Vehicle
local success, response = pcall(function()
return Vehicle:SetPrimaryPartCFrame(CoordinateFrame)
end)
if not success then
return Vehicle:MoveTo([Link])
end
end

local vehiclePage = Venyx:addPage("Vehicle", 8356815386)


local usageSection = vehiclePage:addSection("Usage")
local velocityEnabled = true;
usageSection:addToggle("Keybinds Active", velocityEnabled, function(v)
velocityEnabled = v end)
local flightSection = vehiclePage:addSection("Flight")
local flightEnabled = false
local flightSpeed = 1
flightSection:addToggle("Enabled", false, function(v) flightEnabled = v end)
flightSection:addSlider("Speed", 100, 0, 800, function(v) flightSpeed = v / 100
end)
local defaultCharacterParent
[Link]:Connect(function()
local Character = [Link]
if flightEnabled == true then
if Character and typeof(Character) == "Instance" then
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
if Humanoid and typeof(Humanoid) == "Instance" then
local SeatPart = [Link]
if SeatPart and typeof(SeatPart) == "Instance" and
SeatPart:IsA("VehicleSeat") then
local Vehicle = GetVehicleFromDescendant(SeatPart)
if Vehicle and Vehicle:IsA("Model") then
[Link] = Vehicle
if not [Link] then
if [Link] == Vehicle then
[Link] = SeatPart
else
[Link] =
Vehicle:FindFirstChildWhichIsA("BasePart")
end
end
local PrimaryPartCFrame =
Vehicle:GetPrimaryPartCFrame()

Vehicle:SetPrimaryPartCFrame([Link]([Link],
[Link] + [Link]) *
(UserInputService:GetFocusedTextBox() and [Link](0, 0, 0) or
[Link]((UserInputService:IsKeyDown([Link].D) and flightSpeed) or
(UserInputService:IsKeyDown([Link].A) and -flightSpeed) or 0,
(UserInputService:IsKeyDown([Link].E) and flightSpeed / 2) or
(UserInputService:IsKeyDown([Link].Q) and -flightSpeed / 2) or 0,
(UserInputService:IsKeyDown([Link].S) and flightSpeed) or
(UserInputService:IsKeyDown([Link].W) and -flightSpeed) or 0)))
[Link] =
[Link](0, 0, 0)
[Link] =
[Link](0, 0, 0)
end
end
end
end
else
if Character and typeof(Character) == "Instance" then
[Link] = defaultCharacterParent or [Link]
defaultCharacterParent = [Link]
end
end
end)
local speedSection = vehiclePage:addSection("Acceleration")
local velocityMult = 0.025;
speedSection:addSlider("Multiplier (Thousandths)", 25, 0, 50, function(v)
velocityMult = v / 1000; end)
local velocityEnabledKeyCode = [Link].W;
speedSection:addKeybind("Velocity Enabled", velocityEnabledKeyCode, function()
if not velocityEnabled then
return
end
while UserInputService:IsKeyDown(velocityEnabledKeyCode) do
[Link](0)
local Character = [Link]
if Character and typeof(Character) == "Instance" then
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
if Humanoid and typeof(Humanoid) == "Instance" then
local SeatPart = [Link]
if SeatPart and typeof(SeatPart) == "Instance" and
SeatPart:IsA("VehicleSeat") then
[Link] *= [Link](1 +
velocityMult, 1, 1 + velocityMult)
end
end
end
if not velocityEnabled then
break
end
end
end, function(v) velocityEnabledKeyCode = [Link] end)
local decelerateSelection = vehiclePage:addSection("Deceleration")
local qbEnabledKeyCode = [Link].S
local velocityMult2 = 150e-3
decelerateSelection:addSlider("Brake Force (Thousandths)", velocityMult2*1e3, 0,
300, function(v) velocityMult2 = v / 1000; end)
decelerateSelection:addKeybind("Quick Brake Enabled", qbEnabledKeyCode, function()
if not velocityEnabled then
return
end
while UserInputService:IsKeyDown(qbEnabledKeyCode) do
[Link](0)
local Character = [Link]
if Character and typeof(Character) == "Instance" then
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
if Humanoid and typeof(Humanoid) == "Instance" then
local SeatPart = [Link]
if SeatPart and typeof(SeatPart) == "Instance" and
SeatPart:IsA("VehicleSeat") then
[Link] *= [Link](1 -
velocityMult2, 1, 1 - velocityMult2)
end
end
end
if not velocityEnabled then
break
end
end
end, function(v) qbEnabledKeyCode = [Link] end)
decelerateSelection:addKeybind("Stop the Vehicle", [Link].P, function(v)
if not velocityEnabled then
return
end
local Character = [Link]
if Character and typeof(Character) == "Instance" then
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
if Humanoid and typeof(Humanoid) == "Instance" then
local SeatPart = [Link]
if SeatPart and typeof(SeatPart) == "Instance" and
SeatPart:IsA("VehicleSeat") then
[Link] *= [Link](0, 0, 0)
[Link] *= [Link](0, 0, 0)
end
end
end
end)
local springSection = vehiclePage:addSection("Springs")
springSection:addToggle("Visible", false, function(v)
local Character = [Link]
if Character and typeof(Character) == "Instance" then
local Humanoid = Character:FindFirstChildWhichIsA("Humanoid")
if Humanoid and typeof(Humanoid) == "Instance" then
local SeatPart = [Link]
if SeatPart and typeof(SeatPart) == "Instance" and
SeatPart:IsA("VehicleSeat") then
local Vehicle = GetVehicleFromDescendant(SeatPart)
for _, SpringConstraint in pairs(Vehicle:GetDescendants())
do
if SpringConstraint:IsA("SpringConstraint") then
[Link] = v
end
end
end
end
end
end)
repeat
[Link](0)
until game:IsLoaded() and [Link] > 0
if [Link] == 3351674303 then
local drivingEmpirePage = Venyx:addPage("Wayfort", 8357222903)
local dealershipSection = drivingEmpirePage:addSection("Vehicle Dealership")
local dealershipList = {}
for index, value in
pairs(workspace:WaitForChild("Game"):WaitForChild("Dealerships"):WaitForChild("Deal
erships"):GetChildren()) do
[Link](dealershipList, [Link])
end
dealershipSection:addDropdown("Dealership", dealershipList, function(v)

game:GetService("ReplicatedStorage").[Link]:FireServer("Enter", v)
end)
elseif [Link] == 891852901 then
local greenvillePage = Venyx:addPage("Greenville", 8360925727)
elseif [Link] == 54865335 then
local ultimateDrivingPage = Venyx:addPage("Westover", 8360954483)
elseif [Link] == 5232896677 then
local pacificoPage = Venyx:addPage("Pacifico", 3028235557)
end
local infoPage = Venyx:addPage("Information", 8356778308)
local discordSection = infoPage:addSection("Discord")
discordSection:addButton(syn and "Join the Discord server" or "Copy Discord Link",
function()
if syn then
[Link]({
Url = "[Link]
Method = "POST",
Headers = {
["Content-Type"] = "application/json",
["Origin"] = "[Link]
},
Body = game:GetService("HttpService"):JSONEncode({
cmd = "INVITE_BROWSER",
args = {
code = "afSxatJjTg"
},
nonce = game:GetService("HttpService"):GenerateGUID(false)
}),
})
return
end
setclipboard("[Link]
end)

You might also like