Wallhop Alignment key but not spin
Key RequiredUniversal

Wallhop Alignment key but not spin

Universal ScriptMaksPlaysGamesMaksPlaysGames 343 views 292 executesUpdated Oct 2, 2026
Unrated
00
Lua Script•35 lines (1059 chars)
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- LocalScript
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Player = Players.LocalPlayer
local Camera = workspace.CurrentCamera

repeat wait() until Camera.CameraType == Enum.CameraType.Custom

local function rotateCamera(deg)
	local root = Player.Character and Player.Character:FindFirstChild("HumanoidRootPart")
	if not root then return end

	local newCFrame = CFrame.Angles(0, math.rad(deg), 0) * Camera.CFrame
	Camera.CFrame = CFrame.new(Camera.CFrame.Position) * newCFrame.Rotation
end

local function restoreCamera()
	rotateCamera(-45)  -- left
	wait(0.000000000001)
	rotateCamera(45)   -- back right (net 0°)
end

-- Keybind (Press R to rotate)
local KEYBIND = Enum.KeyCode.R

UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end
	if input.KeyCode == KEYBIND then
		restoreCamera()
	end
end)

Features & Information

macro but a script only for pc

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts