Universal Script 📌
96.4k Views
507 Executions

extremely simple wall hop script mobile not supported

Universal Script 📌
jailcase
jailcaseFirst script
1 year 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

left click to turn 45* right click to turn -45*

View Raw
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local mouse = player:GetMouse()

local char = player.Character or player.CharacterAdded:Wait()
local root = char:WaitForChild("HumanoidRootPart")
local cam = workspace.CurrentCamera

local angle = 45
local waitTime = 0.1

local function rotateY(part, delta)
    local ori = part.Orientation
    part.Orientation = Vector3.new(ori.X, ori.Y + delta, ori.Z)
    wait(waitTime)
    part.Orientation = ori
end

local function rotateCamera(delta)
    cam.CFrame = cam.CFrame * CFrame.Angles(0, math.rad(delta), 0)
    wait(waitTime)
    cam.CFrame = cam.CFrame * CFrame.Angles(0, math.rad(-delta), 0)
end

mouse.Button1Down:Connect(function()
    if UIS.MouseBehavior == Enum.MouseBehavior.LockCenter then
        rotateCamera(angle)
    else
        rotateY(root, angle)
    end
end)

mouse.Button2Down:Connect(function()
    if UIS.MouseBehavior == Enum.MouseBehavior.LockCenter then
        rotateCamera(-angle)
    else
        rotateY(root, -angle)
    end
end)



Comments

4
Log in to join the conversation. Login
buttercat's profile picture
buttercat1 year ago

imagine needing scripts to wall hop rmc ontop

2
danigamer9800's profile picture
danigamer98001 year ago

how do i turn it on

1
danigamer9800's profile picture
danigamer98001 year ago

its not working

1
jailcase's profile picture
jailcaseUploader1 year ago(edited)

im actually pretty good at wall hop but i just though* would be pretty cool

1

Tags

More universal scripts

See all
Script hub
2.4k
7.2k
Bumped 10 minutes ago
Key System
Universal Script 📌
1.2k
4.2k
Bumped 10 minutes ago
Universal Script 📌
6.8k
20.7k
Bumped 3 hours ago
Key System
Universal Script 📌
122
9
Approved 4 hours ago
Universal Script 📌
119
12
Approved 4 hours ago
Universal Script 📌
97
5
Approved 4 hours ago