--Here's my code --Yet it outputs saying "Animate is not a valid member of model, startercharacter," even thought it is.
local char = script.Parent
local human = char.Humanoid
local current_animation = nil
local walk = char.Animate.run.RunAnim
local Click = game.Workspace.ApartmentEntrance.Floor1Button
Click.ClickDetector.MouseClick:Connect(function()
wait(3.75)
current_animation = human:LoadAnimation(walk)
current_animation:Play()
human:MoveTo(game.Workspace.WalkWayTwo.Position)
end)
if ur using a starterchracter the animation wont work like that , the animation should be in ur character scripts so u have to change ur variables a bit and also use a code block it easier for others to read ur code