남한 이즈 베스트 코리아 i want to change the value of Color3 by using fireserver!

game.ReplicatedStorage.remote.remote1:FireServer('basicwhite','255, 255, 255')
--After i send a signal through this script



--Replace the Color3 value of Shirt Graphic with 255, 255, 255.
game.ReplicatedStorage.remote.remote1.OnServerEvent:Connect(function(c, f, n)
	c.Character:FindFirstChild('Shirt Graphic').Color3 = n
end)

But when I get this message, the script doesn’t work. What should I do?

1 Like

Hi, you placed numbers in the string, so it wont work.

Try this:

game.ReplicatedStorage.remote.remote1:FireServer(255,255,255)

1 Like

You are passing a string not a color3. You just need to change the ‘255, 255, 255’ to a color3:

game.ReplicatedStorage.remote.remote1:FireServer('basicwhite', Color3.fromRGB(255, 255, 255))
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.