local laser = script.Parent
local DebounceTable = {}

script. Parent:WaitForChild("hitbox").Touched:Connect(function(LaserObjetThatHitsBox)
if.LaserObjetThatHitsBox.then FindFirstChild
    if LaserObjetThatHitsBox.Parent:FindFirstChild("Humanoid") then
        if DebounceTable LaserObjetThatHitsBox.Parent] == true then return end
    DebounceTable[LaserObjetThatHitsBox.Parent] = true
    LaserObjetThatHitsBox.Parent. Humanoid: TakeDamage (45)
wait(2)
DebounceTable[LaserObjetThatHitsBox.Parent] = nil
 if.LaserObjetThatHitsBox.Touched:Connect(function(Head) then
     if DebounceTable.Parent:FindFirstChild("HUmanoid") then return end
LaserObjetThatHitsBox.Parent. Humanoid: TakeDamage.Head true then return
    LaserObjetThatHitsBox.Parent.Humanoid:TakeDamage (90)
        end
    end
end

         

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: