I'm trying to make it so when a player joins then the Color3Value will change to Color3.new(50,50,50) for the first time. When I tested it how I wanted it to go, it changed it to Color3.new(12750, 12750, 12750) and I have no idea where it got that number from. Then I tried to do it just when the player was added to see if it was a RemoteEvent issue to find out that it did the same thing when the player joined. Here is my script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local PlayerAddedEvent = game.ReplicatedStorage.PlayerAddedEvent
local Playername = nil
local Counter = 0
local Gui = game.Workspace.Dummy.BillboardGui
local GuiClone = Gui:Clone()
local NameLabel = GuiClone.NameLabel
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(Char)
if Counter == 0 then
Counter = Counter + 1
plr.Team = game.Teams.Joining
plr.RespawnLocation = game.Workspace.TeamSpawns.JoiningSpawn
end
local hum = Char:WaitForChild("Humanoid")
if hum then
hum.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOff
hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
Playername = plr
Character = Char
NameLabel.Text = Char.Name
game.ReplicatedStorage.Color3Valuee.Value = Color3.new(50,50,50)
game.ReplicatedStorage.PlayerAddedEvent:FireClient(plr)
end
end)
Any help would be great!

2 comments
Your welcome
Thank you!