#what can i do for this script to work?
1 messages · Page 1 of 1 (latest)
maybe try only lua animation:Play()
no that’s not how animations work
capitalize the P and what error are you getting
where ?
mb that could be not right, try capitalizing the P as the other said
the play() to Play()
dont work
are you ..........
what?
local tool = script.Parent
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://21943949329"
local debounce = false
tool.Activated:Connect(function()
if not debounce then
debounce = true
local humanoid = tool.Parent:FindFirstChild("Humanoid")
if humanoid then
local animator = humanoid:FindFirstChild("Animator")
if animator then
local animTrack = animator:LoadAnimation(animation)
animTrack:Play()
end
end
wait(5)
debounce = false
end
end)
try this
@tardy eagle
wait
uh
dont work