The following scripts work perfectly when I test them out in solo in ROBLOX studio, but whenever I actually go in game they don't work. One is supposed to change the player's shirt and pants, and the other is supposed to give the player a GUI to choose a class from.
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(char)
if p.TeamColor.Name == "Bright green" then -- If you just want Bright red players having it
p:WaitForChild("PlayerGui")
game.ServerStorage["Class GUI2"]:clone().Parent = p.PlayerGui
end
end)
end)
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(char)
if p.TeamColor.Name == "Bright red" then -- If you just want Bright red players having it
p:WaitForChild("PlayerGui")
game.ServerStorage["Class GUI"]:clone().Parent = p.PlayerGui
end
end)
end)

3 comments
Is FilteringEnabled on [as it should be]?
Yeah.
Can you help?