#Need help emergenecy saga

1 messages · Page 1 of 1 (latest)

stoic quest
#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local RockModule = require(ReplicatedStorage.Modules.Details.RockModule)

local player = Players.LocalPlayer
print("LocalScript started for:", player.Name)

local char = player.Character or player.CharacterAdded:Wait()
print("Character loaded:", char.Name)

local humanoid = char:WaitForChild("Humanoid")
print("Humanoid found")

local animator = humanoid:WaitForChild("Animator")
print("Animator found")

-- Replace with your uploaded animation's numeric ID
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://96379664082295" -- must be numeric ID, not Moon export code
print("Animation ID set to:", anim.AnimationId)

local track = animator:LoadAnimation(anim)
print("Animation track loaded")

-- Hook marker
track:GetMarkerReachedSignal("StompEffect"):Connect(function()
    print("✅ Marker reached: StompEffect")
    local leftLeg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftLowerLeg")
    if leftLeg then
        print("Found leg:", leftLeg.Name, "creating stomp effect...")
        local stompCFrame = leftLeg.CFrame * CFrame.new(0, 0, -4)
        RockModule.Stomp(stompCFrame)
    else
        print("❌ No leg found")
    end
end)

-- Play animation automatically
print("Playing animation now...")
track:Play()
print("Animation should be playing")

hi i made a rockj module for my aniamtion , ive used an anim event in moon anim for it to work but it never fres , the marker reached print never prints but everything else does , this was in a local script in sps , i havent done any more for it to work but its been 4 days of trying idk what to do somene please help

#

please

#

i also just tried putting this in roblox aniamtion and adding event there and saving and exporting again but itn didnt work

queen oxide
#

my dumbass didnt read ur message lol

#

things to check -
have you published your game?
where did you publish your game make sure to publish the animation to the same name (or group).
try using roblox's original animator? idk anything about moon. moon animator might be bugging?
make sure the marker is spelt correctly with capital letters in mind and no spaces.