local local_plr = game:GetService("Players").LocalPlayer.Name
game.ReplicatedStorage.GUI.OnClientEvent:Connect(function()
script.Parent.TextTransparency = 0
script.Parent.Text = local_plr
wait(0.1)
script.Parent.Text = (local_plr .. " H")
wait(0.1)
script.Parent.Text = (local_plr .. " HA")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS S")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SE")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SEN")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT O")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OU")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A N")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A NU")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A NUK")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A NUKE")
wait(0.1)
script.Parent.Text = (local_plr .. " HAS SENT OUT A NUKE!")
wait(3)
script.Parent.Text = ""
end)
- the main issue with this is that when the gui pops up after the gamepass has been purchased it displays the localplayer.name for each individual player not the person who purchased the nuke.
It is a localscript in startergui

2 comments
Ok, so the text message is displayed but when I run the remoteevent, tl is undefined. Do I just change it into script.Parent?
my bad the tl variable was the textlabel let me edit that