Jailbreak Script | CAR AUTO-LOCK ON EXIT, UNLOCK ON ENTER – ANTI VEHICLE STEALER

Png-4-13-300x169-1.png

Created by RedWirePlatinum

Features:

  • AUTO-LOCK YOUR CAR ON EXIT
  • UNLOCK YOUR CAR ON ENTERING
  • DEV NOTES:
  • Tired of people stealing your vehicles? Accidentally left your friends out because you locked your car? this is for you!
local vehicle = require(game.ReplicatedStorage.Game.Vehicle)
local getmodel = vehicle.GetLocalVehicleModel
local getseats = vehicle.getSeats
local togglelock = vehicle.toggleLocalLocked
local onexit = vehicle.OnVehicleJumpExited._handlerListHead
local exitfn = onexit._fn
local onenter = vehicle.OnVehicleEntered._handlerListHead
local enterfn = onenter._fn

local unlockOnEnter = true -- whether or not you actually want your car to auto-unlock on enter
local lplr = game.Players.LocalPlayer

local function isdriver()
    local model = getmodel()
    local driving = false
    if model then
        for i,v in pairs(getseats(model)) do
            if v.Part.Name == "Seat" and v.Player == lplr then
                driving = true 
                break
            end
        end
        return driving
    else
        return false
    end
end

local function iscarlocked()
    local idk, icon = pcall(function()
        return lplr.PlayerGui.AppUI.Speedometer.Top.Lock.Icon.Image -- the speedometer thing is destroyed when you exit a vehicle, hence the pcall
    end)
    if idk then
        return icon ~= "rbxassetid://5928936296"
    end
end

onexit._fn = function(...)
    if isdriver() and not iscarlocked() then
        togglelock()
    end
    return exitfn(...)
end

onenter._fn = function(...)
    coroutine.resume(coroutine.create(function()
        repeat task.wait() until getmodel()
        task.wait(0.1) -- sometimes it doesn't always work immediately, so this is just to be safe
        if isdriver() and iscarlocked() and unlockOnEnter then
            togglelock()
        end
    end))
    return enterfn(...)
end

print("car auto-lock/unlock enabled!")

ENJOY!

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script!

ENJOY!

 

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script or Get it from Pastebin!

About Us

What is arponag.xyz? arponag.xyz is a website focused on releasing safe exploits, we only release the best and most trusted exploits on our website, guaranteed to satisfy you. Contact us [email protected]

Safety

Is this safe to use? Everything on the website has been scanned and tested by professionals and the community, we only release the best exploits for our users, so we make sure that our exploits won’t harm your devices, everything here is clean.

Copyright © 2018 – 2020 Arpon AG | All rights reserved |
Privacy Policy | Terms of Service