Universal Script 📌
2.6k Views
2.3k Executions
Key System

YM TOOL

Universal Script 📌
cookichocs
cookichocsFirst script
3 months ago · Updated

Reviewed by QueueSpeedDemonPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

UPDATE ON DISCORD the key : ymclxn

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local VirtualUser = game:GetService("VirtualUser")
local Camera = workspace.CurrentCamera
local Mouse = Players.LocalPlayer:GetMouse()
local player = Players.LocalPlayer


local cursorIsForced = false
local savedMouseBehavior = nil
local savedMouseIconEnabled = nil
local CURSOR_RENDER_STEP = "YM_ForceFreeCursor"

local function setCursorForced(visible)
	if visible then
		if not cursorIsForced then
			savedMouseBehavior = UserInputService.MouseBehavior
			savedMouseIconEnabled = UserInputService.MouseIconEnabled
			cursorIsForced = true

			pcall(function()
				RunService:UnbindFromRenderStep(CURSOR_RENDER_STEP)
				RunService:BindToRenderStep(CURSOR_RENDER_STEP, Enum.RenderPriority.Last.Value, function()
					if cursorIsForced then
						UserInputService.MouseBehavior = Enum.MouseBehavior.Default
						UserInputService.MouseIconEnabled = true
					end
				end)
			end)
		end
		UserInputService.MouseBehavior = Enum.MouseBehavior.Default
		UserInputService.MouseIconEnabled = true
	elseif cursorIsForced then
		cursorIsForced = false
		pcall(function()
			RunService:UnbindFromRenderStep(CURSOR_RENDER_STEP)
		end)
		if savedMouseBehavior then
			UserInputService.MouseBehavior = savedMouseBehavior


Comments

1
Log in to join the conversation. Login
FEMDER2048's profile picture
FEMDER20482 months ago

Я когда хочу оплатить выдачи ошибку

0

More universal scripts

See all
Universal Script 📌
19
0
Approved 23 minutes ago
Script hub
192
991
Bumped 2 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.3k
Bumped 3 hours ago
Key System
Script hub
10.6k
201.7k
Bumped 3 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
300.4k
Bumped 6 hours ago
Script hub
23.8k
5.3k
Bumped 6 hours ago
Key System
Paid
High Quality Offering