So I want to make my crosshair in my game a certain thing, I have the roblox image and this is the code I have but whenever I launch the game it doesn't work.
local mouse = game.Players.LocalPlayer.GetMouse()
mouse.Icon = "rbxassetid://1827745864"
So I want to make my crosshair in my game a certain thing, I have the roblox image and this is the code I have but whenever I launch the game it doesn't work.
local mouse = game.Players.LocalPlayer.GetMouse()
mouse.Icon = "rbxassetid://1827745864"
It's because you used the "." when getting the player mouse. You were supposed to use ":" Let me help you out:
local mouse = game.Players.LocalPlayer:GetMouse()
mouse.Icon = "rbxassetid://1827745864"
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
yea he just made a typo of period and not colon