This isn't printing I need help

Can I see the console when you try to run it?

Local scripts only run from the StarterPlayer scripts, if you want it to print consider moving the script to StarterPlayerScripts or StarterCharacterScripts. Or you can change the script to a normal script.

2 Likes

Next time, make a proper topic explaining what you’re trying to do.
Also it is a local script so you gotta put it in the player related services (excluding players)
Or you can make a regular script and have it print 1

1 Like

A local script will not print as you want right there. That needs to be a server script or move that, as a local script, to StarterGui or one of the folders in StarterPlayer.

LocalScripts will not run in the workspace unless under very specific circumstances. In your case, it will most definitely not run.

Try putting your LocalScript in StarterPlayerScripts (optimal location for LocalScripts), you will still be able to reference objects in the workspace and manipulate them.

You could also replace your LocalScript with a Script and change its RunContext to Client, however, the first option is probably a better solution.

1 Like