Attack is spamable despite conditions

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.