Make Horror game /ep 2 Model Jump Scare animation

Описание к видео Make Horror game /ep 2 Model Jump Scare animation

00:00 ตัวอย่าง
02:00 เริ่ม
02:22 Script trigger
03:39 Script animation
04:49 ทำanimation
06:15 ทดสอบทุดท้าย
Trigger script:

script.Parent.Touched:Connect(function(hit)
if hit and hit.Parent:FindFirstChild("Humanoid") then
script.Parent:Destroy( )
game.ReplicatedStorage.Jumpscare.Parent = game.Workspace
wait(2)
game.Workspace.Jumpscare.Parent = game.ReplicatedStorage
end
end)


Animation Script:


Local Animation = script.Animation
Local Humanoid = script.Parent.Humanoid
Local AnimationClip = Humanoid:LoadAnimation(Animation)

repeat wait() until game.Workspace:FindFirstChild("Trigger") == nil

AnimationClip.Looped = false
AnimationClip:Play()




#robloxstudio #scriptroblox #horrorroblox #roblox#jumpscare #jumpscares

Комментарии

Информация по комментариям в разработке