I was just wondering why i keep getting this error when ever i try to run it "Players.Player.PlayerGui.LocalScript:4: attempt to index field 'X' (a number value) 16:29:13.071 - Stack Begin 16:29:13.073 - Script 'Players.Player.PlayerGui.LocalScript', Line 4 16:29:13.074 - Stack End"
local P = game.Players.LocalPlayer
local mouse = P:GetMouse()
local Icon = game.Workspace.Icon:Clone()
mouse.X.Changed:connect(function()
end)

2 comments
What good does it do to check if the mouse's x coordinate exists?
Nothing, I misread the error in his script. Woops. :P