Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a crosshair a certain id?

Asked by 2 years 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
2 years ago
Edited 2 years 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 79 — 2y
Ad

Answer this question