Advertisement
ARY106_7

سكربت ايم المهري | ماب السرعه

Jan 27th, 2025 (edited)
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.03 KB | None | 0 0
  1. local collectSpeed = 0.10 -- قيمة البداية لسرعة التجميع
  2. local multiplier = 20 -- قيمة الـ multiplier (عدد التكرارات)
  3. local gemMultiplier = 20 -- عدد مرات التكرار لكل دورة
  4. local collectSpeedGems = 0.10 -- قيمة البداية لسرعة جمع الجواهر
  5. local lastClickTime = 0 -- تخزين الوقت الذي تم فيه الضغط على الزر آخر مرة
  6. local cooldownTime = 5 -- الوقت بالثواني بين كل ضغطة على الزر (5 ثواني)
  7. local lastClickTimeChest = 0 -- وقت آخر ضغطة زر
  8. local cooldownTimeChest = 2
  9. local TeleportService = game:GetService("TeleportService")
  10. local UIS = game:GetService("UserInputService")
  11.  
  12. local OrionLib = loadstring(game:HttpGet(('https://pastebin.com/raw/PjkY8zj0')))()
  13. OrionLib:MakeNotification({
  14. Name = "انتظر ...",
  15. Content = "اصبر",
  16. Image = "rbxassetid://4483345998",
  17. Time = 3
  18. })
  19.  
  20.  
  21. local Window = OrionLib:MakeWindow({Name = "سكربت ايم المهري | ماب السرعه", SearchBar = { Default = 'بحث قوائم في السكربت', ClearTextOnFocus = true }, HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  22. OrionLib:MakeNotification({
  23. Name = "تم تشغيل .",
  24. Content = "تم تشغيل",
  25. Image = "rbxassetid://4483345998",
  26. Time = 3
  27. })
  28.  
  29. local Tab = Window:MakeTab({
  30. Name = "التلقائي",
  31. Icon = "rbxassetid://279461710",
  32. PremiumOnly = false
  33. })
  34.  
  35. local Section = Tab:AddSection({
  36. Name = "تجميع تلقائي"
  37. })
  38.  
  39. Tab:AddToggle({
  40. Name = "تجميع المستوى تلقائي",
  41. Default = false,
  42. Callback = function(Value)
  43. getgenv().OrbGet = Value
  44.  
  45. local function collectOrbs()
  46. local orbEvent = game:GetService("ReplicatedStorage"):FindFirstChild("rEvents"):FindFirstChild("orbEvent")
  47. if not orbEvent then
  48. warn("orbEvent is not found!")
  49. return
  50. end
  51.  
  52. while getgenv().OrbGet do
  53. for i = 1, multiplier do -- استخدام الـ multiplier هنا
  54. -- القيم التي سيتم دمجها في الموضع [3]
  55. local locations = {"City", "Snow City", "Magma City", "Legends Highway"}
  56.  
  57. -- نرسل كل قيمة في locations باستخدام دالة منفصلة
  58. for _, location in ipairs(locations) do
  59. local args = {
  60. [1] = "collectOrb",
  61. [2] = "Red Orb",
  62. [3] = location
  63. }
  64. orbEvent:FireServer(unpack(args))
  65. end
  66. end
  67. wait(collectSpeed) -- استخدام سرعة التجميع التي حددها المستخدم (الفاصل الزمني بين كل مجموعة من التكرارات)
  68. end
  69. end
  70.  
  71. -- تشغيل الوظيفة إذا كانت الميزة مفعّلة
  72. if getgenv().OrbGet then
  73. spawn(collectOrbs)
  74. end
  75.  
  76. -- طباعة الحالة الحالية
  77. print("Auto Farm EXP:", Value)
  78. end
  79. })
  80.  
  81. Tab:AddToggle({
  82. Name = "تحميع الجواهر تلقائي",
  83. Default = false,
  84. Callback = function(Value)
  85. getgenv().gemGet = Value -- تغيير قيمة gemGet بناءً على حالة الـ Toggle
  86.  
  87. -- وظيفة جمع Gems
  88. spawn(function()
  89. while true do
  90. if getgenv().gemGet then -- التحقق من قيمة gemGet
  91. for i = 1, gemMultiplier do -- استخدام الـ gemMultiplier هنا
  92. -- القيم التي سيتم دمجها في الموضع [3]
  93. local locations = {"City", "Snow City", "Magma City", "Legends Highway"}
  94.  
  95. -- نرسل كل قيمة في locations باستخدام دالة منفصلة
  96. for _, location in ipairs(locations) do
  97. local args = {
  98. [1] = "collectOrb",
  99. [2] = "Gem", -- هنا نستخدم Gem بدلاً من Orb
  100. [3] = location
  101. }
  102. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer(unpack(args))
  103. end
  104. end
  105. end
  106. wait(collectSpeedGems) -- الانتظار بين كل مجموعة من التكرارات باستخدام سرعة جمع الجواهر
  107. end
  108. end)
  109.  
  110. -- طباعة الحالة الحالية
  111. print("Auto Farm Gems:", Value)
  112. end
  113. })
  114.  
  115. Tab:AddToggle({
  116. Name = "التوليد التلقائية",
  117. Default = false,
  118. Callback = function(Value)
  119. getgenv().rebirthGet = Value -- ربط المتغير rebirthGet بالقيمة المدخلة من الـ Toggle
  120.  
  121. spawn(function()
  122. while true do
  123. if getgenv().rebirthGet then -- التحقق من قيمة rebirthGet
  124. local args = {
  125. [1] = "rebirthRequest"
  126. }
  127. game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(args))
  128. end
  129. wait(1) -- الانتظار بين كل عملية Rebirth
  130. end
  131. end)
  132.  
  133. -- طباعة الحالة الحالية
  134. print("Auto Rebirth:", Value)
  135. end
  136. })
  137.  
  138. local Section = Tab:AddSection({
  139. Name = "اخذ"
  140. })
  141.  
  142. Tab:AddButton({
  143. Name = "تجميع جميع الدوائر",
  144. Callback = function()
  145. -- التحقق من الوقت الحالي
  146. local currentTime = tick()
  147.  
  148. -- التحقق إذا كان قد مر الوقت الكافي بين الضغطات
  149. if currentTime - lastClickTime < cooldownTime then
  150. OrionLib:MakeNotification({
  151. Name = "كول داون!",
  152. Content = "يجب عليك الانتظار بضعه ثواني للتشغيل مجدداً.",
  153. Image = "rbxassetid://11242915823",
  154. Time = 3
  155. })
  156. return -- إيقاف تنفيذ الكود إذا لم يمض الوقت الكافي
  157. end
  158.  
  159. -- تحديث وقت آخر ضغطه
  160. lastClickTime = currentTime
  161.  
  162. -- إعلام المستخدم بأن العملية قيد التنفيذ
  163. OrionLib:MakeNotification({
  164. Name = "تجميع جميع الدوائر تشغيل",
  165. Content = "انتظر الى ان ينتهي (:",
  166. Image = "rbxassetid://11242915823",
  167. Time = 5
  168. })
  169.  
  170. -- عملية جمع الـ Hoops كما هي
  171. local player = game.Players.LocalPlayer
  172. local humanoidRootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
  173. local waypoints = { -- قائمة الإحداثيات للتنقل
  174. CFrame.new(-532.4559326171875, 55.3661003112793, 209.96029663085938), -- 150 gem
  175. CFrame.new(-535.57666015625, 57.61077117919922, -133.741455078125), -- 200 gem
  176. CFrame.new(230.2322540283203, 93.80809783935547, 84.1273193359375), -- 400 gem
  177. CFrame.new(-87.75586700439453, 115.23426055908203, -113.9611587524414), -- 600 gem
  178. CFrame.new(-486.6810302734375, 104.41036224365234, 2505.17041015625), -- 850 gem
  179. CFrame.new(-11096.2958984375, 212.30308532714844, 4465.2470703125), -- 900 gem
  180. CFrame.new(1810.54541015625, 104.22494506835938, 4613.70068359375), -- 900 gem
  181. CFrame.new(-1644.7889404296875, 78.40953826904297, 5338.04150390625), -- 950 gem
  182. CFrame.new(-1747.6690673828125, 166.3074493408203, 5373.328125), -- 1k gem
  183. CFrame.new(-535.57666015625, 57.61077117919922, -133.741455078125), -- 1k gem
  184. CFrame.new(2057.45556640625, 173.78150939941406, 4377.63134765625), -- 1k gem
  185. CFrame.new(-13139.7236328125, 217.60643005371094, 4465.1796875), -- 1.2k gem
  186. CFrame.new(-13257.9365234375, 234.20530700683594, 4891.4697265625), -- 1.2k gem
  187. CFrame.new(-12987.556640625, 214.90867614746094, 5222.92529296875), -- 1.2k gem
  188. CFrame.new(3979.87060546875, 173.75469970703125, 5584.34375), -- 1k gem
  189. CFrame.new(4648.78466796875, 231.541015625, 5614.39013671875), -- 1.2k gem
  190. CFrame.new(5395.201171875, 306.1264343261719, 5881.7744140625), -- 1.2k gem
  191. CFrame.new(5686.0751953125, 349.0641174316406, 6496.5888671875), -- 1.2k gem
  192. CFrame.new(5361.0830078125, 312.0931396484375, 7023.3994140625), -- 1.2k gem
  193. CFrame.new(4516.20703125, 230.49229431152344, 7179.24169921875), -- 1.2k gem
  194. CFrame.new(3805.672607421875, 313.88421630859375, 7217.205078125), -- 1k gem
  195. CFrame.new(-15152.623046875, 366.7594299316406, 4142.0498046875), -- 1.5k gem
  196. CFrame.new(-15381.1162109375, 424.46966552734375, 4475.17041015625), -- 1.5k gem
  197. CFrame.new(-15171.9453125, 397.78607177734375, 4888.0009765625), -- 1.5k gem
  198. CFrame.new(1769.5302734375, 92.4613037109375, 12880.7900390625), -- 1k gem
  199. CFrame.new(2489.255126953125, 148.7982635498047, 12380.76953125), -- 2k gem
  200. CFrame.new(2333.1767578125, 174.19638061523438, 13370.1142578125), -- 2k gem
  201. CFrame.new(2488.914794921875, 144.59878540039062, 12381.7412109375), -- 2k gem
  202. CFrame.new(2091.757080078125, 260.5799560546875, 12879.7724609375) -- 3k gem
  203. }
  204.  
  205. if humanoidRootPart then
  206. -- حفظ موقع اللاعب الأصلي
  207. local originalPosition = humanoidRootPart.CFrame
  208.  
  209. -- التنقل بين النقاط
  210. for _, waypoint in ipairs(waypoints) do
  211. humanoidRootPart.CFrame = waypoint -- نقل اللاعب إلى النقطة
  212. wait(0.2) -- انتظار ثانية بين كل انتقال
  213. end
  214.  
  215. -- إعادة اللاعب إلى موقعه الأصلي
  216. humanoidRootPart.CFrame = originalPosition
  217. end
  218. end
  219. })
  220.  
  221. Tab:AddButton({
  222. Name = "تجميع جميع الصناديق",
  223. Callback = function()
  224. local currentTime = tick()
  225.  
  226. -- التحقق إذا كان قد مر الوقت الكافي بين الضغطات
  227. if currentTime - lastClickTimeChest < cooldownTimeChest then
  228. OrionLib:MakeNotification({
  229. Name = "كول داون!",
  230. Content = "يجب عليك الانتظار بضعه ثواني للتشغيل مجدداً.",
  231. Image = "rbxassetid://11242915823",
  232. Time = 3
  233. })
  234. return -- إيقاف تنفيذ الكود إذا لم يمض الوقت الكافي
  235. end
  236.  
  237. -- تحديث وقت آخر ضغطه
  238. lastClickTimeChest = currentTime
  239.  
  240. -- إرسال إشعار عندما يضغط الزر لأول مرة
  241. OrionLib:MakeNotification({
  242. Name = "تجميع جميع الصناديق تشغيل",
  243. Content = "انتظر الى ان ينتهي (:",
  244. Image = "rbxassetid://11242915823",
  245. Time = 5
  246. })
  247.  
  248. local player = game.Players.LocalPlayer
  249. local humanoidRootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
  250. local chestLocations = { -- قائمة الإحداثيات الخاصة بالصناديق
  251. CFrame.new(-492.78729248046875, 4.135346412658691, 396.2787170410156), -- 1
  252. CFrame.new(-670.9588623046875, 65.08531188964844, -263.6251525878906), -- 2
  253. CFrame.new(-1609.509765625, 22.879961013793945, -493.0561218261719), -- 3
  254. CFrame.new(-492.78729248046875, 4.135346412658691, 396.2787170410156), -- 4
  255. CFrame.new(-592.4029541015625, 73.08528137207031, 2144.636474609375), -- 5
  256. CFrame.new(-1574.2310791015625, 103.31879425048828, 5678.08203125), -- 6
  257. CFrame.new(2087.633544921875, 147.85488891601562, 12880.6357421875) -- 7
  258. }
  259.  
  260. if humanoidRootPart then
  261. -- حفظ موقع اللاعب الأصلي
  262. local originalPosition = humanoidRootPart.CFrame
  263.  
  264. -- التنقل إلى مواقع الصناديق
  265. for _, chestLocation in ipairs(chestLocations) do
  266. humanoidRootPart.CFrame = chestLocation
  267. wait(0.2) -- الانتظار بين كل حركة
  268. end
  269.  
  270. -- إعادة اللاعب إلى موقعه الأصلي
  271. humanoidRootPart.CFrame = originalPosition
  272. end
  273. end
  274. })
  275.  
  276. local Section = Tab:AddSection({
  277. Name = "سريع"
  278. })
  279.  
  280. Tab:AddButton({
  281. Name = "ريبيث سريع بدون توقف | لازم تكون بعالم البدايه",
  282. Callback = function()
  283. print("button pressed")
  284. wait(1)
  285. _G.Rebirth = true
  286.  
  287. while _G.Rebirth == true do wait(5)
  288. local tbl_main =
  289. {
  290. "rebirthRequest"
  291. }
  292. game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(tbl_main))
  293. end
  294. end
  295. })
  296.  
  297. Tab:AddButton({
  298. Name = "تلفيل سريع بدون توقف | لازم تكون بعالم البدايه",
  299. Callback = function()
  300. print("button pressed") _G.Loll = true
  301. while _G.Loll == true do wait(0.01)
  302. for i=1,500 do
  303. local tbl_main =
  304. {
  305. "collectOrb",
  306. "Red Orb",
  307. "City"
  308. }
  309. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer(unpack(tbl_main))
  310.  
  311. local tbl_main =
  312. {
  313. "collectOrb",
  314. "Yellow Orb",
  315. "City"
  316. }
  317. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer(unpack(tbl_main))
  318.  
  319. local tbl_main =
  320. {
  321. "collectOrb",
  322. "Gem",
  323. "City"
  324. }
  325. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer(unpack(tbl_main))
  326.  
  327. local tbl_main =
  328. {
  329. "collectOrb",
  330. "Orange Orb",
  331. "City"
  332. }
  333. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer(unpack(tbl_main))
  334.  
  335. local tbl_main =
  336. {
  337. "rebirthRequest"
  338. }
  339. game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(tbl_main))
  340. end
  341. end
  342. end
  343. })
  344.  
  345. Tab:AddButton({
  346. Name = "تجميع مجوهرات سريع بدون توقف | لازم تكون بعالم البدايه",
  347. Callback = function()
  348. print("button pressed")
  349. wait(1)
  350. _G.Farm2 = true
  351.  
  352. while _G.Farm2 == true do wait()
  353. for i,v in pairs(game.Workspace.orbFolder.City:GetChildren()) do
  354. if v.Name == "Gem" then
  355. v.outerGem.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  356. end
  357. end
  358. end
  359. end
  360. })
  361.  
  362. Tab:AddButton({
  363. Name = "تجميع خطوات سريع بدون توقف | لازم تكون بعالم البدايه",
  364. Callback = function()
  365. print("button pressed")
  366. wait(1)
  367. _G.Farm1 = true
  368.  
  369. while _G.Farm1 == true do wait()
  370. for i,v in pairs(game.Workspace.orbFolder.City:GetChildren()) do
  371. if v.Name ~= "Gem" then
  372. v.outerOrb.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  373. end
  374. end
  375. end
  376. end
  377. })
  378.  
  379. Tab:AddButton({
  380. Name = "تجميع حلقات سريع بدون توقف | لازم تكون بعالم البدايه",
  381. Callback = function()
  382. print("button pressed")
  383. wait(1)
  384. _G.Farm3 = true
  385.  
  386. while _G.Farm3 == true do wait()
  387. for i,v in pairs(game.Workspace.Hoops:GetChildren()) do
  388. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  389. end
  390. end
  391. end
  392. })
  393.  
  394. local Tab = Window:MakeTab({
  395. Name = "المتجر",
  396. Icon = "rbxassetid://11385419674",
  397. PremiumOnly = false
  398. })
  399.  
  400. local Section = Tab:AddSection({
  401. Name = "جميع الكريستالات للحيوانات و البراقات"
  402. })
  403.  
  404. Tab:AddButton({
  405. Name = "Red Crystal (300 Gems)",
  406. Callback = function()
  407. local args = {
  408. [1] = "openCrystal",
  409. [2] = "Red Crystal"
  410. }
  411.  
  412. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  413. print("button pressed")
  414. end
  415. })
  416.  
  417. Tab:AddButton({
  418. Name = "Blue Crystal (600 Gems)",
  419. Callback = function()
  420. local args = {
  421. [1] = "openCrystal",
  422. [2] = "Blue Crystal"
  423. }
  424.  
  425. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  426. print("button pressed")
  427. end
  428. })
  429.  
  430. Tab:AddButton({
  431. Name = "Purple Crystal (1k Gems)",
  432. Callback = function()
  433. local args = {
  434. [1] = "openCrystal",
  435. [2] = "Purple Crystal"
  436. }
  437.  
  438. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  439. print("button pressed")
  440. end
  441. })
  442.  
  443. Tab:AddButton({
  444. Name = "Blue Crystal (1.2k Gems)",
  445. Callback = function()
  446. local args = {
  447. [1] = "openCrystal",
  448. [2] = "Yellow Crystal"
  449. }
  450.  
  451. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  452. print("button pressed")
  453. end
  454. })
  455.  
  456. Tab:AddButton({
  457. Name = "Lightning Crystal (2.5k Gems)",
  458. Callback = function()
  459. local args = {
  460. [1] = "openCrystal",
  461. [2] = "Lightning Crystal"
  462. }
  463.  
  464. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  465. print("button pressed")
  466. end
  467. })
  468.  
  469. Tab:AddButton({
  470. Name = "Snow Crystal (4k Gems)",
  471. Callback = function()
  472. local args = {
  473. [1] = "openCrystal",
  474. [2] = "Snow Crystal"
  475. }
  476.  
  477. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  478. print("button pressed")
  479. end
  480. })
  481.  
  482. Tab:AddButton({
  483. Name = "Lava Crystal (8k Gems)",
  484. Callback = function()
  485. local args = {
  486. [1] = "openCrystal",
  487. [2] = "Lava Crystal"
  488. }
  489.  
  490. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  491. print("button pressed")
  492. end
  493. })
  494.  
  495. Tab:AddButton({
  496. Name = "Inferno Crystal (8k Gems)",
  497. Callback = function()
  498. local args = {
  499. [1] = "openCrystal",
  500. [2] = "Inferno Crystal"
  501. }
  502.  
  503. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  504. print("button pressed")
  505. end
  506. })
  507.  
  508. Tab:AddButton({
  509. Name = "Electro Legends Crystal (100k Gems)",
  510. Callback = function()
  511. local args = {
  512. [1] = "openCrystal",
  513. [2] = "Electro Legends Crystal"
  514. }
  515.  
  516. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  517. print("button pressed")
  518. end
  519. })
  520. Tab:AddButton({
  521. Name = "Jungle Crystal (1m Gems)",
  522. Callback = function()
  523. local args = {
  524. [1] = "openCrystal",
  525. [2] = "Jungle Crystal"
  526. }
  527.  
  528. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer(unpack(args))
  529. print("button pressed")
  530. end
  531. })
  532.  
  533. local Tab = Window:MakeTab({
  534. Name = "التنقل",
  535. Icon = "rbxassetid://12598594243",
  536. PremiumOnly = false
  537. })
  538.  
  539. local Section = Tab:AddSection({
  540. Name = "التنقلات"
  541. })
  542.  
  543. Tab:AddButton({
  544. Name = "City",
  545. Callback = function()
  546. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-520.4733276367188, 4.135346412658691, 239.06204223632812)
  547. print("button presseYd")
  548. end
  549. })
  550.  
  551. Tab:AddButton({
  552. Name = "Snow City",
  553. Callback = function()
  554. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-804.8424072265625, 4.235345840454102, 2199.63037109375)
  555. print("button pressed")
  556. end
  557. })
  558.  
  559. Tab:AddButton({
  560. Name = "Magma City",
  561. Callback = function()
  562. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1867.6026611328125, 4.235354423522949, 4331.1142578125)
  563. print("button pressed")
  564. end
  565. })
  566.  
  567. Tab:AddButton({
  568. Name = "Legends Highway",
  569. Callback = function()
  570. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3751.796630859375, 71.71527862548828, 5593.2412109375)
  571. print("button pressed")
  572. end
  573. })
  574.  
  575. Tab:AddButton({
  576. Name = "Jungle City",
  577. Callback = function()
  578. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1597.24609375, 3.569559335708618, 12879.607421875)
  579. print("button pressed")
  580. end
  581. })
  582.  
  583. local Tab = Window:MakeTab({
  584. Name = "الاعب",
  585. Icon = "rbxassetid://2795572800",
  586. PremiumOnly = false
  587. })
  588.  
  589. local Section = Tab:AddSection({
  590. Name = "المميزات"
  591. })
  592.  
  593. Tab:AddToggle({
  594. Name = "كشف الاماكن",
  595. Default = false, -- القيمة الافتراضية
  596. Callback = function(Value)
  597. -- هنا السكربت
  598.  
  599. -- حالة التبديل، إذا كانت قيمة الـ Toggle true، يتم تفعيل السكربت
  600. if Value then
  601. -- تفعيل السكربت (إضافة التمييز والأسماء)
  602. for _, player in pairs(game.Players:GetChildren()) do
  603. if player.Character and not player.Character:FindFirstChild("Highlight") then
  604. local highlight = Instance.new("Highlight", player.Character) -- إضافة Highlight للشخصية
  605. highlight.FillTransparency = 0
  606. highlight.OutlineTransparency = 0
  607. highlight.FillColor = Color3.fromRGB(0, 0, 255) -- لون أزرق
  608.  
  609. -- إضافة اسم اللاعب فوق رأسه
  610. local head = player.Character:FindFirstChild("Head")
  611. if head and not head:FindFirstChild("PlayerNameBar") then
  612. local billboard = Instance.new("BillboardGui")
  613. billboard.Name = "PlayerNameBar"
  614. billboard.AlwaysOnTop = true
  615. billboard.Size = UDim2.new(0, 100, 0, 25)
  616. billboard.StudsOffset = Vector3.new(0, 2, 0)
  617. billboard.Adornee = head
  618.  
  619. local textLabel = Instance.new("TextLabel")
  620. textLabel.Parent = billboard
  621. textLabel.BackgroundTransparency = 1
  622. textLabel.Text = player.Name
  623. textLabel.Size = UDim2.new(1, 0, 1, 0)
  624. textLabel.TextStrokeTransparency = 0
  625. textLabel.TextScaled = true
  626.  
  627. -- تحديد اللون بناءً على الفريق
  628. if player.Team and player.Team.Name == "Marines" then
  629. textLabel.TextColor3 = Color3.fromRGB(0, 0, 255) -- أزرق للفريق Marines
  630. elseif player.Team and player.Team.Name == "Pirates" then
  631. textLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- أحمر للفريق Pirates
  632. else
  633. textLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- أبيض للفريق الآخر
  634. end
  635.  
  636. billboard.Parent = head
  637. end
  638. end
  639. end
  640. else
  641. -- تعطيل السكربت (إزالة التمييز والأسماء)
  642. for _, player in pairs(game.Players:GetChildren()) do
  643. if player.Character then
  644. -- إزالة التمييز (Highlight)
  645. if player.Character:FindFirstChild("Highlight") then
  646. player.Character.Highlight:Destroy()
  647. end
  648.  
  649. -- إزالة اسم اللاعب
  650. local head = player.Character:FindFirstChild("Head")
  651. if head and head:FindFirstChild("PlayerNameBar") then
  652. head.PlayerNameBar:Destroy()
  653. end
  654. end
  655. end
  656. end
  657.  
  658. print("ESP Toggled:", Value) -- طباعة حالة التبديل
  659. end
  660. })
  661.  
  662. Tab:AddButton({
  663. Name = "الطيران",
  664. Callback = function()
  665. -- تشغيل السكربت من Pastebin
  666. local scriptUrl = "https://pastebin.com/raw/vL2SMxUV"
  667. local success, err = pcall(function()
  668. loadstring(game:HttpGet(scriptUrl))() -- تحميل السكربت وتشغيله
  669. end)
  670.  
  671. if not success then
  672. warn("Error loading script: " .. err) -- في حال حدوث خطأ
  673. end
  674.  
  675. print("Fly button pressed") -- طباعة عند الضغط على الزر
  676. end
  677. })
  678.  
  679. Tab:AddButton({
  680. Name = "تسريع الجهاز",
  681. Callback = function()
  682. -- تشغيل السكربت من Pastebin
  683. local scriptUrl = "https://raw.githubusercontent.com/CasperFlyModz/discord.gg-rips/main/FPSBooster.lua"
  684. local success, err = pcall(function()
  685. loadstring(game:HttpGet(scriptUrl))() -- تحميل السكربت وتشغيله
  686. end)
  687.  
  688. if not success then
  689. warn("Error loading script: " .. err) -- في حال حدوث خطأ
  690. end
  691.  
  692. print("Fly button pressed") -- طباعة عند الضغط على الزر
  693. end
  694.  
  695. })
  696.  
  697. local Tab = Window:MakeTab({
  698. Name = "ثاني",
  699. Icon = "rbxassetid://4483345998",
  700. PremiumOnly = false
  701. })
  702.  
  703. Tab:AddToggle({
  704. Name = "عدم الموت",
  705. Default = false,
  706. Callback = function(value)
  707. getgenv().God = (value)
  708. while getgenv().God == true do
  709. game.Players.LocalPlayer.Character.Humanoid:Remove()
  710. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  711. game:GetService("Workspace")[game.Players.LocalPlayer.Name]:FindFirstChildOfClass(
  712. 'Humanoid').HipHeight = 2
  713. wait(10)
  714. end
  715. end
  716. })
  717.  
  718.  
  719. Tab:AddButton({
  720. Name = "سكربت طيران",
  721. Callback = function()
  722. loadstring(game:HttpGet('https://pastebin.com/raw/YSL3xKYU'))()
  723. end
  724. })
  725.  
  726. Tab:AddButton({
  727. Name = "راس مخفي",
  728. Callback = function()
  729. game.Players.localPlayer.Character.Head.Size = Vector3.new(0,0,0)
  730. end
  731. })
  732.  
  733. Tab:AddButton({
  734. Name = "سكربت ادمن",
  735. Callback = function()
  736. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  737. end
  738. })
  739.  
  740. Tab:AddButton({
  741. Name = "سكربت ادمن 2",
  742. Callback = function()
  743. loadstring(game:HttpGet('https://raw.githubusercontent.com/BloodyBurns/Hex/main/Iv%20Admin%20v3.lua'))()
  744. end
  745. })
  746.  
  747. local Tab = Window:MakeTab({
  748. Name = "التخريب",
  749. Icon = "rbxassetid://4483345998",
  750. PremiumOnly = false
  751. })
  752.  
  753. Tab:AddButton({
  754. Name = "تحديد الشخص الي تبي تطيره",
  755. Callback = function()
  756. loadstring(game:HttpGet('https://raw.githubusercontent.com/GhostPlayer352/Test4/main/Auto%20Fling%20Player'))()
  757. end
  758. })
  759.  
  760. Tab:AddButton({
  761. Name = "سكربت تنقل",
  762. Callback = function()
  763. -- Load the Kavo UI Library
  764. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  765.  
  766. -- Create a new window with the DarkTheme
  767. local Window = Library.CreateLib("التنقل", "BloodTheme")
  768.  
  769. -- Create a new tab in the window
  770. local Tab = Window:NewTab("التنقل")
  771.  
  772. -- Create a new section in the tab
  773. local Section = Tab:NewSection("الانتقال الى اللاعب")
  774.  
  775. -- Create a textbox for the player's username
  776. Section:NewTextBox("اسم اللاعب", "Enter the username of the player you want to teleport to", function(username)
  777. -- Store the entered username for later use
  778. _G.targetUsername = username
  779. end)
  780.  
  781. -- Create a button that will teleport the player when clicked
  782. Section:NewButton("تنقل | TELEPORT", "Teleport to the entered player", function()
  783. -- Get the Players service
  784. local Players = game:GetService("Players")
  785.  
  786. -- Get the local player
  787. local player = Players.LocalPlayer
  788.  
  789. -- Find the target player in the game
  790. local targetPlayer = Players:FindFirstChild(_G.targetUsername)
  791.  
  792. -- Check that the target player exists and has a character
  793. if targetPlayer and targetPlayer.Character then
  794. -- Teleport the player to the target player
  795. player.Character.HumanoidRootPart.CFrame = targetPlayer.Character.HumanoidRootPart.CFrame
  796. else
  797. print("Target player not found or does not have a character.")
  798. end
  799. end)
  800. end
  801. })
  802.  
  803. Tab:AddButton({
  804. Name = "طيران الكل",
  805. Callback = function()
  806. print("Before the while loop")
  807.  
  808.  
  809.  
  810. local Targets = {"All"} -- "All", "Target Name", "Target name can be shortened"
  811.  
  812. local Players = game:GetService("Players")
  813. local Player = Players.LocalPlayer
  814.  
  815. local AllBool = falseasa
  816.  
  817. local GetPlayer = function(Name)
  818. Name = Name:lower()
  819. if Name == "all" or Name == "others" then
  820. AllBool = true
  821. return
  822. elseif Name == "random" then
  823. local GetPlayers = Players:GetPlayers()
  824. if table.find(GetPlayers,Player) then table.remove(GetPlayers,table.find(GetPlayers,Player)) end
  825. return GetPlayers[math.random(#GetPlayers)]
  826. elseif Name ~= "random" and Name ~= "all" and Name ~= "others" then
  827. for _,x in next, Players:GetPlayers() do
  828. if x ~= Player then
  829. if x.Name:lower():match("^"..Name) then
  830. return x;
  831. elseif x.DisplayName:lower():match("^"..Name) then
  832. return x;
  833. end
  834. end
  835. end
  836. else
  837. return
  838. end
  839. end
  840.  
  841. local Message = function(_Title, _Text, Time)
  842. game:GetService("StarterGui"):SetCore("SendNotification", {Title = _Title, Text = _Text, Duration = Time})
  843. end
  844.  
  845. local SkidFling = function(TargetPlayer)
  846. local Character = Player.Character
  847. local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid")
  848. local RootPart = Humanoid and Humanoid.RootPart
  849.  
  850. local TCharacter = TargetPlayer.Character
  851. local THumanoid
  852. local TRootPart
  853. local THead
  854. local Accessory
  855. local Handle
  856.  
  857. if TCharacter:FindFirstChildOfClass("Humanoid") then
  858. THumanoid = TCharacter:FindFirstChildOfClass("Humanoid")
  859. end
  860. if THumanoid and THumanoid.RootPart then
  861. TRootPart = THumanoid.RootPart
  862. end
  863. if TCharacter:FindFirstChild("Head") then
  864. THead = TCharacter.Head
  865. end
  866. if TCharacter:FindFirstChildOfClass("Accessory") then
  867. Accessory = TCharacter:FindFirstChildOfClass("Accessory")
  868. end
  869. if Accessoy and Accessory:FindFirstChild("Handle") then
  870. Handle = Accessory.Handle
  871. end
  872.  
  873. if Character and Humanoid and RootPart then
  874. if RootPart.Velocity.Magnitude < 50 then
  875. getgenv().OldPos = RootPart.CFrame
  876. end
  877. if THumanoid and THumanoid.Sit and not AllBool then
  878. return Message("Error Occurred", "Targeting is sitting", 5) -- u can remove dis part if u want lol
  879. end
  880. if THead then
  881. workspace.CurrentCamera.CameraSubject = THead
  882. elseif not THead and Handle then
  883. workspace.CurrentCamera.CameraSubject = Handle
  884. elseif THumanoid and TRootPart then
  885. workspace.CurrentCamera.CameraSubject = THumanoid
  886. end
  887. if not TCharacter:FindFirstChildWhichIsA("BasePart") then
  888. return
  889. end
  890.  
  891. local FPos = function(BasePart, Pos, Ang)
  892. RootPart.CFrame = CFrame.new(BasePart.Position) * Pos * Ang
  893. Character:SetPrimaryPartCFrame(CFrame.new(BasePart.Position) * Pos * Ang)
  894. RootPart.Velocity = Vector3.new(9e7, 9e7 * 10, 9e7)
  895. RootPart.RotVelocity = Vector3.new(9e8, 9e8, 9e8)
  896. end
  897.  
  898. local SFBasePart = function(BasePart)
  899. local TimeToWait = 0.1
  900. local Time = tick()
  901. local Angle = 0
  902.  
  903. repeat
  904. if RootPart and THumanoid then
  905. if BasePart.Velocity.Magnitude < 50 then
  906. Angle = Angle + 100
  907.  
  908. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle),0 ,0))
  909. task.wait()
  910.  
  911. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  912. task.wait()
  913.  
  914. FPos(BasePart, CFrame.new(2.25, 1.5, -2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  915. task.wait()
  916.  
  917. FPos(BasePart, CFrame.new(-2.25, -1.5, 2.25) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / 1.25, CFrame.Angles(math.rad(Angle), 0, 0))
  918. task.wait()
  919.  
  920. FPos(BasePart, CFrame.new(0, 1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
  921. task.wait()
  922.  
  923. FPos(BasePart, CFrame.new(0, -1.5, 0) + THumanoid.MoveDirection,CFrame.Angles(math.rad(Angle), 0, 0))
  924. task.wait()
  925. else
  926. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
  927. task.wait()
  928.  
  929. FPos(BasePart, CFrame.new(0, -1.5, -THumanoid.WalkSpeed), CFrame.Angles(0, 0, 0))
  930. task.wait()
  931.  
  932. FPos(BasePart, CFrame.new(0, 1.5, THumanoid.WalkSpeed), CFrame.Angles(math.rad(90), 0, 0))
  933. task.wait()
  934.  
  935. FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
  936. task.wait()
  937.  
  938. FPos(BasePart, CFrame.new(0, -1.5, -TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(0, 0, 0))
  939. task.wait()
  940.  
  941. FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
  942. task.wait()
  943.  
  944. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0))
  945. task.wait()
  946.  
  947. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
  948. task.wait()
  949.  
  950. FPos(BasePart, CFrame.new(0, -1.5 ,0), CFrame.Angles(math.rad(-90), 0, 0))
  951. task.wait()
  952.  
  953. FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
  954. task.wait()
  955. end
  956. else
  957. break
  958. end
  959. until BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or not TargetPlayer.Character == TCharacter or THumanoid.Sit or Humanoid.Health <= 0 or tick() > Time + TimeToWait
  960. end
  961.  
  962. workspace.FallenPartsDestroyHeight = 0/0
  963.  
  964. local BV = Instance.new("BodyVelocity")
  965. BV.Name = "EpixVel"
  966. BV.Parent = RootPart
  967. BV.Velocity = Vector3.new(9e8, 9e8, 9e8)
  968. BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
  969.  
  970. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  971.  
  972. if TRootPart and THead then
  973. if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
  974. SFBasePart(THead)
  975. else
  976. SFBasePart(TRootPart)
  977. end
  978. elseif TRootPart and not THead then
  979. SFBasePart(TRootPart)
  980. elseif not TRootPart and THead then
  981. SFBasePart(THead)
  982. elseif not TRootPart and not THead and Accessory and Handle then
  983. SFBasePart(Handle)
  984. else
  985. return Message("Error Occurred", "Target is missing everything", 5)
  986. end
  987.  
  988. BV:Destroy()
  989. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  990. workspace.CurrentCamera.CameraSubject = Humanoid
  991.  
  992. repeat
  993. RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
  994. Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
  995. Humanoid:ChangeState("GettingUp")
  996. table.foreach(Character:GetChildren(), function(_, x)
  997. if x:IsA("BasePart") then
  998. x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
  999. end
  1000. end)
  1001. task.wait()
  1002. until (RootPart.Position - getgenv().OldPos.p).Magnitude < 25
  1003. workspace.FallenPartsDestroyHeight = getgenv().FPDH
  1004. else
  1005. return Message("Error Occurred", "Random error", 5)
  1006. end
  1007. end
  1008.  
  1009. if not Welcome then Message("Script by DranghetaSm0ke", "Enjoy!", 5) end
  1010. getgenv().Welcome = true
  1011. if Targets[1] then for _,x in next, Targets do GetPlayer(x) end else return end
  1012.  
  1013. if AllBool then
  1014. for _,x in next, Players:GetPlayers() do
  1015. SkidFling(x)
  1016. end
  1017. end
  1018.  
  1019. for _,x in next, Targets do
  1020. if GetPlayer(x) and GetPlayer(x) ~= Player then
  1021. if GetPlayer(x).UserId ~= 1414978355 then
  1022. local TPlayer = GetPlayer(x)
  1023. if TPlayer then
  1024. SkidFling(TPlayer)
  1025. end
  1026. else
  1027. Message("Error Occurred", "This user is whitelisted! (Owner)", 5)
  1028. end
  1029. elseif not GetPlayer(x) and not AllBool then
  1030. Message("Error Occurred", "Username Invalid", 5)
  1031. end
  1032. end
  1033. local WhitelistedPlayers = {
  1034. [123456789] = true, -- Replace with the actual UserId of whitelisted players
  1035. [987654321] = true,
  1036. }
  1037.  
  1038. local function IsPlayerWhitelisted(player)
  1039. local userId = player.UserId
  1040. return WhitelistedPlayers[userId] or false
  1041. end
  1042.  
  1043. return IsPlayerWhitelisted
  1044. end
  1045. })
  1046.  
  1047. local Tab = Window:MakeTab({
  1048. Name = "االاعدادات",
  1049. Icon = "rbxassetid://11385220704",
  1050. PremiumOnly = false
  1051. })
  1052.  
  1053. local Section = Tab:AddSection({
  1054. Name = "اعدادات الاعب"
  1055. })
  1056.  
  1057.  
  1058. Tab:AddSlider({
  1059. Name = "السرعه",
  1060. Min = 0,
  1061. Max = 2000,
  1062. Default = 150,
  1063. Color = Color3.fromRGB(255, 255, 255),
  1064. Increment = 5,
  1065. ValueName = "سرعة",
  1066. Callback = function(Value)
  1067. -- طباعة القيمة التي اختارها المستخدم
  1068. print("Selected Speed: " .. Value)
  1069.  
  1070. -- ربط السكربت بتغيير السرعة
  1071. local args = {
  1072. [1] = "changeSpeed", -- اسم الإجراء
  1073. [2] = Value -- القيمة التي تم تحديدها من الـ Slider
  1074. }
  1075.  
  1076. -- استدعاء الـ RemoteEvent لتغيير السرعة باستخدام القيمة المختارة
  1077. game:GetService("ReplicatedStorage"):WaitForChild("rEvents"):WaitForChild("changeSpeedJumpRemote"):InvokeServer(unpack(args))
  1078. end
  1079. })
  1080.  
  1081. Tab:AddSlider({
  1082. Name = "القفزة",
  1083. Min = 0,
  1084. Max = 2000,
  1085. Default = 150,
  1086. Color = Color3.fromRGB(255, 255, 255),
  1087. Increment = 5,
  1088. ValueName = "القفز",
  1089. Callback = function(Value)
  1090. -- طباعة القيمة التي اختارها المستخدم
  1091. print("Selected Jump: " .. Value)
  1092.  
  1093. -- ربط السكربت بتغيير القفز (Jump)
  1094. local args = {
  1095. [1] = "changeJump", -- اسم الإجراء
  1096. [2] = Value -- القيمة التي تم تحديدها من الـ Slider
  1097. }
  1098.  
  1099. -- استدعاء الـ RemoteEvent لتغيير الجَنب باستخدام القيمة المختارة
  1100. game:GetService("ReplicatedStorage"):WaitForChild("rEvents"):WaitForChild("changeSpeedJumpRemote"):InvokeServer(unpack(args))
  1101. end
  1102. })
  1103.  
  1104. local Section = Tab:AddSection({
  1105. Name = "العبة"
  1106. })
  1107.  
  1108. Tab:AddButton({
  1109. Name = "تفعيل جميع الاكواد",
  1110. Callback = function()
  1111. OrionLib:MakeNotification({
  1112. Name = "تم التفعيل جميع الاكواد",
  1113. Content = "تم التفعيل",
  1114. Image = "rbxassetid://11242915823",
  1115. Time = 5
  1116. })
  1117. -- قائمة الأكواد التي تريد تفعيلها
  1118. local codes = {
  1119. "SPRINT250",
  1120. "hyper250",
  1121. "racer300",
  1122. "launch200",
  1123. "sparkles300",
  1124. "legends500",
  1125. "speedchampion000",
  1126. "Jungleracer5000"
  1127. }
  1128.  
  1129. -- تفعيل كل الكودات في القائمة
  1130. for _, code in pairs(codes) do
  1131. local args = {
  1132. [1] = code
  1133. }
  1134.  
  1135. game:GetService("ReplicatedStorage"):WaitForChild("rEvents"):WaitForChild("codeRemote"):InvokeServer(unpack(args))
  1136. print("Redeemed code: " .. code)
  1137. end
  1138. end
  1139. })
  1140.  
  1141. Tab:AddButton({
  1142. Name = "اعادة دخول الى السيرفر",
  1143. Callback = function()
  1144. print("Rejoining the server...")
  1145.  
  1146. -- الحصول على الـ Job ID الخاص بالسيرفر الحالي
  1147. local jobId = game.JobId
  1148.  
  1149. -- استخدام TeleportService لإعادة دخول اللاعب إلى نفس السيرفر
  1150. TeleportService:TeleportToPlaceInstance(game.PlaceId, jobId, game.Players.LocalPlayer)
  1151. end
  1152. })
  1153.  
  1154. Tab:AddToggle({
  1155. Name = "تجميع هدايا الوقت تلقائي",
  1156. Default = false,
  1157. Callback = function(Value)
  1158. if Value then
  1159. -- عندما يتم تفعيل التبديل
  1160. while Value do
  1161. for i = 1, 8 do
  1162. local args = {
  1163. [1] = "claimGift",
  1164. [2] = i -- تفعيل الهدايا من 1 إلى 8
  1165. }
  1166. game:GetService("ReplicatedStorage"):WaitForChild("rEvents"):WaitForChild("freeGiftClaimRemote"):InvokeServer(unpack(args))
  1167. end
  1168. wait(1) -- الانتظار لمدة ثانية واحدة قبل التكرار
  1169. end
  1170. end
  1171. end
  1172. })
  1173.  
  1174. local Section = Tab:AddSection({
  1175. Name = "الحجر"
  1176. })
  1177.  
  1178. Tab:AddSlider({
  1179. Name = "سرعة تجميع الاحجار",
  1180. Min = 0.01,
  1181. Max = 2,
  1182. Default = 0.20,
  1183. Color = Color3.fromRGB(255, 255, 255),
  1184. Increment = 0.01,
  1185. ValueName = "سرعة",
  1186. Callback = function(Value)
  1187. print("Selected Collect Speed: " .. Value)
  1188. collectSpeed = Value
  1189. end,
  1190. CustomTouchHandler = function(slider, knob) -- التعامل مع اللمس
  1191. local UIS = game:GetService("UserInputService")
  1192. local dragging = false
  1193.  
  1194. knob.InputBegan:Connect(function(input)
  1195. if input.UserInputType == Enum.UserInputType.Touch then
  1196. dragging = true
  1197. end
  1198. end)
  1199.  
  1200. knob.InputEnded:Connect(function(input)
  1201. if input.UserInputType == Enum.UserInputType.Touch then
  1202. dragging = false
  1203. end
  1204. end)
  1205.  
  1206. UIS.InputChanged:Connect(function(input)
  1207. if dragging and input.UserInputType == Enum.UserInputType.Touch then
  1208. local sliderSize = slider.AbsoluteSize.X
  1209. local sliderPos = slider.AbsolutePosition.X
  1210. local inputPos = input.Position.X
  1211.  
  1212. local percent = math.clamp((inputPos - sliderPos) / sliderSize, 0, 1)
  1213. local value = (percent * (slider.Max - slider.Min)) + slider.Min
  1214. value = math.floor(value / slider.Increment) * slider.Increment
  1215. knob.Position = UDim2.new(percent, 0, 0.5, 0)
  1216. slider.Callback(value)
  1217. end
  1218. end)
  1219. end
  1220. })
  1221.  
  1222.  
  1223. Tab:AddSlider({
  1224. Name = "عدد تجميع الاحجار",
  1225. Min = 0,
  1226. Max = 300,
  1227. Default = 25, -- قيمة الافتراضية
  1228. Color = Color3.fromRGB(255, 255, 255),
  1229. Increment = 1,
  1230. ValueName = "الاحجار",
  1231. Callback = function(Value)
  1232. print("Selected Orbs: " .. Value)
  1233. -- تحديث قيمة الـ multiplier بناءً على القيمة التي اختارها المستخدم
  1234. multiplier = Value
  1235. end
  1236. })
  1237.  
  1238. local Section = Tab:AddSection({
  1239. Name = "الجواهر"
  1240. })
  1241.  
  1242. Tab:AddSlider({
  1243. Name = "سرعه تجميع الجواهر",
  1244. Min = 0.01,
  1245. Max = 2,
  1246. Default = 0.20,
  1247. Color = Color3.fromRGB(255, 255, 255),
  1248. Increment = 0.01,
  1249. ValueName = "سرعة",
  1250. Callback = function(Value)
  1251. print("Selected Collect Speed Gems: " .. Value)
  1252. -- تحديث سرعة جمع الجواهر بناءً على القيمة التي اختارها المستخدم
  1253. collectSpeedGems = Value
  1254. end
  1255. })
  1256.  
  1257. Tab:AddSlider({
  1258. Name = "عدد تجميع الجواهر",
  1259. Min = 0,
  1260. Max = 300,
  1261. Default = 25, -- قيمة الافتراضية
  1262. Color = Color3.fromRGB(255, 255, 255),
  1263. Increment = 1,
  1264. ValueName = "الجواهر",
  1265. Callback = function(Value)
  1266. print("Selected Gems Multiplier: " .. Value)
  1267. -- تحديث قيمة الـ gemMultiplier بناءً على القيمة التي اختارها المستخدم
  1268. gemMultiplier = Value
  1269. end
  1270. })
  1271.  
  1272. Tab:AddColorpicker({
  1273. Name = "اختار لون السكربت",
  1274. Default = Color3.fromRGB(255, 0, 0),
  1275. Callback = function(Value)
  1276. print(Value)
  1277. end
  1278. })
  1279.  
  1280. --[[
  1281. Name = <string> - The name of the colorpicker.
  1282. Default = <color3> - The default value of the colorpicker.
  1283. Callback = <function> - The function of the colorpicker.
  1284. ]]local Tab = Window:MakeTab({
  1285. Name = "التحديثات",
  1286. Icon = "rbxassetid://4483345998",
  1287. PremiumOnly = false
  1288. })
  1289.  
  1290. --[[
  1291. Name = <string> - The name of the section.
  1292. ]]local Section = Tab:AddSection({
  1293. Name = "تحديث رقم0.1"
  1294. })
  1295.  
  1296. local Tab = Window:MakeTab({
  1297. Name = "الحقوق",
  1298. Icon = "rbxassetid://4483345998",
  1299. PremiumOnly = false
  1300. })
  1301.  
  1302. local Section = Tab:AddSection({
  1303. Name = "المطورين : محمد و ايوب"
  1304. })
  1305.  
  1306. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement