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

4 comments
Are you using a localscript? B/c if you're using "LocalPlayer" & the "UserInputService," it's required to use it.
Yes, well, I think so, I'll update the post with the a part of the code I'm using
A localscript has a little person on it, while a server script is just a script with nothing on it. Which one are you using?
You mean a Dummy? I've one of those placed on it but I used it only for animations. Is that what you mean?