Город МОСКОВСКИЙ
00:04:45

HOW TO CREATE A SITTING ANIMATION! | Roblox Studio

Аватар
Впечатляющие Геймерские Моменты
Просмотры:
65
Дата загрузки:
30.10.2023 08:09
Длительность:
00:04:45
Категория:
Лайфхаки

Описание

Hi, this video will show you how to create a sitting animation in Roblox Studio!
Plugin: https://www.roblox.com/library/1871760507/Animation-Editor-Classic
Script:
seat = script.Parent
function added(child)
if (child.className=="Weld") then
human = child.part1.Parent:FindFirstChild("Humanoid")
if human ~= nil then
anim = human:LoadAnimation(seat.sitanim)
anim:Play()
end
end
end

function removed(child2)
if anim ~= nil then
anim:Stop()
anim:Remove()
end
end

seat.ChildAdded:connect(added)
seat.ChildRemoved:connect(removed)

Thanks for watching! Subscribe for more videos!

Рекомендуемые видео