Anim tool not doing the animations

(BTW click the images if they don’t load that might show them atliest)

  1. What do you want to achieve?
    The script working
  2. What is the issue?
    The script not working video is quite useless
  3. What solutions have you tried so far?
    giving it a handle, turning off CanBeDropped and ManualActivation aswell as RequiresHandle (in tool), copied a script that worked for someone who had the same problem, but somehow fixed it.

This is a handle-less tool wich only uses a script to do the thing
It’s a bit annoying that the scripts I make don’t work because of a simple small mistake that could be anywhere

local anim = script:WaitForChild("DanceAnim")
local player = game.Players.LocalPlayer
local tool = script.Parent -- use a direct path to the tool
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local animtrack = hum:LoadAnimation(anim)

tool.Activated:Connect(function()
	animtrack:Play()
end)

The way i’ve placed my stuff (anim id is right btw)
image

Just incase someone knows the reason by using the properties

This is the tool properties:


This is the script properties:
image
And this is the animation properties:
image

1 Like

use a LocalScript Instead of a server script

2 Likes

But will it show for other players that see the dance animation? (But it does work)

yes they will see it and yes it will work

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.