Why can my stand still damage players when it's not out?

I made a click combo punch thing where the stand click punches people. You can punch people even though your stand is not out. How do I fix this? Here’s what it looks like: https://gyazo.com/4d68ca28c15d8b2fe1150c4a5ea43af3

Here’s the client script:

Player = game.Players.LocalPlayer
repeat wait() until Player.Character
Character = Player.Character
mouse = Player:GetMouse()

Enabled = true

	if Enabled == true then
		if Character:FindFirstChild("Stand") then
		for _, v in pairs(Player.Character:GetChildren()) do
		if v:IsA("Tool") then return end
		game.ReplicatedStorage.Combat:FireServer("Combat", "Left")

Please go into more detail about the “Stand” Model itself. My guess is that the Stand model remains in the character and is never removed.

1 Like

The StandModel is just the stand that remains in the character. I’m not planning to delete the stand, I just want to be transparent.

Without seeing the rest of the script, I can’t tell whether or not ‘enabled’ changes. If it doesn’t, then the code will run regardless of whether the stand is out or not.

1 Like

This is a rokakaka script. All it does is just fire a remote event. And I’m wonering why the stand check isn’t working.

1 Like

Nvm I figured it out on my own. It was because I did the check right, but the stand was still there, so it passed the check. Brain fart.

1 Like