Hey guys! Just wondering how I could solve this issue. I have code that spawns these orbs (Which are called dogecoin in the script) but they aren’t falling. I see a few fall for a split second but then they stop and just sit there. Any ideas on what could be causing this? Script:
local doge = script.Parent
local dogecoin = game.ServerStorage.Dogecoin
while true do
if doge.Parent == "ServerStorage" then
print("Doge is not purchased yet")
else
local dogecoinClone = dogecoin:Clone()
dogecoinClone.CFrame = doge.CFrame + doge.CFrame.LookVector * Vector3.new(2, 0, 2)
dogecoinClone.Parent = game.Workspace
dogecoinClone.Anchored = false
end
wait(5)
end
Thank you for reading and replying if you are going to reply!
The script kinda makes no sense. I suppose the script is inside the orb, which is in ServerStorage, then somehow you grab that orb and place it in workspace, then the script start to run, and its checking if its not in SeverStorage… which is useless, obviously its not in ServerStorage cause it started to run.
Then if its not in ServerStorage, it clones a Dogecoin from ServerStorage per iteration of the while loop each 5 seconds, but the thing that holds this script is it not anchored too?