Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I reference a script in StarterPlayerScripts?

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

Use game.Players.LocalPlayer.PlayerAnimation.

Ad
Log in to vote
0
Answered by 3 years ago

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

Answer this question