[🎃] Emergency Response: Liberty County
6.3k Views
60 Executions

Autojailing and Autocuffing Teleportation

Emergency Response: Liberty County
swifttechpub
swifttechpubFirst script
2 years ago
Please login to perform these actions:

Autojailing and Autocuffing Teleportation is an Emergency Response: Liberty County script for Roblox, uploaded to ScriptBlox on Mar 19, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

- Cuffing - Jailing - Teleporting

View Raw
--# Services
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")


--# Variables
local Player = Players.LocalPlayer

local Fe = ReplicatedStorage:FindFirstChild("FE")
local UseHandcuffs = Fe and Fe:FindFirstChild("UseHandcuffs")
local ToggleRagdoll = Fe and Fe:FindFirstChild("ToggleRagdoll")


--# Functions
local function IsInDistance(Vec1: Vector3, Vec2: Vector3, Dist: number): boolean
    return (Vec1 - Vec2).Magnitude <= Dist
end
local function EquipTool(ToolName: string, Existing: boolean)
    local success, result = pcall(function(Backpack: Backpack, Character: Model?)
        local Tool = Backpack:FindFirstChild(ToolName)
        local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
        
        if Existing and not Tool then
            error("Tool doesn't exist!")
        end

        Humanoid:UnequipTools()
        Humanoid:EquipTool(Tool)
    end, Player.Backpack, Player.Character)
    
    --print(success, result) | Not required, just an habbit.
    return success
end
local function HasToolInToolbar(ToolName: string): boolean
    local Tool = Player.Character and Player.Character:FindFirstChild(ToolName)
    return (Tool and Tool:IsA("Tool")) or false
end

local function GetPositionOfModel(Model: Model?): Vector3?
    return (Model ~= nil and Model:GetPivot().Position) or nil


Comments

2
Log in to join the conversation. Login
idolwop's profile picture
idolwop2 years ago

Doesn't work

1
swifttechpub's profile picture
swifttechpubUploader2 years ago(edited)

Showcase: https://youtu.be/pp9hbWNCZIU

1