Problem with Text(box/label)

You forgot to put the Text property because the script try to change the Instance no the Text.
Solution:

game.ReplicatedStorage.MeldingSysteem.MeldingOntvangen.OnServerEvent:Connect(function(Melding)
	game.Players.LocalPlayer:WaitForChild("PlayerGui").MeldingOntvang.LocatieTekst.Text = Melding
end)

The same problem…
image

I want view what local script print out:
Can you put this:

game.ReplicatedStorage.MeldingSysteem.MeldingOntvangen.OnServerEvent:Connect(function(Melding)
       print(Melding)
       game.Players.LocalPlayer:WaitForChild("PlayerGui").MeldingOntvang.LocatieTekst.Text = Melding
end)

And tell what print?

Sorry i has wrong, there is the solution:

game.ReplicatedStorage.MeldingSysteem.MeldingOntvangen.OnClientEvent:Connect(function(Melding)
       print(Melding)
       game.Players.LocalPlayer:WaitForChild("PlayerGui").MeldingOntvang.LocatieTekst.Text = Melding
end)

I think it works now, i have founded the problem!

This is the solution, script:

game.ReplicatedStorage.MeldingSysteem.MeldingOntvangen.OnClientEvent:Connect(function(Melding)
	print(Melding)
	game.Players.LocalPlayer:WaitForChild("PlayerGui").TelefoonUI.MeldingOntvang.LocatieTekst.Text = Melding
end)

I forgot the TelefoonUI part. :smile:

Np!

This prints it
image

You need to change the Text of script.Parent.Parent.MeldingB
So script.Parent.Parent.MeldingB.Text is “”
What server wants fire to client?

Why you want try clone The Interface of the script?

Because it is a notification system, and then more notifications can be made

This is for emergency services, by the way

Why creating 2 text?
You can create 1 Text?

There are several options to fill in. (Notification, Team, Location)

What verzenden is, for calling the team?

Thanks for helping me, its fixed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.