game.Players.LocalPlayer.Backpack:WaitForChild("Hamburger", 300)
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! :)")
game.Players.LocalPlayer.leaderstats.Candy = game.Players.LocalPlayer.leaderstats.Candy + 100
COMMUNITY QUESTION
How do i make it so the text changes for the only player who got the certain tool?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
First off, I'd change the name of some of those "texts", as there's a property for text and it could mess with your script. Next you need it to also search if the player has the item equipped, if it's equipped it'll be located in the player's model in the workspace. So you'd do ( WaitForChild(this) or WaitForChild(this) ). Hope this helps!
If you use filtering enabled, and use a local script for these scripts then the change will only happen for the local player.