Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db = false
- local plr = game.Players.LocalPlayer
- script.Parent.ClickDetector.MouseClick:Connect(function(player)
- local car = game.ServerStorage:WaitForChild("KMAR1")
- if not game.Workspace:FindFirstChild("car"..player.Name.."1") then
- if game.Players[plr]:GetRoleInGroup(5464012) >= 1 then
- if car ~= nil and db == false then
- db = true
- local CloneCar = car:Clone()
- CloneCar.Parent = game.Workspace
- CloneCar.Name = "car"..player.Name.."1"
- db = false
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement