#How can i make parts that spawns in random items?
28 messages · Page 1 of 1 (latest)
How can i make parts that spawns in a random item?
How can i make parts that spawns in a random items?
How can i make parts that spawns in random items?
can u explain more
the part spawns in a random item
what do you mean by items
You can make a Table, check how many items there is within the Table such as #Table, use math.random
local Folder = workspace.Folder:GetChildren()
local RandomItems = math.random(1,#Folder)
warn(Folder,RandomItems)
print(Folder[RandomItems].Name)
Put it inside a ServerStorage
then you can parent it to the workspace
better put it in replicatedstorage
It's a script
the folder of items
It can be placed in either or
right
with yours it's in workspace
doesn't matter
just serverstorage would be bad
how come
fair
i'm pretty new to scripting so idk how to bring a clone to the part