Device spoofer
Key RequiredUniversal

Device spoofer

Universal Scripti1231931i1231931 9.3K views 564 executesUpdated May 24, 2025
4.3/ 5(7 votes)
6186% Positive
Lua Script•52 lines (1411 chars)
if not hookmetamethod then
    error("hookmetamethod is not supported in this environment.")
end

local game = game
local UserInputService = game:GetService("UserInputService")
local GuiService = game:GetService("GuiService")
local Enum = Enum


local oldNamecall
local oldIndex


oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
    local method = getnamecallmethod()
    
    if self == UserInputService or self == GuiService then
        if method == "GetPlatform" then
            return Enum.Platform.XBoxOne 
        elseif method == "IsTenFootInterface" then
            return true 
        elseif method == "GetPlatformName" then
            return "XboxOne" 
        end
    end
    
    return oldNamecall(self, ...)
end)


oldIndex = hookmetamethod(game, "__index", function(tbl, idx)
    
    if tostring(getcallingscript()) ~= "ControlModule" and tbl == UserInputService then
        if idx == "TouchEnabled" then
            return false 
        elseif idx == "MouseEnabled" then
            return false 
        elseif idx == "KeyboardEnabled" then
            return false 
        elseif idx == "GamepadEnabled" then
            return true 
        elseif idx == "ControllerEnabled" then
            return true 
        end
    end
    
    return oldIndex(tbl, idx)
end)


print("[Platform Spoofer] Successfully hooked platform and input methods to emulate Xbox One.")

Features & Information

spoofs your device to controller

Community Comments (8)

ape3ntape3ntMay 24, 2025

yo ty bro

ape3ntape3ntMay 24, 2025

can u try spoof from mobile to keyboard?

i1231931i1231931May 24, 2025

yes add my discord @i278

Luso2KLuso2KMay 27, 2025

Yo how do i use this where do i paste it ?

Testing12Testing12Oct 4, 2025

Can you made it from mobile to PC? I don't know what to type since "Computer" or windows didn't work when I tried to change it

RiftScriptsRiftScriptsOct 22, 2025

does it also work that you can spoof a midi?

AzpmAzpmDec 14, 2025

Isso se serviriam se eu estivesse com um controle?

voidhatesvoidhatesFeb 8, 2026

does it work for "VR"?

More Scripts for Universal Scripts