In the ServerStorage there is a part “Sand” with a script.
I decided to make a spawn, but not everything is so simple, part was spawned and it was impossible to interact with it. The script in part is correct, I checked.
script for spawn:
local serverstorage = game:GetService(“ServerStorage”)
local arrowSpawns2 = game.Workspace.ItemSpawnAreas.SandSpawns:GetChildren()[math.random(1, #game.Workspace.ItemSpawnAreas.SandSpawns:GetChildren())]
function play(delay,located)
wait(delay)
serverstorage:WaitForChild(“Sand”):Clone()
serverstorage:WaitForChild(“Sand”).CFrame = located.CFrame
serverstorage:WaitForChild(“Sand”):Clone().Parent = game.Workspace
end
while true do
play(5,arrowSpawns2)
end