I need help, when I do "Paging " .. Department the department wont show

Hello there everyone. I am having a slight issue. I am making a paging system for a hospital I own. I am on the very last step to get this working. But when I run the OnAllClients to show the GUI for everyone, the text label dose not show the information I want it to.

I have checked the Department and Location string value in game and they are both the correct information. But when the script is done running, the text label only shows Paging to

Here is the script:

local Event = game:GetService("ReplicatedStorage"):WaitForChild("Event")
local textLabel = script.Parent
local Player = game:GetService('Players').LocalPlayer
local Department = Player.PagingSystem.Frame.WhoToPageButtons.Pt1.Value
local Location = Player.PlayerGui.PagingSystem.Frame.Location.Value.Value



local Pt1 = Department
local Pt2 = Location





Event.OnClientEvent:Connect(function()
	textLabel.Text = "Paging " .. Department .. "to " .. Location
end)

I am assuming you forgot to include PlayerGui on this line.

Are you certain that whatever is responsible for setting those values is doing so correctly/at all?

1 Like

Yes I am sure, I went the exact route into the player ui and the values are there, just not on the screen.

I will try your solution tomorrow.