Universal Script ๐Ÿ“Œ
2.1k Views
212.9k Executions

Shift Lock For Mobile Remade Definitive

100K executions
Universal Script ๐Ÿ“Œ
supremodarkhub
supremodarkhub100K 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

๐Ÿ”’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.

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



Comments

1
Log in to join the conversation. Login
Agax's profile picture
Agax4 months ago

Thanks

1

Tags

More universal scripts

See all
Script hub
1.7M
2.2M
Bumped 26 minutes ago
Key System

Script hub

#15 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
14.5k
82.9k
Bumped 26 minutes ago
Key System

Script hub

Kronos New

Script hub
3.2M
753.1k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script ๐Ÿ“Œ
438
1.1k
Bumped 5 hours ago
Key System
Universal Script ๐Ÿ“Œ
7.1k
141.6k
Bumped 6 hours ago
Script hub
45.7k
114.4k
Bumped 8 hours ago
Key System
Script hub
3.5M
448.8k
Bumped 8 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*