i followed a tutorial on youtube to see how to disable controls, i followed it and here’s the script :
local LocalPlayer = game:GetService("Players").LocalPlayer
local Controls = require(LocalPlayer.PlayerScripts.PlayerModule):GetControls()
Controls:Disable()