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

Help with mouse icon problems?

Asked by 10 years ago

For some random reason, when I change player icon, and when I hover over a button, the mouse icon changes to roblox default, is there any way I can change that? here is the script that changs the mouse icon:

local player = Game:GetService("Players").LocalPlayer                            -- Gets you the Player
local mouse,texture = player:GetMouse(),"http://www.roblox.com/asset/?id=68308747" --Gets mouse and texture
while wait() do
function mouseIcon(p,m,t)                   -- begins the function
if ( p ~= nil and m ~= nil and t) then -- checks the reactents
m.Icon = t end end                          -- makes the icon what you want/ends function
mouseIcon(player,mouse,texture)             -- activates the function
end
0
You cannot set the PlayerMouse icon as of yet. Lacryma 548 — 10y
0
I just did it ;3 Try my script out, it works. deputychicken 226 — 10y
0
Except, add a 'end' at the bottom, it kinda dissaperated on me x3 deputychicken 226 — 10y
0
Ah they just added it I suppose? (Studio is upgrading for me) Lacryma 548 — 10y
View all comments (3 more)
0
A bunch of new stuff was recently added concerning the Mouse API. Basswobble 165 — 10y
0
:0 They. Just?... Excuse me while I go draw up dozens of sprites with Paint.net. :D deaththerapy 60 — 10y
0
Bass, is there any link that says what they added? deputychicken 226 — 10y

Answer this question