while true do
wait(0.25)
local pos1 = math.random(-163.245,163.245)
local pos2 = math.random(-163.245,163.245)
local coin = game.ServerStorage.Coin:Clone(game, workspace)
coin.Position = Vector3.new(pos1, 21, pos2)
end?
I've been trying to spawn in coins at random position why wont this work?
here is the error in output "ServerScriptService.Script:10: unexpected symbol near '?"

4 comments
You have a random question mark next to your end
You have a syntax error. Syntax errors are what prevent your code from compiling in the first place
how do i fix this syntax error?
u delete the question mark