#why when i make an anim on r6 and try to load it on a player's animator it doesnt load but r15 does

1 messages · Page 1 of 1 (latest)

gilded rampart
#

why it doesnt?

arctic hedge
#

Cuz the animation must be the same as the rig type you animated

arctic hedge
#

You animated in r6 or r15?

gilded rampart
gilded rampart
arctic hedge
#

You must load in a r6 rig

gilded rampart
arctic hedge
#

Doesn't what

gilded rampart
silk solar
gilded rampart
# silk solar Are there any errors in the output? And send the script

theres no errors: ```local UIS = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local animator = Humanoid:WaitForChild("Animator")

local anim = Instance.new("Animation")
anim.Parent = script

anim.AnimationId = "rbxassetid://78278363343392"

UIS.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end

if input.UserInputType == Enum.UserInputType.MouseButton1 or Enum.UserInputType.Touch then
    local track = animator:LoadAnimation(anim)
    track:Play()
end

end)```

silk solar
#

You need to do ```lua
if not gameProcessed then return end


Because if you do ```lua
if gameProcessed then return end

It will always end your function unless you click on the chat or on gui.

gilded rampart
gilded rampart
silk solar
#

Nvm your right but for some reason it works in my code when i use if not gameProcessed even tho it shouldn't

#

well ignore that

gilded rampart
# silk solar well ignore that

but the animation still won't load, when i make r6 animations and try to load on player's animator it won't do it even though the player is on r6.

silk solar
#

In the animation settings

gilded rampart
silk solar
#

Alr let me try something

#

Give me like 5 min

gilded rampart
silk solar
silk solar
#

Could you record and show how your animation looks like in the animation editor

gilded rampart
silk solar
#

Because for me it worked perfectly fine

#

so there is only the option that something is wrong with your animation itself

gilded rampart
silk solar
gilded rampart
#

it is action

silk solar
#

I genuinely have no ideas left. Other than maybe testing this on a new baseplate and seeing if it doesn't work there aswell (You'll have to create the animation there again aswell)

ancient arrow
#

It's genuinely just a skill issue

silk solar
#

Then help us fix it

gilded rampart
ancient arrow
#

Wait is this like a template? Cuz I'm pretty sure I've seen this exact same bad script somewhere else

silk solar
#

and it works fine

#

i tested it on a blank baseplate

#

even tho it is a little weird to reload the animation over and over again

#

it works but not for him

ancient arrow
silk solar
#

well it still worked for me when I loaded the track inside the function. But ig its worth a try @gilded rampart

ancient arrow
silk solar
gilded rampart
#

i tested and it doesnt work ```local UIS = game:GetService("UserInputService")

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local animator = Humanoid:WaitForChild("Animator")

local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://72374727996799"
local track = animator:LoadAnimation(anim)

UIS.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end

if input.UserInputType == Enum.UserInputType.MouseButton1 
    or input.UserInputType == Enum.UserInputType.Touch then



    track:Play()

    
end

end)```

radiant jayBOT
#

studio** You are now Level 6! **studio

silk solar
ancient arrow
gilded rampart
#

nope i changed the anim

silk solar
ancient arrow
#

Or that isn't needed

silk solar
#

right @gilded rampart?

gilded rampart
ancient arrow
#

Could u show us ur avatar settings?

#

(not rig)

silk solar
#

and i mean it would be noticable if you spawn in with a r15 character

gilded rampart
silk solar
# gilded rampart

click on the three dots and set it to r6 only. But for some reason your avatar settings are different from mine

gilded rampart
silk solar
ancient arrow