fares14213
(fares14213)
#21
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)
fares14213
(fares14213)
#23
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?
fares14213
(fares14213)
#25
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!
fares14213
(fares14213)
#28
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)
fares14213
(fares14213)
#29
I forgot the TelefoonUI part.
fares14213
(fares14213)
#31
You need to change the Text of script.Parent.Parent.MeldingB
So script.Parent.Parent.MeldingB.Text is “”
What server wants fire to client?
fares14213
(fares14213)
#32
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
fares14213
(fares14213)
#35
Why creating 2 text?
You can create 1 Text?
There are several options to fill in. (Notification, Team, Location)
fares14213
(fares14213)
#37
What verzenden is, for calling the team?
Thanks for helping me, its fixed.
system
(system)
Closed
#39
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.