Attack is spamable despite conditions

I’m still genuinely clueless on what to do ;-;

Yeah that makes sense then, sorry I took a quick skim since I’m doing other stuff currently right now but trying to help at the same time. But the attribute changed signal event seems sort of strange. Why is it inside of the userinput event? That could be a possible issue.

AttributeChangedSignal? Wait, where?

Also you’re completely fine. Don’t stress about it.

I meant this lol, sorry not attributechangedsignal, reached signal.

Oh, Please elaborate if you can! I never knew that those shouldn’t go in UIS

Nah it might not be a problem I just remember when I was new I would put the event inside of an event and it sometimes messed up some things. If your event still works outside of the userinputbegan event then try doing it outside.

I’m gonna ask ChatGPT and see what it says real quick (i’m that desperate :frowning: )

Bruh that sad maybe you could ask chat gpt?
also did you not redo it on the server?
also anyhelp on this ? How Do I Move The Players Character Relative To The Mouses X, And Z

1 Like

thats what im saying lol my internet is trash but i typed that b4 you said it lol

I did redo it to the server, the script is broken into 2 parts now. With the exact same issue, So i think it’s to do with the client.

1 Like

ChatGPT didn’t solve my issue either. damn.

1 Like

Uh you replied to me by accident lol.

1 Like

Update, I fixed the tomfoolery, downside, It had something to do with my AttributeManager Module and now I don’t know how to replicate my attributes to the server

I mean to start, tick() is deprecated so it isn’t recommended for future work. You should use things like DateTime!

Bruh you could just use this as a server script or added on the server side eg.
in ServerScriptService:

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
character:SetAttribute("Attacking",false)
character:SetAttribute("Blocking",false)
character:SetAttribute("Stunned",false)
--Add more how many you need if you dont want for all palyers then use the server with a remote event and set it there
    end)
end)

I’m sure this will work as I have made systems like this in the past

I already fixed the issue. I simply redid the script. I don’t remember what exactly the problem was but I require no further assistance.

And no, that wouldn’t have worked.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.