-
What do you want to achieve? Keep it simple and clear!
In some Roblox games, when the voting or whatever shows up, your character can’t move during the gui. Unless you close the gui or it closes itself. -
What is the issue? Include screenshots / videos if possible!
My Scripting Level is somewhere near 2 so i don’t know how to script it. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Nope, nothing related to this, as far as i have searched.
1 Like
When the GUI is on screen, from Server side you could anchor the HumanoidRootPart of the player
playerCharacter.HumanoidRootPart.Anchored = true
Plus in Client side you could disable the controls
local Controls = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("PlayerModule")):GetControls()
-- To disable
Controls:Disable()
-- To enable
Controls:Enable()
9 Likes
Thanks! This was really confusing!
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.