How do you make a script that lets only specific teams you want to access a car spawner??
not a request site, please give a script to fix/help with next time
local teams = game:GetService'Teams' game.Workspace.SpawnCarButton.ClickDetector.MouseClick:Connect(function(player) if player.Team = teams.team_name then spawncar() end end) fuction spawncar() car:Clone().Parent = game.Workspace end