Universal Script 📌
2.6k Views
84.9k Executions

Classic Shiftlock Remastered by NPC

10K executions
Universal Script 📌
NPC_PlayersNoob_Alt
NPC_PlayersNoob_Alt100K executions
4 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

Shiftlock is make for Mobile Roblox, that does mean this dont have PC switch key (like shift key) How to use? Mobile 📱: click the button the switch enable/disable shiftlock PC 🖥️: Click Shift key to switch enable/disable shiftlock

Updates

  1. Script edited: Update script

View Raw
-- =============================================================================
-- 【高级脚本遮盖与单例销毁系统 - 已修补】
-- =============================================================================
-- 【补丁 1:等待游戏加载】
repeat task.wait() until game:IsLoaded()
local Players = game:GetService("Players")
repeat task.wait() until Players.LocalPlayer

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)
end
globalEnv[SCRIPT_ID] = Janitor

-- =============================================================================
-- --- 0. Creator Notification System ---
-- =============================================================================


Comments

2
Log in to join the conversation. Login
Zuris's profile picture
Zuris4 months ago

da

1
Zuris's profile picture
Zuris4 months ago

wa

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