stevenF50
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 2359 |
|
|
| 03 Feb 2013 07:29 AM |
function Regen() local person = script.Parent.Parent.Parent.Parent.Parent.Parent local name = person.Name local model = Game:GetService("InsertService"):LoadAsset(41993477) if( model:IsA("Model") ) then model.Name = name.." Truck" model.Truck.Owner.Value = name print(model.Name) if Workspace:FindFirstChild(name.." Truck") == nil then local tab = Game:GetService("InsertService"):Insert( model ) model:MoveTo(Workspace:FindFirstChild(script.Parent.Parent.Parent.Parent.Regen.Name..script.Parent.Parent.Parent.Parent.Regen.Value).Pos.Position) script.Parent.Parent.Parent.Parent:Remove() end end end script.Parent.MouseButton1Click:connect(Regen)
Where is it inserting the truck from? |
|
|
| Report Abuse |
|
|
stevenF50
|
  |
| Joined: 18 Sep 2009 |
| Total Posts: 2359 |
|
| |
|
|
| 03 Feb 2013 08:14 AM |
My assumption is you got this from free models...
LoadAsset(41993477) |
|
|
| Report Abuse |
|
|