#StarterPlayerScripts not running

1 messages · Page 1 of 1 (latest)

halcyon jacinth
#

I made a place with very simple code. One script in ServerScriptService that prints, one in StarterPlayerScripts that also prints. Only the one in ServerScriptService runs. Any idea why? I've just started using Roblox Studio so it might be a simple fix, or is this how it's supposed to be?

undone monolith
#

i think the problem in the the player in cilent while the server is server side so print works of the server side

halcyon jacinth
#

is there a way to see what StarterPlayerScripts prints

undone monolith
#

elaborate wdym ServerScriptService printing

halcyon jacinth
#

I printed something from ServerScriptService

#

I also printed something from StarterPlayerScripts

#

Only the Hello World! showed up

#

Is there any way to see the other print statement

near blaze
#

put localscripts inside of starter player scripts not regular scripts which are meant for the server

undone monolith
#

i was just about to say you need a local script

#

grandpa still got it

halcyon jacinth
#

I can't even do that, I put some code to make it in StarterPlayerScript and it did not show up, but it did in ServerScriptService

pulsar shadow
# halcyon jacinth can I make objects inside of StarterPlayerScript?

All of the contents of StarterPlayerScripts are copied into each players Player.PlayerScripts when they join a game, you can add or create objects using local scripts there but they will only be visible and interactable for each individual client, also remember that if you need a client to access something that you put in StarterPlayerScripts, you need to check for it in Player.PlayerScripts because StarterPlayerScripts is just the folder for the server to know what to copy onto the clients