I'm making a game with keys, I have a little timer and when it reaches zero, the key is supposed to respawn, but when I play test, it gives me this error...
"YellowSpawn is not a valid member of workspace" -- yellow spawn is the key spawn
Here is my script:
game.ReplicatedStorage.Values.Seconds.Changed:Connect(function() if game.ReplicatedStorage.Values.Seconds.Value == 0 then wait(1) game.ReplicatedStorage.Values.Seconds.Value = 6 workspace.YellowKey.Handle.Position = workspace.YellowSpawn.Position -- This is the part end end)
Thank you if you can help!
Ensure that your part is either anchored and/or disable collision to maintain it from moving.
If you cant find you part in workspace, can collide maybe made it fall...