#its telling me LoadAnimation is not a valid member of Animator
14 messages · Page 1 of 1 (latest)
:LoadAnimation
im using that let me post the script hol up
u wrote :LoadAnimtation
--Variables
local RS = game:GetService("ReplicatedStorage")
local Remotes = RS:WaitForChild("Remotes")
local Remote = Remotes:WaitForChild("Running")
local Animation = script:WaitForChild("Running")
--Script
Remote.OnServerEvent:Connect(function(plr)
print("RunningRemoteFired")
local hum = plr.Character:WaitForChild("Humanoid")
local Track = hum:LoadAnimtation(Animation)
Track:Play()
end)
--Variables
local RS = game:GetService("ReplicatedStorage")
local Remotes = RS:WaitForChild("Remotes")
local Remote = Remotes:WaitForChild("Running")
local Animation = script:WaitForChild("Running")
--Script
Remote.OnServerEvent:Connect(function(plr)
print("RunningRemoteFired")
local hum = plr.Character:WaitForChild("Humanoid")
local Track = hum:LoadAnimation(Animation)
Track:Play()
end)
what?
oh wait
thats the old one
--Variables
local RS = game:GetService("ReplicatedStorage")
local Remotes = RS:WaitForChild("Remotes")
local Remote = Remotes:WaitForChild("Running")
local Animation = script:WaitForChild("Running")
--Script
Remote.OnServerEvent:Connect(function(plr)
print("RunningRemoteFired")
local hum = plr.Character:WaitForChild("Humanoid")
local Animator = hum:WaitForChild("Animator")
local Track = Animator:LoadAnimtation(Animation)
Track:Play()
end)
you keep mispellin animation