#How to Change this to only works when i press Space

1 messages · Page 1 of 1 (latest)

wooden sparrow
#

help me pls

wide troutBOT
#

studio** You are now Level 3! **studio

wooden sparrow
#

Pls?

red coyote
#

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

wooden sparrow
#

thx