Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I get a tycoon money giver drop a brick with a mesh?

So I am making a tycoon and I am trying to get the Drop not just drop a part. I mean that as in I want it to drop it with a mesh like instead of just a brick a sword but I cant find out how to get my script to do so. If you know how to get it to be like this just let me know. Thank you have a good day! :)

Everything after the Drop script is the script to let you know.Sometimes this website doesn't always show it right.

My drop script:

function fire() local p = Instance.new("Part") p.Position = script.Parent.Position

p.BottomSurface = 0
p.TopSurface = 0
p.Name = "TycoonBrick" 
p.Parent = script.Parent

end

while true do wait(2.5) fire() end

1 answer

✓ Accepted answer

Either clone the mesh and parent th clone to the brick, or use Instance.new() to create it and then set its properties before parenting it to the brick.

Both of these methods would go inside your fire function.

1 comment

0

Thank you

This discussion is preserved as it was. New answers, comments, and votes are closed.