Universal Script 📌
2.0k Views
36.4k Executions

universal camlock and charlock open source

10K executions
Universal Script 📌
indistiputed
indistiputed10K executions
2 months ago

Reviewed by QueueSpeedDemonPaid revieweron How review works

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

a simple lil script that adds two draggable toggles, one locks you camera onto targets humanoid. while the other locks your character instead.

Updates

  1. Script edited: Edited during review before approval

View Raw
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

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

Tags

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 3 hours ago
Key System
Universal Script 📌
9.1k
31.7k
Bumped 4 hours ago
Script hub
49.8k
12.4k
Bumped 5 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 9 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 10 hours ago
Key System
Paid
Universal Script 📌
737
221
Approved 16 hours ago
Universal Script 📌
642
2.7k
Approved 16 hours ago