![]() ![]() To do this: local UIS = game:GetService("UserInputService") You’ll also wanna make the default mouse invisible. MouseIcons = mouseIcon - set as first value in the table ![]() customize the size or anything of the image however you like here MouseIcon.Parent = ScreenGui - make sure you create a ScreenGui MouseIcon.ZIndex = 6 - this makes sure the newest one is on top MouseIcon.Image = imageId - set the image MouseIcon.Position = UDim2.new(0, mouse.X, 0, mouse.Y) Local mouseIcon = Instance.new("ImageLabel") MouseIcons = mouseIcons - shifting values down ![]() MouseIcons:Destroy() - destroy the last value Local mouseIcons = - store icons here to remove as needed I could create the trail effect like so: local imageId = "" - you can put whatever mouse icon ID you want here You can get a mouse’s position by using local mouse = :GetMouse() to get the mouse and then the X value would be mouse.X while the Y value would be mouse.Y. I’ve never done such a thing, but the way I’d do it is to constantly be creating and fading out then removing ImageLabels where the mouse’s position is. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |