#AtEase and Salute R15, tool not working

1 messages · Page 1 of 1 (latest)

hazy sigil
alpine echo
#

debug

fallow vale
#

i think having it in a local script would help?

alpine echo
#

and put unequipped outside the func

#

yeah that too

#

he is right\

fallow vale
#

and also the animation outside the function too

#

so you can play and stop in both un and equip

alpine echo
#

also it just might not be looped

fallow vale
#

maybe

#

but the animation isnt playing at all right?

hazy sigil
#

too much information for me one of you can say in one message

fallow vale
#

change your script to a local script

#

and

#

hold on

hazy sigil
#

yes ?

hazy sigil
fallow vale
#

local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid: Humanoid = Character.FindFirstChild("Humanoid")
local Animator: Animator = Humanoid:FindFirstChildOfClass("Animator")

local Anime = Animator:LoadAnimation(script.Repos) -- anim name

local Tool = script.Parent

Tool.Equipped:Connect(function()
Anime:Play()
end)

Tool.Unequipped:Connect(function()
Anime:Stop()
end)

alpine echo
#

what

#

what do you mean cant loop

#

you can im pretty sure

hazy sigil
fallow vale
#

this inside the local script and you can loop it just copy the same pose a few keyframes further and then loop iot

hazy sigil
#

did i need to change the "Tool" word ?

alpine echo
#

hold on

#

dont do anything

fallow vale
mighty nimbusBOT
#

studio** You are now Level 2! **studio

fallow vale
#

because this is a script and not a local one

#

change that to a local script and use my code

#

local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid: Humanoid = Character.FindFirstChild("Humanoid")
local Animator: Animator = Humanoid:FindFirstChildOfClass("Animator")

local Anime = Animator:LoadAnimation(script.Repos) -- anim name

local Tool = script.Parent

Tool.Equipped:Connect(function()
Anime:Play()
end)

Tool.Unequipped:Connect(function()
Anime:Stop()
end)

#

i think it should work

#

if any errors tell me

hazy sigil
alpine echo
#

@hazy sigil

#
local animation
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local cs = game:GetService("CollectionService")

character.ChildAdded:Connect(function(c)
    if cs:HasTag(c, "Anim") then
        local check = c:FindFirstChildWhichIsA("Animation", true)
        if check then
            animation = c:FindFirstChildWhichIsA("Animation", true)
            animation = character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
            animation:Play()
        end
    end
end)

character.ChildRemoved:Connect(function(c)
    if cs:HasTag(c, "Anim") then
        local check = c:FindFirstChildWhichIsA("Animation", true)
        if check then
                animation:Stop()
                animation = nil
        end
    end
end)
#

in startercharacter

fallow vale
#

why make it so complicated?

alpine echo
#

how is that complicated

fallow vale
#

i feel like the local script inside a tool is easier

alpine echo
#

this is way better than putting a script into each tool

fallow vale
#

true

alpine echo
#

and doesnt need any changing in the script

#

just clone the tool and change aniation id

#

@hazy sigil

#

this is how it should look

#

and add this

#

oh wait

#

hold on i did it wrong

#

now it should be good i edited it

hazy sigil
#

ok now it's worked but my right arm is going straight 🤣

alpine echo
#

remove the handle

#

and make the animation priority Action or higher

hazy sigil
#

it just destroyed my tool when i removed it x)

fallow vale
#

that due to toolNone animation on the animate script

alpine echo
#

ok

#

wait

fallow vale
#

that roblox gives you

hazy sigil
#

the handle is essantial

alpine echo
#

might be that too

fallow vale
#

no its not because of the handle

alpine echo
#

idk i have tools without handles and its good

#

ok

#

then

#

make an empty animation

alpine echo
#

and replace the toolnone id with it

hazy sigil
#

should be a localscript or a normal ?

alpine echo
#

you have to clone the Animations script from the character

#

localscript

#

actually no

#

dont change anything with the toolnone

#

turn this off instead

fallow vale
#
  1. you gotta hit play 2. in the explorer look for your character 3. find the animate script 4. copy it 5. stop the game 6. paste the animate script into StarterPlayer > StarterCharacterScripts 7. go into the animate script and delete everything that says toolNone
alpine echo
hazy sigil
#

my head gonna explode it's so hard for me to trying to understand what u r saying to me, cuz i'm not english 😂

alpine echo
#

Off

fallow vale
hazy sigil
#

yes i did this

fallow vale
#

and does it work?

hazy sigil
#

guys i'm sorry for busying u, i'm really lost x)

fallow vale
#

no its okay

hazy sigil
#

do you think anyone of u can made it for me ? i send u the animation

fallow vale
#

hold on

hazy sigil
#

i think i'm the worst student x)

fallow vale
#

into here

#

then i think it might work

#

just drag it into studio

hazy sigil
#

okay and now

fallow vale
#

does it work now?

hazy sigil
#

thing it's i have an custom animate cuz i'm using ACS R15 x)

fallow vale
#

oh wait

alpine echo
#

???

fallow vale
alpine echo
#

local script in StarterCharacter

fallow vale
#

and turn on standard

alpine echo
#

and output

#

check errors what i meant

hazy sigil
#

there is no error about ur script men

hazy sigil
#

forget it i give up

mighty nimbusBOT
#

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