Player = game.Players.LocalPlayer Character = Player.Character local rightArm = Character['Right Arm'] local debounce = false rightArm.Touched:Connect(function(Hit) Hit.Parent:FindFirstChild("Humanoid"):TakeDamage(50) if not debounce and Hit.Parent:FindFirstChild("Humanoid").Health <= 0 then debounce = true Player.leaderstats.Kills.Value = Player.leaderstats.Kills.Value + 1 wait(1) debounce = false end end)
There's my code, for some reason the rightArm portion conflicts with something so that the code doesn't run in-game.