Wednesday, 01 October, 2025г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

[Roblox Studio] How to Make ''play an animation while pressing a keyboard button {KeyBind Script}

[Roblox Studio] How to Make ''play an animation while pressing a keyboard button {KeyBind Script}У вашего броузера проблема в совместимости с HTML5
Hey Guys, today i will show the simpliest way of how to play an animation you made for your game while pressing a keyboard button ''e'' or what ever the script called KeyBind. Song: https://www.youtube.com/watch?v=f5OJeNqOy6A&t=110s Script: local player = game.Players.LocalPlayer repeat wait() until player.Character.Humanoid local humanoid = player.Character.Humanoid local mouse = player:GetMouse() local anim = Instance.new("Animation") anim.AnimationId = "http://www.roblox.com/asset/?id='' mouse.KeyDown:connect(function(key) if key == "z" then local playAnim = humanoid:LoadAnimation(anim) playAnim:Play() end end)
Мой аккаунт