Button.MouseButton1Down:Connect(function()
script.Parent.Parent.Visible = false
local Red = math.floor(ColorValue.Value.R*255)
local Green = math.floor(ColorValue.Value.G*255)
local Blue = math.floor(ColorValue.Value.B*255)
local Color = Color3.new(Red,Green,Blue)
RemoteEvent:FireServer(Color,TextBold.Value,Text.Value)
end)
``` here is the client script
```lua
RemoteEvent.OnServerEvent:Connect(function(Player,ColorValue,TextBold,Text)
local Sign = Player.Character:FindFirstChild("Sign")
print(ColorValue)
Sign.MainPart.GUI.TextLabel.Text = Text
Sign.MainPart.GUI.TextLabel.TextColor3 = Color3.fromRGB(ColorValue)
print(Sign.MainPart.GUI.TextLabel.TextColor3)
Sign.MainPart.GUI.TextLabel.FontFace.Bold = TextBold
end)
``` and here is the serverscript, when i try to print the colorValue in the server it gives me the exact number but it dosent change the textcolor when i tried to print the textcolor it was 0,0,0
#Help with firing a color3 from a client to a server
14 messages · Page 1 of 1 (latest)
answer me i need to fix this
I don't think you can change interface on the sever
At least fully, there are some limited interactions
ye but it prints the color very well in the server it prints
but when i try to change the color for the text it just dosent it makes the color 0,0,0
is sign a part/model and gui a Billboard/surface gui?
sign is a tool, and in it there is Handle, and in the handle there is a surface gui
What if you don't change font face at the end?
I have a hunch it has to do with that
Just to be sure, does it print out a rgb color or a color3?