**Im testing something that when boolvalue called dodgeframe is true killbrick dont kill the player
**killbrick kill the player anyway
local lav = script.Parent
function kill(hit)
local karakter = hit.Parent
local humanoid = karakter:FindFirstChildOfClass("Humanoid")
if humanoid then
local player = game.Players:GetPlayerFromCharacter(karakter)
if player then
local dodgeframe = player:WaitForChild("Values"):FindFirstChild("DodgeFrame")
if dodgeframe.Value == false then
humanoid.Health = 0
end
end
end
end
lav.Touched:Connect(kill)