I have a textbutton in my gui and I named them specially. The gui is called clean and the button is called serverclean1.
I tried the following code:
game.StarterGui.clean.serverclean1
regenallcars=game.workspace.racercars racercars: remove()
--note: be sure to tap the regens first.
--I'm definately an idiot at scripting.

2 comments
Ok, thanks! :)
The "racercars: remove()" part is highlighted in blue, did it break partially?