I’ve created the animation and have the particle emitter tied to the limb
but for the life of me i cant figure out how to do it
I’ve tried a bunch of scripts and even asked chatgpt
but it just doesn’t work, the script runs and prints all the checkpoints but the animation never plays.
please tell me I’m just being a fool and its a simple fix, thanks.
local rig = workspace.Rig
local animator = rig:FindFirstChild("AnimationController") and rig.AnimationController:FindFirstChild("Animator")
local particles = rig.LeftUpperLeg.Attachment.Blood
if not animator then
warn("No Animator found in AnimationController!")
return
end
-- Create a tiny test animation (rotate LeftUpperLeg slightly)
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://0" -- placeholder, we’ll use keyframe in code
-- Load animation
local track = animator:LoadAnimation(animation)
-- Connect particle markers
track:GetMarkerReachedSignal("Legfall"):Connect(function()
print("Marker: Legfall reached")
particles.Enabled = true
end)
track:GetMarkerReachedSignal("HeadFall"):Connect(function()
print("Marker: HeadFall reached")
particles.Enabled = false
end)
-- Play the animation
print("Playing test animation...")
track:Play()
print("Animation playing:", track.IsPlaying)
it would print everything but nothing would happen