i just want to disable all humanoid state type to the player’s humanoid
i tried disabling all of them but either the runningNoPhysics state got through or the freefall state got through
i tried for looping and set them one by one to see if that works and also tried to set them on the server
i tried to use a while true do loop to keep states from getting through but every time i press w and the player walks and i fail
this script might be the problem but i dont know why it would cause it or how it did
local ContextActionService,w,a,s,d = game:GetService('ContextActionService'),0,0,0,0
ContextActionService:BindAction('w', function()
w = math.abs(w - 1)
end, false,'w')
ContextActionService:BindAction('a', function()
a = math.abs(a - 1)
end, false,'a')
ContextActionService:BindAction('s', function()
s = math.abs(s - 1)
end, false,'s')
ContextActionService:BindAction('d', function()
d = math.abs(d - 1)
end, false,'d')
local RunService,Player = game:GetService('RunService'), game:GetService('Players').LocalPlayer
RunService:BindToRenderStep('𝄴',100, function()
local WASD = Vector3.new(d - a, 0, s - w)
Player:Move(WASD,true)
end)
i used a T-1E package that i made to delete all of roblox’s modules, scripts and other stuff so theres really only one script in the player’s character that im using to disable the humanoid states
and the other which is the Player’s movement that i just showed