|
| 01 Jun 2016 09:00 PM |
I already have the basics to my tycoon down. I just need some additional support. For one of my droppers, I already have a completed script that spawns simple bricks. Where in the script would I insert a mesh ID or texture to change what the item dropped looks like?
wait(2) workspace:WaitForChild("PartStorage")
while true do wait(1.5) -- How long in between drops local part = Instance.new("Part",workspace.PartStorage) part.BrickColor=script.Parent.Parent.Parent.DropColor.Value part.Material=script.Parent.Parent.Parent.MaterialValue.Value local cash = Instance.new("IntValue",part) cash.Name = "Cash" cash.Value = 5 -- How much the drops are worth part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0) part.FormFactor = "Custom" part.Size=Vector3.new(1.2, 1.2, 1.2) -- Size of the drops part.TopSurface = "Smooth" part.BottomSurface = "Smooth" game.Debris:AddItem(part,20) -- How long until the drops expire end
|
|
|
| Report Abuse |
|
|
|
| 01 Jun 2016 09:01 PM |
As you can see, the script is not mine.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 02 Jun 2016 03:21 PM |
Invite me to team crate and give me the link to the game
|
|
|
| Report Abuse |
|
|