if distance(Player, Intruder) < 30000 then
We are now recieving sensor data now, Proceed with caution!]])
function distance(obj1, obj2)
local x1, y1 = obj1:getPosition()
local x2, y2 = obj2:getPosition()
local xd, yd = (x1 - x2), (y1 - y2)
return math.sqrt(xd * xd + yd * yd)
I'm having trouble with this comms message. The message pops up when it is suposed to but when you hit close it repops up as a hail and never gose away if anyone could tell me where the error is and how to fix it i would be greatfull.