SHIFT LOCK LITE MEJORADO
izzystradlinh 3 months ago 518 viewsRun it
Copy the script and paste it into your executor.
SHIFT LOCK LITE MEJORADO.lua · 85 lines -- Versión Mejorada del Shift Lock Lite
local Players = :()
RunService = :()
UserInputService = :()
TweenService = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
rootPart = character:()
camera = .CurrentCamera
SHIFT_KEY = .KeyCode.LeftShift
OFFSET_X =
OFFSET_Y =
OFFSET_Z =
SMOOTHNESS =
shiftLocked =
connection
(active)
shiftLocked = active
active
humanoid.AutoRotate =
connection = RunService.RenderStepped:((deltaTime)
UserInputService.MouseBehavior = .MouseBehavior.LockCenter
targetOffset = .(OFFSET_X, OFFSET_Y, OFFSET_Z)
humanoid.CameraOffset = humanoid.CameraOffset:(targetOffset, SMOOTHNESS)
_, yRot = camera.CFrame:()
rootPart.CFrame = rootPart.CFrame:(.(rootPart.Position) * .(, yRot, ), SMOOTHNESS)
)
connection connection:()
UserInputService.MouseBehavior = .MouseBehavior.Default
humanoid.AutoRotate =
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
tween = TweenService:(humanoid, tweenInfo, {CameraOffset = .(, , )})
tween:()
UserInputService.InputBegan:((input, isProcessed)
isProcessed
input.KeyCode == SHIFT_KEY
( shiftLocked)
)
player.CharacterAdded:((newChar)
character = newChar
humanoid = character:()
rootPart = character:()
shiftLocked
()
()
)
About this script
SHIFT LOCK LITE MEJORADO
SHIFT LOCK LITE MEJORADO · RobloxExploits.lolgame
GetService
"Players"
local
game
GetService
"RunService"
local
game
GetService
"UserInputService"
local
game
GetService
"TweenService"
local
local
or
Wait
local
WaitForChild
"Humanoid"
local
WaitForChild
"HumanoidRootPart"
local
workspace
-- CONFIGURACIONES AJUSTABLES
local
Enum
-- Tecla para activar
local
1.75
-- Distancia horizontal de la cámara
local
0
-- Distancia vertical
local
0.5
-- Alejamiento de la cámara
local
0.25
-- Velocidad de suavizado (mientras más bajo, más rápido rota)
local
false
local
-- Sonido opcional (descomentar y poner ID si se quiere)
-- local toggleSound = Instance.new("Sound")
-- toggleSound.SoundId = "rbxassetid://TU_ID_DE_SONIDO"
-- toggleSound.Parent = character
local
function
toggleShiftLock
if
then
-- Desactivar rotación automática del humanoide para controlarlo manualmente
false
-- Ocultar el cursor normal si lo deseas (opcional)
-- UserInputService.MouseIconEnabled = false
-- Iniciar el ciclo de rotación y centrado
Connect
function
-- Bloquear ratón en el centro
Enum
-- Mover la cámara ligeramente hacia el hombro
local
Vector3
new
Lerp
-- Hacer que el personaje mire hacia donde apunta la cámara
local
ToEulerAnglesYXZ
Lerp
CFrame
new
CFrame
Angles
0
0
end
else
-- Restaurar estado original
if
then
Disconnect
end
-- Limpiar comportamientos y offsets de cámara
Enum
true
local
new
0.3
Enum
Enum
local
Create
Vector3
new
0
0
0
Play
end
end
-- Detección de la tecla
Connect
function
if
then
return
end
if
then
toggleShiftLock
not
-- if toggleSound then toggleSound:Play() end
end
end
-- Asegurar que el script siga funcionando al reaparecer o morir
Connect
function
WaitForChild
"Humanoid"
WaitForChild
"HumanoidRootPart"
if
then
toggleShiftLock
false
toggleShiftLock
true
end
end
Soggyware 60 PLUS Games
Universal