---
title: "Lockv2 | Universal Roblox Script - ScriptBlox"
description: "Lockv2 for any Roblox game: c to lock onto Players uppertorso"
canonical_url: "https://scriptblox.com/script/Universal-Script-lockv2-15836"
meta:
  "og:description": "Lockv2 for any Roblox game: c to lock onto Players uppertorso"
  "og:image": "https://scriptblox.com/images/script/9741803-1721525846946.png"
  "og:title": "Lockv2 | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Lockv2 for any Roblox game: c to lock onto Players uppertorso"
  "twitter:image": "https://scriptblox.com/images/script/9741803-1721525846946.png"
  "twitter:title": "Lockv2 | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/9741803-1721525846946.png)

# **Lockv2**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![100OTD](https://scriptblox.com/images/photo/6672b5c4830f523f63f242be-1749310912128.png) [100OTD](https://scriptblox.com/u/100OTD)Lv 8First script**

2 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

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

Also noticed:

## Description

c to lock onto Players uppertorso

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Update script
2. Jul 21, 2024

   ****Script edited:**** Update script
3. Jul 21, 2024

   ****Script edited:**** Update script
4. Jul 21, 2024

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-lockv2-15836)

```
--51cles lock v2 what got added? a GUI to change ur prediction and i also added--
--air prediction and a revert changes button just incase if you wanna go back to the settings that are already made for you--
--also i changed it from head to UpperTorso so its more easy to air kids-- 

local Settings = {
    ["Key"] = Enum.KeyCode.C,
    ["Part"] = "UpperTorso",
    ["Prediction"] = 0.126749,
}

local AirPrediction = {
    ["UseAirPrediction"] = true,
    ["AirPrediction"] = 0.1241,
}

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()

local locking = false
local targetPart = nil


local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "CameraLockGui"
ScreenGui.Parent = LocalPlayer.PlayerGui

local function createDraggableFrame()
    local frame = Instance.new("Frame")
    frame.Size = UDim2.new(0, 400, 0, 400)  
    frame.Position = UDim2.new(0.5, -200, 0.5, -200)
    frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
    frame.BorderSizePixel = 2
    frame.BorderColor3 = Color3.fromRGB(200, 200, 200)
    frame.Parent = ScreenGui

    local titleBar = Instance.new("TextLabel")
    titleBar.Size = UDim2.new(1, 0, 0, 30)


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-lockv2-15836)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-lockv2-15836#script","url":"https://scriptblox.com/script/Universal-Script-lockv2-15836","name":"Lockv2","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"100OTD","url":"https://scriptblox.com/u/100OTD"},"datePublished":"2024-07-21T01:37:27.006Z","image":"https://scriptblox.com/images/script/9741803-1721525846946.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-lockv2-15836#webpage","@type":"WebPage","description":"Lockv2 for any Roblox game: c to lock onto Players uppertorso","name":"Lockv2 | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-lockv2-15836","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-lockv2-15836#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-lockv2-15836#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-lockv2-15836"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-lockv2-15836#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Lockv2","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
