#How do i get animation events vfx

1 messages · Page 1 of 1 (latest)

onyx salmon
#

uh this script doing somthing but idk how to set up it to my events local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")

-- Create new "Animation" instance
local walkAnim = Instance.new("Animation")
-- Set its "AnimationId" to the corresponding animation asset ID
walkAnim.AnimationId = "rbxassetid://5432167890"

-- Load animation onto the animator
local walkAnimTrack = animator:LoadAnimation(walkAnim)

-- Connect "GetMarkerReachedSignal" event to a specific named keyframe
walkAnimTrack:GetMarkerReachedSignal("FootStep"):Connect(function(paramString)
print(paramString)
end)

hardy cove
#

breh

onyx salmon
#

what

hardy cove
#

otherwise we dont know whats wrong

onyx salmon
#

i dont know how to sync animation with vfx

#

@hardy cove

#

this script aint working

spiral cradle
#

Put marker in your animation