script.Parent.MouseButton1Down:Connect(function() for i, v in pairs(game.Players:GetPlayers()) do local playergui = v:FindFirstChild("PlayerGui") if playergui then local gui = v:WaitForChild("PlayerGui") if gui then local Hoh = gui:WaitForChild("#HOH") if Hoh then Hoh.LocalScript.Disabled = false end end end end end)
I looped through all the players once I click a text button. The local script is suppose to make a gui tween across the screen for everyone. I tried it and it only tweens across the screen for the person that clicked the text button. Its like it completely ignored the loop that makes it tween across the screen to everyone. Anyone got any answers? I am really really confused.
You should probarly use a remote that fires all clients, a serverscript cant access the playergui