The purpose of the script is to play an animation.

local hum = game.Workspace.Dannebrog.HumanoidCharacter
local set = hum.Parent.Settings
local sp = set.Speed
local enabled = set.Enabled

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)

4 comments

2

Yes it will play, animations are client sided.

0

Thanks, if you write it as an "answer", I will accept it.

0

This question is totally useless. You should learn what

0

'FilteringEnabled' is and what it does. I should learn not to accidentaly press enter.