I've been trying to do this for weeks at this point and I can't seem to get anything to come up. I t always works in studio but when i launch a server it does not appear. Any help would be appreciated at this point

Script in SSS

local text = "ABORTnite"

game:GetService("ReplicatedStorage").gui:FireAllClients(text)

LocalScript

local bext = game.Players.LocalPlayer.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("TextLabel")


game:GetService("ReplicatedStorage").gui.OnClientEvent:Connect(function(text)
bext.Text = text
end)

3 comments

0

put the local script in the textlabel and use script.Parent instead of bext variable

0

I do the exact same thing and it works online. It's probably bext

0

I think the issue here is you're referring to the PlayerGui. Put the Local Script in the textlabel in the starter gui itself so the game doesn't have to retrace its steps with this.