I just deleted that function and it did’t affect my script in any way and after that I tested it and the thought I had of that the button is not being created was right. The context action service button is not being created for the user
I even positioned it to this but still the button is not visible on the screen.
ContextActionService:SetPosition("Block", UDim2.new(1, -70, 0, 10))