--!strict local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local SCRIPT_ID = "ConsoleJumpLegacy" if getgenv()[SCRIPT_ID] then getgenv()[SCRIPT_ID]() end local enabled = true local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self: any, ...) local method = getnamecallmethod() if enabled and not checkcaller() and (method == "GetAttribute" or method == "getAttribute") and self == LocalPlayer then local attr = ... if attr == "OnXbox" then local src = debug.info(2, "s") if src and string.find(src, "Movement") then return true end end end return oldNamecall(self, ...) end)) getgenv()[SCRIPT_ID] = function() enabled = false pcall(function() hookmetamethod(game, "__namecall", oldNamecall) end) getgenv()[SCRIPT_ID] = nil end