
16 Views
0 Executions
Magnet Boots
Universal Script 📌
2 days ago · Updated
Reviewed by QueueSherlockPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Standard script that anchors the character to a surface while still allowing movement across the deck, it includes smooth motion for navigating stairs and elevated areas, as well as the ability to jump safely (Universal btw, so it works for more than just Ocean Disaster)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local isLocked = false
local lockedPart = nil
local relativeCFrame = nil
local localShipUp = Vector3.yAxis
local connections = {}
local isJumping = false
local verticalVelocity = 0
local jumpRequested = false
local idleTrack = nil
local walkTrack = nil
local jumpTrack = nil
local guiParent = (gethui and gethui()) or game:GetService("CoreGui")
if guiParent:FindFirstChild("SurfaceLockGUI") then
guiParent.SurfaceLockGUI:Destroy()
end
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SurfaceLockGUI"
screenGui.ResetOnSpawn = false
screenGui.Parent = guiParent
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 180, 0, 80)
mainFrame.Position = UDim2.new(0.8, 0, 0.4, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Parent = screenGui
local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 8)
uiCorner.Parent = mainFrame
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







