Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How Would I Pass A Text With Remote Events?

Basically, I Want To Do A Notification Function And Is Used For Multiple Times, I Used Remote Events Because I'm Using 2 Scripts For This.

The Problem Is That How Would You Pass Text In A Remote Event?

My Script:

Game Script

	eventTable[2]:FireAllClients(--- What Do I Put In)

Gui Script

function Notify()
	local Notify = this.WaitingGuis.Notify.BG.Loading
	local BG = this.WaitingGuis.Notify
	BG:TweenPositon(UDim2.new(0.1, 0,0.09, 0), "Out", "Quad", 1, false)
        
end

1 answer

Sending local client guis through RemoteEvent is bad. You shall rather do all the gui work using the client.

2 comments

0

So Do You Mean Using The Gui Script ( Local Script ) Is Bad For Remote Events? I Only Passed It From The Game Script.

0

You are trying to fire the text to the server through an RemoteEvent, all the gui work shall be done using the client. Just take a note on that, you can fire RemoteEvents to the server but its expensive.

This discussion is preserved as it was. New answers, comments, and votes are closed.