Okay so I am currently working on a sword fighting game and there are these Orbs that clone around the map, Called "Timepart12" from ReplicatedStorage.
When you touch them, you get 20 "Time" as a leaderstat.
Sometimes when players walk into them, they get more than that because they sometimes spawn inside of each other, as this script doesn't put them at a specific position.
while true do wait(math.random(30,90)) game.Lighting.Timepart12:Clone().Parent = game.Workspace wait(10) end
so I want to still use a while true do, and make these '"Timepart12"'s :Clone in a random position within a Base plate that is 272, 13, 272 in size.
I am really new to this whole scripting thing so maybe you can provide me with some information inside of the script like what to change.
I would appreciate it! Thank You!

4 comments
by randomly clone, I mean (X,Z) not vertically
use vector3 with each parameter being math.random with the max being 272 and y being 13
can you put that in a script for me im dumb :/
hey