Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local radius = 15 -- put this entire script in ServerScriptService
- while true do
- for _, player in pairs(game.Players:GetPlayers()) do
- if player::DistanceFromCharacter(Vector3.new(-4, 1.807, 21.5)) < radius then
- if game.Workspace:FindFirstChild("Part/Model Name") == nil then
- print(player.Name.. " spawned a car!")
- local s = game.Lighting.CarTest:Clone()
- s.Parent = game.Workspace
- end
- end
- end
- wait(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment