local animation = script:WaitForChild("Animation")
local humanoid = script.Parent:FindFirstChild("Humanoid")
local animTrack = humanoid.Animator:LoadAnimation(animation)
debounce = nil
game.Workspace.Part.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and debounce == nil then
debounce = true
animTrack:Play()
wait(1)
debounce = nil
end
end)