UsernameRTX

Driving Simulator Car Modifier

May 1st, 2021
5,127
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local MarketplaceService = game:GetService("MarketplaceService")
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3.  
  4. local Library = loadstring(game:GetObjects("rbxassetid://4133667265")[1].Source)("Library by wally")
  5. local CreateWindow = Library:CreateWindow(MarketplaceService:GetProductInfo(game.PlaceId).Name)
  6.  
  7. local CarRefUtil = require(ReplicatedStorage.src.pcar.CarRefUtil)
  8.  
  9. local ServerAlert = ReplicatedStorage.remotes:FindFirstChild("ServerAlert")
  10. if ServerAlert then
  11.     ServerAlert:Destroy()
  12. end
  13.  
  14. local Section = CreateWindow:Section("Car Modifier")
  15. for Index, Value in pairs(CarRefUtil.getCarModule("Noire")) do
  16.     local Box = CreateWindow:Box(tostring(Index), {
  17.         flag = tostring(Index),
  18.         type = typeof(Value)
  19.     }, function(Box, New, Old, Enter)
  20.         for _, Value2 in pairs(CarRefUtil.getAllCarReferences()) do
  21.             rawset(require(Value2.Module), tostring(Index), New)
  22.         end
  23.     end)
  24. end
RAW Paste Data