Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Would I Pass A Text With Remote Events?

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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

0
So Do You Mean Using The Gui Script ( Local Script ) Is Bad For Remote Events? I Only Passed It From The Game Script. Brioche_Noodle 45 — 3y
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. cooIfds 5 — 3y
Ad

Answer this question