Code :
local CEO = "hamoodiyt" local CEO2 = "Agenerousguy" local Manager = "YOBECOOLL11" game.Players.PlayerAdded:Connect(function(player) if CEO == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The CEO "..player.Name) elseif CEO2 == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The CEO "..player.Name) elseif Manager == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The Manager "..player.Name) else game.ReplicatedStorage.PlayerJoinedRE:FireAllClients(player.Name) end end)
And btw I get all these Errors that fill up my Output but its client-sided
20:26:37.057 Requested module was required recursively - Server 20:26:37.057 Stack Begin - Studio 20:26:37.057 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.057 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.057 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.057 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.057 Stack End - Studio 20:26:37.058 Requested module was required recursively - Server 20:26:37.058 Stack Begin - Studio 20:26:37.058 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.058 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.058 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.058 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.058 Stack End - Studio 20:26:37.059 Requested module was required recursively - Server 20:26:37.059 Stack Begin - Studio 20:26:37.059 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.059 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.059 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.059 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.060 Stack End - Studio 20:26:37.061 Requested module was required recursively - Server 20:26:37.061 Stack Begin - Studio 20:26:37.061 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.061 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.061 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.061 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.061 Stack End - Studio 20:26:37.062 Requested module was required recursively - Server 20:26:37.062 Stack Begin - Studio 20:26:37.062 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.062 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.063 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.063 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.063 Stack End - Studio 20:26:37.063 Requested module was required recursively - Server 20:26:37.063 Stack Begin - Studio 20:26:37.064 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.064 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.064 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.064 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.064 Stack End - Studio 20:26:37.065 Requested module was required recursively - Server 20:26:37.065 Stack Begin - Studio 20:26:37.065 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.065 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.065 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.065 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.065 Stack End - Studio 20:26:37.066 Requested module was required recursively - Server 20:26:37.066 Stack Begin - Studio 20:26:37.066 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:37.066 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:37.066 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:37.067 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:37.067 Stack End - Studio 20:26:38.236 Requested module was required recursively - Client 20:26:38.236 Stack Begin - Studio 20:26:38.237 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:38.237 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:38.237 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:38.237 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:38.237 Stack End - Studio 20:26:38.238 Requested module was required recursively - Client 20:26:38.238 Stack Begin - Studio 20:26:38.238 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:38.239 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:38.239 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:38.239 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:38.240 Stack End - Studio 20:26:38.240 Requested module was required recursively - Client 20:26:38.240 Stack Begin - Studio 20:26:38.240 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:38.240 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:38.240 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:38.241 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:38.241 Stack End - Studio 20:26:38.241 Requested module was required recursively - Client 20:26:38.242 Stack Begin - Studio 20:26:38.242 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function LoadComponent - Studio 20:26:38.242 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 892 - Studio 20:26:38.242 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 79 - Studio 20:26:38.242 Script 'cloud_144950355.Building Tools.Libraries.Signal', Line 46 - Studio 20:26:38.242 Stack End - Studio 20:26:38.243 Requested module was required recursively - Client 20:26:38.243 Stack Begin - Studio 20:26:38.243 Script 'cloud_144950355.Building Tools.Libraries.Cheer', Line 32 - function
Thanks
Your join checker is not working because you are using Else if's. You have to use separate is statements.
Correct method
local CEO = "hamoodiyt" local CEO2 = "Agenerousguy" local Manager = "YOBECOOLL11" game.Players.PlayerAdded:Connect(function(player) if CEO == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The CEO "..player.Name) end if CEO2 == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The CEO "..player.Name) end if Manager == player.Name then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients("The Manager "..player.Name) end if player.Name ~= CEO or player.Name ~= CEO2 or player.Name ~= Manager then game.ReplicatedStorage.PlayerJoinedRE:FireAllClients(player.Name) end end)
And all those error messages are because you implemented a module incorrectly.
Here you can see your console output, to see what is actually causing the error