IAmBW
|
  |
| Joined: 13 Jan 2013 |
| Total Posts: 698 |
|
|
| 29 Oct 2017 06:05 PM |
game.ReplicatedStorage.spawn.OnServerEvent:connect(function(plr, cartype) if basically if u got the car == true then if workspace:findFirstChild('Car_'..plr.Name..'') then workspace['Car_'..plr.Name..'']:Destroy() else local car = game.ServerStorage[cartype]:Clone() car.Name = ('Car_'..plr.Name..'') car.Parent = game.Workspace car:SetPrimaryPartCFrame(CFrame.new(plr.Character.Head.Position) + Vector3.new(-2,0,0) * CFrame.Angles(plr.Character.HumanoidRootPart.CFrame.lookVector)) end else plr:Kick("Kicked for: Attempting to spawn '"..cartype.."' without owning it.") end end)
scripter is as scripter does |
|
|
| Report Abuse |
|
|
IAmBW
|
  |
| Joined: 13 Jan 2013 |
| Total Posts: 698 |
|
|
| 29 Oct 2017 06:36 PM |
B
scripter is as scripter does |
|
|
| Report Abuse |
|
|
| |
|
IAmBW
|
  |
| Joined: 13 Jan 2013 |
| Total Posts: 698 |
|
|
| 29 Oct 2017 06:56 PM |
Spawn a car infront of the player facing the same way as the player.
scripter is as scripter does |
|
|
| Report Abuse |
|
|
IAmBW
|
  |
| Joined: 13 Jan 2013 |
| Total Posts: 698 |
|
|
| 29 Oct 2017 07:03 PM |
B
scripter is as scripter does |
|
|
| Report Abuse |
|
|
IAmBW
|
  |
| Joined: 13 Jan 2013 |
| Total Posts: 698 |
|
|
| 29 Oct 2017 07:19 PM |
B2
scripter is as scripter does |
|
|
| Report Abuse |
|
|