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 reference a script in StarterPlayerScripts?

I want to reference/call a local script in my StarterPlayerScripts with a script in StarterGUI, I can't seem to find a solution that fits with me, I want to reference this script to disable it and enable it for a short time. Any help will be appreciated!

(PS: The script highlighted is the script I want to call

And this is the script that calls the script

2 answers

✓ Accepted answer

Use game.Players.LocalPlayer.PlayerAnimation.

Alright Thank you for your help! I referenced it using "game.Players.LocalPlayer.PlayerScripts.PlayerAnimation" Thank you for your help again!

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