Script doesnt register TextBox text

I really hope youre joking, like I really do.

1 Like

that looks right :+1:.
I think that using remotes is your best option considering you can just rely on the server!

1 Like

I honestly dont know what your going for I took time out of my day to look into what ur doing lol thanks for the respect my guy

1 Like

Bruh, seriously? He’s talking about colour of in-game Text, not script colours. Please read context before posting…

1 Like

thanks my g I didnt need ur input?

1 Like

Nor did they need yours on “How To Change Colors Of Text In ROBLOX STUDIO { 2020 }”, but thanks.

1 Like

I looked through it again and found my mistake on the post

1 Like

Well thanks for explaining me but I still dont understand like what to put where the “data” is.

Like should player.PlayerGui.LoadoutGui.Loadout.SpawnMenu.Loadout.RGB.Text be in there.

Or should

target.Color = Color3(color)
						print(color)

be in “-- stuff here”

Sorry but I literally just dont understand it.

Im used to logical thinking and this has no logic to it at all for me.

1 Like

You would put the TextBox’s Text there. (player.PlayerGui.LoadoutGui.Loadout.SpawnMenu.Loadout.RGB.Text)

It should.

Most stuff doesn’t make much sense unless you look deeper into it.

1 Like

I guess you used script instead of local script

1 Like

That would be a good guess I would say.

Not really a guess since its literally there in the post description.

1 Like

i don’t understand your problem. People already said to use remote events and that is a correct answer

1 Like

The problem is that my 2 brain cells cant understand remote events so someone is explaining it to me.

1 Like

You create 3 instances: local script,remote event and normal script. In normal script you make a function that handles local request with function RemoteEvent.OnServerEvent(player,data):Connect(function())
and in local script you fire the function with RemoteEvent:FireServer(data)

1 Like

That’s why you need to do it from a LocalScript.

I actually tried using remote events before I made this post.

This is the error message that I got then too.

Alright Im gonna tell you what happens once I try that.

You think this will work?

task.spawn(function()
	RemoteEvent.OnServerEvent(function(player, data)
		value.Value = RGB1
		print(value)
		wait(0.1)
	end)
end)

You need to put that in a regular script and change the RGB1 to data. Also remove the wait, why is it there?