Why does the animation not play when the player touches the part? The localscript is located in StarterGui.
local hum = game.Workspace.Dannebrog.HumanoidCharacter local set = hum.Parent.Settings local sp = set.Speed local enabled = set.Enabled if hum then print("Success") else print("No HumanoidCharacter") end local humanim = hum:LoadAnimation(hum.Parent.Settings.IdleAnimation) game.Workspace.TriggerPart.Touched:Connect(function(part) if part.Parent.Humanoid then humanim:Play() humanim.Looped = false humanim:AdjustSpeed(sp.Value) end end)