Hi again ScriptingHelpers Community!,
I have a little problem here, I made a script based on the API documentation, and a big informative help about a user from this community.
My script it's supossed to Play an animation when the Player press LShift and Stop it progressively when you release the LShift Button, we're good here.
My problem is: When I published to Roblox (my place) with the Script on the "StarterPack" folder and Play my place, it doesn't work. I mean that it looks like it's not being loaded.
So my question is: What am I missing?
I really appreciate any help you can provide.
Edit: This is what I've placed on top of the script in order to get the LocalPlayer
--// Services local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") --// Local Variables local player = Players.LocalPlayer --// .... code
Whether you're using Filtering Enabled or not, you need to use a LocalScript for any of the following:
Having a local script in StarterPack
would work fine.