I wanna make shot button for mobile but I am not know how to scripting help me

  1. I am making fps games

  2. I wanna make a mobile support but I tried scripting but not working ( I am already made gui)

  3. I tried finding yt how to make mobile buttons
    So i need help

well if you already made the gui to make it visble on mobile then use
if (game:GetService("UserInputService").TouchEnabled == true) and (game:GetService("UserInputService").MouseEnabled == false) then script.Parent.Visible = true end
something like this, put it in a local script under your button. or if theres a seperate screengui for the mobile buttons make it do script.Parent.Enabled = true and put it under the screengui rather than every button