#damage brick

1 messages · Page 1 of 1 (latest)

normal lichen
#

i have no idea why this doesn't work

local CollectionService = game:GetService("CollectionService")

local dmgBricks = CollectionService:GetTagged("Damage")

for i, damageBrick in pairs(dmgBricks) do
damageBrick.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")

    if humanoid then
        humanoid.Health -= 25
        print("Damage dealt")
    end
end)

end

ionic sphinx
#

send picture of explorer

normal lichen