Extremely simple script wont work

Im trying to make a script where it prints cool when you select a dialog option and it wont work
Script is a local script parented to dialog


LocalScripts can only run in a player’s backpack, a tool, a player’s character, a PlayerGui, a PlayerScripts, or the ReplicatedFirst service.

1 Like

I put it in the dummy’s character but it still wont work does it have to be a players character?

Edit: i should probably check the link before i type

Where else should i put it

Yes, I apologize for the confusion.

1 Like

Move it to StarterPlayerScripts/StarterCharacterScripts and change the way in which the dialog is referenced, i.e; from:

local dialog = script.Parent


local dialog = workspace.Part.Dialog

1 Like