![]() Local char = plr.Character or plr.CharacterAdded:Wait()Ĭursor.Icon = tool. Local iconr = cursors:WaitForChild("gunreload").Value ![]() Local icon = cursors:WaitForChild("gun").Value Local cursors = storage:WaitForChild("cursors") I’m 100% sure there are no scripts changing the mouse icon aside from the tool cursor script, this is the code for it: local storage = game:GetService("ReplicatedStorage") While wait()/task.wait() do loops don’t seem to work, runservice.heartbeat and renderstepped don’t work either Once i equip a tool which changes the mouse.icon and uis.mouseicon both to the gun icon and then unequip it, it shows the default mouse icon and doesn’t change back unless it’s manually changed The fer function works fine, and the mouse icon changes to the image Yes, both images are image ids not decal ids If mouse.Icon = id or uis.MouseIcon = id thenĮlseif mouse.Icon = id2 or uis.MouseIcon = id2 then If daytime then uis.MouseIconEnabled = true else uis.MouseIconEnabled = false end Local normal = "rbxassetid://13902810543"ĭayevent.OnClientEvent:Connect(function(mchangecheck, daytime) png.gif Settings Key Bindings Custom Font Mobile App About Pixilart. Local id2 = "rbxasset://textures/Cursors/KeyboardMouse/ArrowCursor.png" Local id = "rbxasset://textures/Cursors/KeyboardMouse/ArrowFarCursor.png" ![]() Local dayevent = storage:WaitForChild("dayevent") Local storage = game:GetService("ReplicatedStorage") Local uis = game:GetService("UserInputService") This is currently my code: local rs = game:GetService("RunService") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |