#its telling me LoadAnimation is not a valid member of Animator

14 messages · Page 1 of 1 (latest)

craggy bone
#

I looked in object browser and found this to be false so why isit sying this

#

im trying to create a serverside animation using a remote

tawdry seal
#

:LoadAnimation

craggy bone
#

im using that let me post the script hol up

tawdry seal
#

u wrote :LoadAnimtation

craggy bone
#

--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)
tawdry seal
# craggy bone ```lua --Variables local RS = game:GetService("ReplicatedStorage") local Remot...
--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)
craggy bone
#

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)
tawdry seal
#

bruh

#

i sent fixed one