Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make it so the Text.Value only changes for the player that has got the 'Hamburger' tool?

game.Players.LocalPlayer.Backpack:WaitForChild("Hamburger",99)

game.Workspace.Npc.NPC.TriggerBlock.Text.Value =("Wow thanks")
game.Workspace.Npc.NPC.TriggerBlock.Text.Text.Value = ("Here have 100 candies! :D")
game.Workspace.Npc.NPC.TriggerBlock.Text.Text.Text.Value =("Bye! :)")
script.Parent.Visible = true
script.Parent.Text =("Bring back the cane to the old man for your reward")
wait(5)
script.Parent.Visible = false





(The Text.Value is a npc's text.. wich works)

3 comments

0

With FilteringEnabled, if you change the value through a local script (which it appears you are doing), it should only change for that player.

0

Is your text displayed by the NPC in the form of a billboard gui?

0

If so, you could parent the billboard GUI to the player's GUI and set it's adornee to the NPC's "TriggerBlock" (as it appears on your thread).

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.