The provided code on this page has broken code listed as a example.
local function TouchTap(touch, gameProcessedEvent)
touchGui.Parent = touchScreenGui
touchGui.Position = UDim2.new(0, touch.Position.X, 0, touch.Position.Y)
touchGui.Size = UDim2.new(0,50,0,50)
end
Taken directly from output, “touch” does not have the value of Position
Instead you need to do
touchGui.Position = UDim2.new(0, touch[1].X, 0, touch[1].Y)