local MoveHotbar1 = Player1.PlayerGui:WaitForChild("MobileMoveHotbar") local MoveHotbar2 = Player2.PlayerGui:WaitForChild("MobileMoveHotbar") wait(1) local Particle1 = script.Particles:Clone() local Particle2 = script.Particles:Clone() wait(1) Particle1.Parent = MoveHotbar1 Particle2.parent = MoveHotbar2
The Output: "Infinite Yield on Player1.PlayerGui:WaitForChild("MobileMoveHotbar")" "Infinite Yield on Player2.PlayerGui:WaitForChild("MobileMoveHotbar")"
Is there anyway around this? It can not find the Gui, but I assure you it is there.
This can happen if you are using the code in a regular script, if this is the case then consider moving the source code to a LocalScript
.