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
im good at exploit scripts
u cant desable it roblox always give that only u can is do the platform only for computer and xbox thats easy!
btw answer my question
Sorry what do you mean?