Ad
Log in to vote
0

How to make a crosshair a certain id?

Asked by 3 days ago

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

Log in to vote
0
Answered by
vra000 22
3 days ago
Edited 3 days ago

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"
0
yea he just made a typo of period and not colon Jakob_Cashy 35 — 2d
Ad

Answer this question