
2.1k Views
212.9k Executions
Shift Lock For Mobile Remade Definitive
100K executions
Universal Script ๐
supremodarkhub100K executions
4 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
๐Shift Lock For Mobile๐ฑ (Remade Definitive) (Modern design based on Roblox's own control design, colors, etc.)๐ฏ ๐Shift Lock for Mobile, remade and updated. Works in Roblox Studio, Studio Lite, and any future versions that come out. Just create a simple LocalScript in Roblox Studio, inside StarterPlayerScripts. And yeah, it obviously works with executors too.
local players = game:GetService("Players")
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
local localPlayer = players.LocalPlayer
local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local root = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
local camera = workspace.CurrentCamera
local iconOff = "rbxassetid://77288664952024"
local iconOn = "rbxassetid://140416355442805"
local cursorImg = "rbxasset://textures/MouseLockedCursor.png"
local isTouchDevice = userInputService.TouchEnabled
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "shiftlockgui"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.IgnoreGuiInset = true
screenGui.Parent = localPlayer:WaitForChild("PlayerGui")
local customIconId = ""
local customCursorId = ""
if customIconId ~= "" then
iconOff = customIconId
iconOn = customIconId
end
if customCursorId ~= "" then
cursorImg = customCursorId
end
local buttonPosition = UDim2.new(0.86, 0, 0.93, 0)
local buttonSize = UDim2.new(0, 44, 0, 44)









Thanks