
1.7k Views
20.5k Executions
universal camlock and charlock open source
10K executions
Universal Script 📌
1 month ago
Reviewed by QueueSpeedDemonPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
a simple lil script that adds two draggable toggles, one locks you camera onto targets humanoid. while the other locks your character instead.
local P = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local RS = game:GetService("RunService")
local TS = game:GetService("TweenService")
local plr = P.LocalPlayer
local cam = workspace.CurrentCamera
local OffsetU = 0
local OffsetD = 0
local aimOn = false
local charOn = false
local aimTarget = nil
local charTarget = nil
local oldAutoRotate = nil
local offBg = Color3.fromRGB(255, 255, 255)
local onBg = Color3.fromRGB(238, 238, 243)
local offLine = Color3.fromRGB(210, 210, 218)
local onLine = Color3.fromRGB(149, 92, 215)
local ink = Color3.fromRGB(30, 30, 36)
local ui = Instance.new("ScreenGui")
local popup = Instance.new("Frame")
local popupCorner = Instance.new("UICorner")
local popupStroke = Instance.new("UIStroke")
local popupTitle = Instance.new("TextLabel")
local popupLink = Instance.new("TextLabel")
local okBtn = Instance.new("TextButton")
local okCorner = Instance.new("UICorner")
ui.Name = "LockUI"
ui.ResetOnSpawn = false
ui.IgnoreGuiInset = true
ui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
pcall(function()
ui.Parent = game:GetService("CoreGui")
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







