Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

dropper? script? please? pease? plase? droppper? [closed]

Asked by
mqop3434 -64
4 years ago
Edited 4 years ago

bosy bosy bosy bosy bosy bosy

0
uhh, you have to ask a question, with your code, your not allowed to do this? gamernight687 138 — 4y

Closed as Not Constructive by Leamir

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
-1
Answered by 4 years ago

Hello,

I'm just gonna start things off by saying that ScriptingHelpers is not a request site, so please keep that in mind! As for your request, I have decided that I would like to answer it for you. If you are intending to make a dropper for a tycoon, you would simply just need a script to make a new instance of a part, spawned from the dropper. A simple way to do this is to use Instance.new("Part"). This will create a new part upon the script running. If you would like the dropper to constantly spawn parts, you can use the function while true do, which constatly repeats whatever is inside the function. You can then use a wait() function to give it timer on how many times to spawn a part.

Here is what you would do if you would like a dropper to constantly spawn parts.

function Dropper()
  local Part = Instance.new("Part")
     Part.Position = script.Parent.Position
     Part.Size = Vector3.new(1,1,1) -- Change 1,1,1 to the size you would like
     Part.BrickColor = BrickColor.new("Institutional white") -- Change Industrioanl white to the colour you would like
     Part.BottomSurface = 0
     Part.TopSurface = 0
     Part.Name = "DropperPart" -- Change DropperPart to what you want your part to be named or you can delete it if you don't want a name.
     Part.Parent = script.Parent
end 


while true do
     wait(1)
     Dropper(0)
end

Hope this helped, if so, feel free to accept my answe!

Ad