Hi, I need a script for the Car Paint GUI, meaning that when I get into the game I show the GUI, with the option to change the car color, and when I click the black car will change to black, is there anyone who will help me? I would be grateful
Painting my cars, using the GUI, I need help?
2 answers
You should attempt to make a code, otherwise you'll end up with the same results as I had, none. I'd recommend a RemoteEvent, StarterGUI Buttons + LocalScripts inside of them to trigger the remote event then a ServerScript inside of ServerScriptStorage.
In terms of GUI:
1.You can create General scrolling frame
2.Inside that you can insert ImageButtons(Depending on number of colors you want car to be painted with) with blank solid color images.
When it comes to scripting:
1.You can make local script which will listen to Buttons being pressed
2.Then send color via RemoteEvent to server with FIreServer(Color)
3.Then in server script you can listen to that with OnServerEvent(PlayerWhoFired, Color) and paint car into the color passed.
This discussion is preserved as it was. New answers, comments, and votes are closed.
