Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to disable jump and move Gui's on tablets/phones?

Hello,

I'm currently making a game and I want to make it so then when a tablet/phone user joins the game they can not see their jump and move controls. Here is my script:

game.Players.PlayerAdded:Connect(function()
	if game.Players.LocalPlayer.TeamColor == BrickColor.new("Dark stone grey") then
		game.Players.LocalPlayer.PlayerGui:WaitForChild("TouchGui").Enabled = false
	end
end)

Whenever I join the game in the tablet/phone emulator the controls are still there. In the output there is no errors so I am not sure what is wrong with the script.

If anyone could assist me it would be much appreciated! :)

4 comments

0

im good at exploit scripts

0

u cant desable it roblox always give that only u can is do the platform only for computer and xbox thats easy!

0

btw answer my question

0

Sorry what do you mean?

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.