So what ive done is ive tried making a code where it uses math.random to spawn items, and im trying to find out whats wrong with it but its not showing in the output
math.random(1,2)
wait(2)
if math.random = 1 then
game.ReplicatedStorage.Square:Clone().Parent = workspace
wait(2)
if math.random = 2 then
game.ReplicatedStorage.Triangle:Clone().Parent = workspace
Please help me fix it
