Hello, hope you are feeling well today! . Since my game got released some players ain’t able to move in it. Scripts ain’t affecting speed, neither player’s control. Currently is happening on Mac and on some mobiles. Idk if this is a bug, that’s why I posted here. The only thing they can do is jump. Someone joined with this issue and I said oh ok, let me give him speed. But still looks like the speed is not being affected, is just that ain’t able to move.
What Happens: A player joins the game, they start running normally until 3 seconds and then they stop. As I said none of the scripts affect the players speed, (There is just one that Disables the Player Movement, but just if they are below a certain level 2.) Attention, this function doesn’t run if the player is 2 + of level. Also, the scripts that really affect speed, just change it to 16 or 32 depending on the boost. (If you buy a boost the speed will be set to 32, after a minute it goes back to 16) done. So nothing really is setting the speed to 0.
Could you show us the code which disables movement and changes the walk speed?
Player movement doesn’t usually just stop, so a script really is the most likely thing to be of issue here.
A popular method for debugging this kind of general problem, would be to remove/disable scripts one by one to see if the problem stops after a specific script is disabled. Then you’ll be able to work out which one is causing the problem and spend time on debugging.
function TutorialScript ()
local PlayerModule = require(player.PlayerScripts.PlayerModule)
local Controls = PlayerModule:GetControls()
Controls:Disable()
-- Tutorial Starts After This Line --
--
--
-- After Tutorial Finishes --
Controls:Enable()
end
if player.Level.Value < 2 then
TutorialScript()
end
Ooooh, ok I know why is that. (Well that’s because is not finding a Dead Trunk in the game. I have to fix that issue). Can you reset if you are able to please.
Try wait() before disabling controls and make sure put wait() at start of every script because every roblox client compiles different it can make difference for property of computer