Universal Script πŸ“Œ
784 Views
4.7k Executions

LockOn

Universal Script πŸ“Œ
Mmiyu
MmiyuFirst script
7 months ago
Get an 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

Lock and M1 reset

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Stats = game:GetService("Stats")

local player = Players.LocalPlayer

local LOCK_ON_RANGE = math.huge
local PREDICTION_TIME = 0.7
local UPDATE_INTERVAL = 0
local TURN_SPEED = 0


local lockedTarget = nil
local isLockedOn = false
local lockOnIndicator = nil
local lockOnToggle = nil
local lastUpdate = 0
local screenGui = nil
local connection = nil

local function createLockOnIndicator()
    local indicator = Instance.new("Part")
    indicator.Name = "LockOnIndicator"
    indicator.Size = Vector3.new(1.5, 1.5, 1.5)
    indicator.Shape = Enum.PartType.Ball
    indicator.Material = Enum.Material.Neon
    indicator.Color = Color3.new(0, 0, 0)
    indicator.Anchored = true
    indicator.CanCollide = false
    indicator.Transparency = 1
    indicator.Parent = workspace
    return indicator
end

local function createToggleButton()
    screenGui = Instance.new("ScreenGui")
    screenGui.Name = "LockOnUI"
    screenGui.Parent = player:WaitForChild("PlayerGui", 5)
    


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!