Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a crosshair a certain id?

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"

1 answer

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"

1 comment

0

yea he just made a typo of period and not colon

This discussion is preserved as it was. New answers, comments, and votes are closed.