#Decal Script Failing to Apply
2 messages · Page 1 of 1 (latest)
if hitPoints.Value <1 then
minable:Destroy()
elseif hitPoints.Value > (maxHitPoints.Value * 0.7) then
local smallCracks = cracks1:Clone()
smallCracks.Name = "smallCracks"
smallCracks.Parent = minable
elseif hitPoints.Value > (maxHitPoints.Value * 0.3) then
local medCracks = cracks2:Clone()
medCracks.Name = "medCracks"
medCracks.Parent = minable
elseif hitPoints.Value < (maxHitPoints.Value * 0.3) then
local bigCracks = cracks3:Clone()
bigCracks.Name = "bigCracks"
bigCracks.Parent = minable```