local RS = game:GetService("ReplicatedStorage")
local REs = RS:WaitForChild("REs")
local rE = REs:WaitForChild("Notify")
game.Players.PlayerAdded:connect(function(player)
if player.Team == game.Teams.Lobby then
rE:FireClient(player)
end
end)
local script -
local RS = game:GetService("ReplicatedStorage")
local REs = RS:WaitForChild("REs")
local rE = REs:WaitForChild("Notify")
local money = game.StarterGui.Money
rE.OnClientEvent:Connect(function()
money.Enabled = false
print("hi") -- it prints hi however.
end)
This doesn’t do anything? You can hide the money Gui, OP was indexing the wrong container (StarterGui over PlayerGui). There’s no need to change the Gui’s parent in any case and Workspace shouldn’t be involved at all.