Hello! I cant really find the Position of here and put it inside the coin. Everytime I do it it messes it up. This script is a script so it spawns in a different area but everything I try to change it it messes up and doesnt work and doesnt pop up. Is there a way i can fix this or can somebody do it for me? Or can somebody explain to me how to do it? If so thanks!
local coin = game.ServerStorage.Coin β Path to coin
Could you post a video of what the problem actually looks like?
I donβt quiet understand.
Edit:
This should work (assuming you have the coords right)
local coin = game:GetService("ServerStorage"):WaitForChild("Coin")
while true do
local clone = coin:Clone()
clone.Parent = workspace
clone.Position = Vector3.new(math.random(-226, 234), 2.834, math.random(-230, 231))
wait(math.random(1, 15))
end
So like I am trying to find the position of the area so i can put it inside the Coin so it spawns in that area but Im just having some problem finding the position and where to put it.
Well the best way to go around this is to have preset locations for the coin spawns.
The other way to do this is spawn the coin relative to a player. Maybe get position of player and add a vector3 value to it. Not too sure.