My mobile gun does not fire at the cursor ingame

so im making a mobile support gun which works completely fine in studio but it off center and doesnt hit at the cursor ingame

the studio clip :

the ingame clip :

script :

anyone knows the problem?

1 Like

Well for the icon the problem is that in studio you wont get the correct position / sizing you have to close all tabs in studio for explain turning off explorer or the tool box or propertys and stuff like that

do you have any solution for this?

there are defenetly plugins on roblox studio to auto aline your studio pc gui to the phone gui

well i actually did used that once but it broke even more

actually nvm i fixed it by messing around with gui, thx for helping btw :+1:

oh alr good to know good luck on your game