Universal Script 📌
8.0k Views
18 Executions

H

Universal Script 📌
vobBox
vobBoxPublished 10
2 years ago
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

H

View Raw
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local camera = workspace.CurrentCamera

local isReadingMode = false

-- تفعيل/إلغاء وضع القراءة
UIS.InputBegan:Connect(function(input, isProcessed)
	if not isProcessed and input.KeyCode == Enum.KeyCode.H then
		isReadingMode = not isReadingMode
		if isReadingMode then
			print("أنت تقرأ على الشاشة...")
		else
			print("تم إيقاف وضع القراءة.")
		end
	end
end)

-- التنقل عند الضغط على الشاشة
mouse.Button1Down:Connect(function()
	if isReadingMode then
		local mousePos = mouse.Hit
		if mousePos then
			local character = player.Character
			if character and character:FindFirstChild("HumanoidRootPart") then
				character.HumanoidRootPart.CFrame = CFrame.new(mousePos.Position + Vector3.new(0, 5, 0))
			end
		end
	end
end)


Comments

2
Log in to join the conversation. Login
helloQ's profile picture
helloQ2 years ago

H

1
Poker's profile picture
Poker2 years ago

why is it all H?

1

More universal scripts

See all
Universal Script 📌
783
5.0k
Bumped 2 hours ago
Universal Script 📌
6.2k
54.4k
Bumped 2 hours ago
Universal Script 📌
2.4k
2.1k
Bumped 3 hours ago
Key System
Script hub
14.4k
75.0k
Bumped 5 hours ago
Universal Script 📌
97
99
Approved 6 hours ago
Key System
Universal Script 📌
97
120
Approved 7 hours ago