Can I make the ContextActionService button equal to a gui in game when I do the function of setImage? I already tried referencing the gui and entering it in the setImage function for ContextActionService and it didnt work. I tried putting the gui I reference in quotes and not in quotes when I did do the setImage. Here is my code(simplified of course), did I do anything wrong or can you just not set it toa gui in general?
local HUD = game.StarterGui:WaitForChild("HUD") local punchGUI = HUD:WaitForChild("punch")
ContextActionService:BindAction("start", punchActivate, true, Enum.UserInputType.MouseButton1) ContextActionService:SetImage("start","") ContextActionService:SetPosition("start",UDim2.new(0.1,0,0.1,-25))