I’ve been trying to make a hitmarker gui for the past few hours, i’ve made a gui but my problem is positioning and appearing
I don’t know how to position the hitmarker gui onto the cursor’s position
I’ve been trying to make a hitmarker gui for the past few hours, i’ve made a gui but my problem is positioning and appearing
I don’t know how to position the hitmarker gui onto the cursor’s position
local plr = game.Players.LocalPlayer
local Mouse = plr:GetMouse()
local hitmarker= --put your hitmarker path here
hitmarker.Position = UDim2.new(0,Mouse.x-hitmarker.Size.X.Offset/2,0,Mouse.y-hitmarker.Size.Y.Offset/2)
--^^ assign the position when needed
I’ll test it when I’m on pc but thank you in advance
nevermind ignore this, i didnt reference properly
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.