#How to Change this to only works when i press Space
1 messages · Page 1 of 1 (latest)
** You are now Level 3! **
Pls?
userInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.Space then
if not animationTrack.IsPlaying then
animationTrack:Play() <-- put ur animation thingy here so that when u press space it plays aniamtion
end
end
end)
the animation only plays on ur screen not others I think
you will need to use remote event for that or play the animation from the server side
thx