#pls help with animation script bug

51 messages · Page 1 of 1 (latest)

real plank
#

animation seizure

#

Simple fix

#

It looks like the animations are meshing together

#

so just tune the animation priority

white heart
#

bruh I read this rn tysm u're so helpful

#

bro I put Idle in idle, walk in movement, running without sword in action and with sword action2, but idle and walk animation still in trouble like with delay to change

white heart
#

if u can help I'll be grateful, but now i'm gonna sleep

real plank
#

you sure that ain't lag?

white heart
#

its possible to lag in roblox studio

white heart
real plank
#

do you have a script controlling the anims?

white heart
#

yeah I have

#

hey u know how to make a script that u cant unequip the tool, like spawn with it in your hand and cant get off

real plank
#

well you can just disable the backpack core ui

#

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

white heart
#

yeah I did this but didnt work

real plank
#

hmmmm

#

huh? english pls

#

just parent the tool to your character when they join the game

#

and when they die

real plank
#

or use humanoid:equip(tool)

#

both are valid options

#

can i see the script that plays the animation

#

cuz it looks like you tuned priority (not animation priority) with weird wait functions

white heart
#

this is the equip script and still not working

`game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)

    local tool = Instance.new("Tool")
    tool.Name = "Espada"
    tool.Parent = player.Backpack 

    tool.Equipped:Connect(function()
        print("tool equipped")
    end)

    wait(1)
    if player and player.Parent and player.Character and player.Character.Parent and player.Backpack then
        local toolInBackpack = player.Backpack:FindFirstChild("Espada")
        if toolInBackpack then
            toolInBackpack:Equip()
        end
    end
end)

end)`

#

I made a change to the script, so that just by walking the player runs, because I didn't want his function to just walk slowly

real plank
real plank
#

It should set the backpack as disabled from a localscript and equip it by server

#

let me cook smth up rq

#

I wrote these with windows .txt because my studio is broken rn so fix any capitalization errors

#

It'll run everytime you respawn too because that's localscript's settings by default

white heart
#

oh tysmm

real plank
#

tell me if it works or not

#

also make the remoteevent itself

white heart
#

ok

real plank
#

you don't need a folder I just put it there because organization is yay

white heart
#

right

#

oh it worked tysmm

real plank
#

but did the laggy animations fix?

white heart
#

nah Idk what is happening

#

my coder friend will solve this tomorrow

#

we're building a game

real plank
#

good luck

#

put me on the game waitlist