if you're going for what i think you are, and i'm smart...
function iNeedTheWater()
kungpao = checkForWater(game.World, {})
ded = false
for i = 1, #kungpao do
posi = script.Parent.Position
if posi.x > kungpao[i].Position.x and posi.y > kungpao[i].Position.y and posi.x < kungpao[i].Position.x + kungpao[i].Size.x and posi.y < kungpao[i].Position.y + kungpao[i].Size.y then --sweet jesus have mercy
ded = false
else
ded = true
print("medic!")
end
end
change this to your liking, and for the love of god, don't make angled water
function iNeedTheWater()
kungpao = checkForWater(game.World, {})
ded = false
for i = 1, #kungpao do
posi = script.Parent.Position
if posi.x > kungpao[i].Position.x and posi.y > kungpao[i].Position.y and posi.x < kungpao[i].Position.x + kungpao[i].Size.x and posi.y < kungpao[i].Position.y + kungpao[i].Size.y then --sweet jesus have mercy
ded = false
else
ded = true
print("medic!")
end
end
change this to your liking, and for the love of god, don't make angled water