#Custom Mouse Cursor

1 messages · Page 1 of 1 (latest)

loud tendon
#

Uuh, lets me explain..

Im making a soccer game and im trying to do a custom cursor (or just disable it, looks a good ideia too)

But for some reason literally this never works.


I found some things in studio documentation but dont work and now i dont know if this is a bug or im just blind (maybe im just tired to work lol)


Some scripts who i tried, if i made this in wrong way, sorry lol.

Well, i tried just put a localScript in StarterPlayerScripts

UserInputService.MouseIconEnabled = false

** I tried this script in toolbox too, just so see if im just typing something wrong but isan't working too**

`` local SmoothShiftLock = {}
SmoothShiftLock.__index = SmoothShiftLock;

local Players = game:GetService("Players");
local WorkspaceService = game:GetService("Workspace");
local RunService = game:GetService("RunService");
local UserInputService = game:GetService("UserInputService");
local TweenService = game:GetService("TweenService");

local UtilsFolder = script:WaitForChild("Utils");

local Maid = require(UtilsFolder:WaitForChild("Maid"));
local Signal = require(UtilsFolder:WaitForChild("Signal"));
local Spring = require(UtilsFolder:WaitForChild("Spring"));

local LocalPlayer = Players.LocalPlayer;

local ToggleEvent = script:WaitForChild("ToggleShiftLock");
local EditConfig = script:WaitForChild("EditConfig");

local config = {
["CHARACTER_SMOOTH_ROTATION"] = true,
["MANUALLY_TOGGLEABLE"] = true,
["CHARACTER_ROTATION_SPEED"] = 3,
["TRANSITION_SPRING_DAMPER"] = 0.7,
["CAMERA_TRANSITION_IN_SPEED"] = 10,
["CAMERA_TRANSITION_OUT_SPEED"] = 14,
["LOCKED_CAMERA_OFFSET"] = Vector3.new(1.75, 0.25, 0),
["LOCKED_MOUSE_ICON"] = "rbxasset://SystemCursors/Cross",
``

Cross is litterally a roblox asset, so i dont know why
Isan't working (Yeah, this asset is in roblox docs)


Well.. English is not my first language so.. sorry if i say something wrong lol.

#

i tried just change the id but this just brought the default roblox cursor back

ionic brook
#

it's rbxassetid://iconassetid if I can remember