4.9k Views
Description
Enjoy report bugs in comments or to my discord
Comments
5

Offline
flockmane 7 months ago
looped her
local replicated_storage = game:GetService("ReplicatedStorage")
local local_player = game:GetService("Players").LocalPlayer
local humanoid = local_player.Character:WaitForChild("Humanoid")
local net = replicated_storage.Shared.RBXUtil.Net
local fix_rust = net["URE/Fix Rust"]
local rust_instances = {
"UnionOperation",
"WedgePart",
"Part",
}
-- loop forever every X seconds
while task.wait(5) do -- change 5 to how often you want it to loop
local car_data = {}
for _, car_order in local_player:GetChildren() do
if not car_order.Name:find("OrderConfig") then
continue
end
local order_index = car_order:FindFirstChild("OrderIndex")
local car_object = car_order:FindFirstChild("CarObject")
if not order_index or not car_object then
continue
end
local data = {
order_index = order_index.Value,
car_object = car_object.Value,
required_parts = {},
}
table.insert(car_data, data)
end
if #car_data == 0 then
warn("no cars")
continue
end
for _, car in car_data do
local object = car.car_object
local car_body = object:FindFirstChildWhichIsA("Model")
if not car_body then
continue
end
local dirt_folder = car_body:FindFirstChild("Dirt")
if dirt_folder then
for _, dirt in dirt_folder:GetChildren() do
local decal = dirt:FindFirstChildWhichIsA("Decal")
if not decal or decal.Transparency == 1 then
continue
end
net["URE/Wash Dirt"]:FireServer(dirt)
end
end
for _, instance in car_body:GetChildren() do
if table.find(rust_instances, instance.Cl*Name) and instance.Material ~= Enum.Material.Metal then
fix_rust:FireServer(instance)
end
if instance.Name == "FuelCap" and instance:GetAttribute("Open") then
net["RE/Fuel
flockmanelooped her
local replicated_storage = game:GetServ...
Offline
CatBoyy 7 months ago
@flockmane i already made it loop
Offline
Chauunlnwzaa 7 months ago
w
Offline
Aaaaaahjddgf 6 months ago
It doesn't re air the tires
Offline
Grandma_on_Crack 2 months ago
make this as a loadstring that it confuses not a guy that is new in this scene or so and write along that the script is open source available for an example on github




