local i = 0
repeat
wait(math.random(50,100))
local clone = game.Lighting.LobbyCoin:Clone()
clone.Parent = game.Workspace
clone.CFrame = CFrame.new(math.random(-9.453,-93.575),math.random(87.8,95.95),math.random(87.413,-11.478))
until i==10
I want it to clone something in lighting and place it in those random cordinates.

1 comment
What in the code is not working? Please explain.