Universal Script 📌
4.0k Views
139.3k Executions

Shiftlock for Beta by NPC_PlayersNoob

100K executions
Universal Script 📌
NPC_PlayersNoob_Alt
NPC_PlayersNoob_Alt100K executions
2 months ago

Reviewed by ThunderModsScriptBlox staffon 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

⚠️ Warning ⚠️ This is a BETA version. Beta Update: 1. CameraMode This script not recommended these game: 1. TSB

View Raw
-- =============================================================================
-- 【高级脚本遮盖与单例销毁系统 - 无动画测试版 (卡顿/死锁修复版)】
-- =============================================================================
if not game:IsLoaded() then
    pcall(function() game.Loaded:Wait() end)
end

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
if not LocalPlayer then
    pcall(function() LocalPlayer = Players:GetPropertyChangedSignal("LocalPlayer"):Wait() end)
    LocalPlayer = Players.LocalPlayer
end

local globalEnv = (getgenv and getgenv()) or _G
local SCRIPT_ID = "Refined_ShiftLock_Singleton_Instance"

if globalEnv[SCRIPT_ID] and type(globalEnv[SCRIPT_ID].Destroy) == "function" then
    pcall(function() globalEnv[SCRIPT_ID].Destroy() end)
    globalEnv[SCRIPT_ID] = nil
    task.wait(0.05)
end

local Janitor = { Connections = {}, Instances = {}, RenderSteps = {}, Actions = {} }
function Janitor:AddConnection(conn) table.insert(self.Connections, conn) return conn end
function Janitor:AddInstance(ins) table.insert(self.Instances, ins) return ins end
function Janitor:AddRenderStep(name) table.insert(self.RenderSteps, name) return name end
function Janitor:AddAction(name) table.insert(self.Actions, name) return name end

function Janitor.Destroy()
    for _, conn in ipairs(Janitor.Connections) do if conn and conn.Connected then conn:Disconnect() end end
    for _, ins in ipairs(Janitor.Instances) do if ins and ins.Parent then ins:Destroy() end end
    local RunService = game:GetService("RunService")
    for _, name in ipairs(Janitor.RenderSteps) do pcall(function() RunService:UnbindFromRenderStep(name) end) end
    for _, name in ipairs(Janitor.Actions) do pcall(function() game:GetService("ContextActionService"):UnbindAction(name) end) end
    local UserInputService = game:GetService("UserInputService")
    local UserGameSettings = UserSettings():GetService("UserGameSettings")
    UserInputService.MouseBehavior = Enum.MouseBehavior.Default
    pcall(function() UserGameSettings.RotationType = Enum.RotationType.MovementRelative end)
    pcall(function() game:GetService("Players").LocalPlayer:GetMouse().Icon = "" end)


Comments

1
Log in to join the conversation. Login
NPC_PlayersNoob_Alt's profile picture
NPC_PlayersNoob_AltUploader2 months ago

Weird script.

1

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 📌
736
221
Approved 16 hours ago
Universal Script 📌
641
2.7k
Approved 16 hours ago