Clientscript: height = 50 -- CHANGE THIS NUMBER TO WHATEVER HEIGHT U WANT respawnTime = 10 -- CHANGE THIS TO THE RESPAWN TIME OF YOUR MAP (IN SECONDS) dead = false function checkClient() if dead == false then theVehicle = getPedOccupiedVehicle(getLocalPlayer()) if theVehicle then if getVehicleType(theVehicle) == "Plane" then x,y,z = getElementPosition(theVehicle) if z > height then dead = true setTimer(function() dead = false end , respawnTime*1000, 1) triggerServerEvent("onPlayerHighZ", getLocalPlayer()) killTimer(mytimer) end end end end end setTimer(checkClient, 200, 0) Save everything as client.lua , go to meta.xml and add this line <script src="client.lua" type="client" /> Serverside: function killHim() killPed(source) outputChatBox("Not allowed to go that high.", source, 255, 255, 255) end addEvent("onPlayerHighZ", true) addEventHandler("onPlayerHighZ", getRootElement(), killHim) Save everything as server.lua then go to meta.xml and add this line: <script src="server.lua" /> Note: Read the codes and change the required stuff that I explained above. (Respawntime and height) Note2: I didn't test the script, but it should work. Because I'm using a similar script for Go Fast Til you Die map.