Advertisement
1zxyuuki

NewAutoFarm

Feb 24th, 2024 (edited)
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.78 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3.  
  4. local lp = Players.LocalPlayer
  5. local mod = require(game:GetService("ReplicatedStorage").Systems.Quests.QuestList)
  6. local selectedQuest = nil
  7. local mobsList = {}
  8. local farmMobList = {}
  9. local selectedMobs = {}
  10. local bossArenaList = {}
  11. local questList = {}
  12. getgenv().configs = {
  13. ["Speed"] = nil,
  14. ["Range"] = 70
  15. }
  16.  
  17. function antiafk()
  18. local VirtualUser = game:GetService("VirtualUser")
  19. Players.LocalPlayer.Idled:Connect(function()
  20. VirtualUser:CaptureController()
  21. VirtualUser:ClickButton2(Vector2.new())
  22. end)
  23. end
  24. antiafk()
  25.  
  26. for i, v in workspace.MobSpawns:GetChildren() do
  27. table.insert(farmMobList, v.Name)
  28. end
  29.  
  30. for i, v in workspace.BossArenas:GetChildren() do
  31. table.insert(farmMobList, v.Name)
  32. table.insert(bossArenaList, v.Name)
  33. end
  34.  
  35. for i, v in mod do
  36. table.insert(questList, i)
  37. end
  38.  
  39. table.sort(farmMobList)
  40. table.sort(bossArenaList)
  41.  
  42. local function countSelectedMobs()
  43. local count = 0
  44. for i, v in selectedMobs do
  45. for _, v2 in workspace.Mobs:GetChildren() do
  46. if lp and lp.Character and lp.Character.PrimaryPart then
  47. if v2 and v2.Name:match(v) and v2:FindFirstChild("Healthbar") and v2:GetAttribute("HP") ~= 0 then
  48. count = count + 1
  49. end
  50. end
  51. end
  52. end
  53. return count
  54. end
  55.  
  56. local function checkQuestInfo(quest, info)
  57. for i, v in pairs(mod) do
  58. if tostring(i) == tostring(quest) then -- Convertendo quest para string e comparando
  59. for i2, v2 in pairs(v) do
  60. if info == "Amount" and i2 == "Amount" then
  61. return v2
  62. elseif info == "Target" and i2 == "Target" then
  63. return v2
  64. end
  65. end
  66. end
  67. end
  68. end
  69.  
  70.  
  71. local function getNearbyMobs()
  72. mobsList = {}
  73. for i, v in workspace.Mobs:GetChildren() do
  74. if v and lp and lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Healthbar") and v:GetAttribute("HP") ~= 0 then
  75. local range = tonumber(configs["Range"]) -- Convertendo configs["Range"] para número
  76. if range and (lp.Character.PrimaryPart.Position - v.PrimaryPart.Position).Magnitude < range then
  77. table.insert(mobsList, v)
  78. end
  79. end
  80. end
  81. if #mobsList >= 1 then
  82. return true
  83. end
  84. end
  85.  
  86. --||Services||--
  87. local Players = game:GetService("Players")
  88. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  89. local lplr = Players.LocalPlayer
  90.  
  91. --||Variables||--
  92.  
  93. local mobs = {}
  94. local swordburst = {}
  95.  
  96. local farmPosition = "Above"
  97.  
  98. local boss
  99. local choosemob
  100.  
  101. --||Function and Loop||--
  102. local function getchar()
  103. return lplr.Character or lplr.CharacterAdded:Wait()
  104. end
  105.  
  106. for i,v in next, workspace.MobSpawns:GetChildren() do
  107. table.insert(mobs,v.Name)
  108. end
  109.  
  110. table.sort(mobs)
  111.  
  112. local function setFarmPosition(position)
  113. farmPosition = position
  114. end
  115.  
  116. local function setFarmDistance(distance) -- Função para definir a distância de fazenda
  117. farmDistance = distance
  118. end
  119.  
  120. local function getFarmPositionOffset()
  121. if farmPosition == "Above" then
  122. return Vector3.new(0, 10, 0)
  123. elseif farmPosition == "Below" then
  124. return Vector3.new(0, 0, -25)
  125. elseif farmPosition == "Behind" then
  126. return Vector3.new(0, -25, 0)
  127. else
  128. return Vector3.new(0, 10, 0) -- Default to above if position is not recognized
  129. end
  130. end
  131.  
  132. -- >>Get Mob
  133. local function getclosestmobs(mob)
  134. local distance = math.huge
  135. local target
  136. local multitarget = {}
  137. for i, v in ipairs(workspace.Mobs:GetChildren()) do
  138. if v:FindFirstChild("HumanoidRootPart") and getchar() and getchar():FindFirstChild("HumanoidRootPart") then
  139. local magnitude = (getchar().HumanoidRootPart.Position - v:FindFirstChild("HumanoidRootPart").Position).magnitude
  140. if mob and string.find(v.Name, mob) then
  141. if magnitude < distance then
  142. target = v
  143. distance = magnitude
  144. end
  145. end
  146. if magnitude < 100 then
  147. table.insert(multitarget, v)
  148. end
  149. end
  150. end
  151. return target, multitarget
  152. end
  153. -- <<
  154. -- >>Auto Mob Func
  155. task.spawn(function()
  156. while task.wait() do
  157. if swordburst["automobs"] and choosemob then
  158. local enemy = getclosestmobs(choosemob)
  159. if getchar() and getchar():FindFirstChild("HumanoidRootPart") and enemy and enemy:FindFirstChild("HumanoidRootPart") then
  160. local lp = Players.LocalPlayer
  161. local lpCharacter = lp.Character
  162. if lpCharacter then
  163. local primaryPart = lpCharacter.PrimaryPart
  164. if primaryPart then
  165. if farmPosition == "Above" then
  166. primaryPart.CFrame = enemy:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0, farmDistance * 2, 0)
  167. elseif farmPosition == "Below" then
  168. primaryPart.CFrame = enemy:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0, -farmDistance * 2, 0)
  169. elseif farmPosition == "Behind" then
  170. local direction = (enemy.PrimaryPart.Position - primaryPart.Position).unit
  171. primaryPart.CFrame = CFrame.new(enemy.PrimaryPart.Position - direction * farmDistance * 2)
  172. end
  173. end
  174. end
  175. end
  176. end
  177. end
  178. end)
  179.  
  180.  
  181. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  182. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  183. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  184.  
  185. local Window = Fluent:CreateWindow({
  186. Title = "Yuki Ware 1.9",
  187. SubTitle = "| discord server: discord.gg/94Sdk3yV",
  188. TabWidth = 160,
  189. Size = UDim2.fromOffset(580, 460),
  190. Acrylic = true, -- The blur may be detectable, setting this to false disables blur entirely
  191. Theme = "Amethyst",
  192. MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
  193. })
  194.  
  195. --Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are optional
  196. local Tabs = {
  197. Autofarm = Window:AddTab({ Title = "Autofarm", Icon = "repeat" }),
  198. AutofarmSettings = Window:AddTab({ Title = "Autofarm Config", Icon = "repeat" }),
  199. Combat =Window:AddTab({ Title = "Combat", Icon = "swords" }),
  200. -- Progression = Window:AddTab({ Title = "Progression", Icon = "arrow-big-up"}),
  201. Teleports = Window:AddTab({ Title = "Teleports", Icon = "map-pin" }),
  202. Gui = Window:AddTab({ Title = "Gui", Icon = "image" }),
  203. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  204. }
  205.  
  206. local Options = Fluent.Options
  207.  
  208. local Autofarm do
  209.  
  210. local SelectMob = Tabs.Autofarm:AddDropdown("SelectMob", {
  211. Title = "Select Mob",
  212. Description = "Select Mob to Farm",
  213. Values = mobs,
  214. Multi = true,
  215. Default = {nil}
  216. })
  217.  
  218. --[[local SelectMob = Tabs.Autofarm:AddDropdown("SelectMob", {
  219. Title = "Select Mob",
  220. Description = "Select Mob to Farm",
  221. Values = farmMobList,
  222. Multi = true,
  223. Default = {nil}
  224. })]]
  225.  
  226. SelectMob:OnChanged(function(item)
  227. choosemob = item
  228. end)
  229.  
  230. local AutoMob = Tabs.Autofarm:AddToggle("AutoMob", {
  231. Title = "Auto Mob",
  232. Description = "",
  233. Default = false
  234.  
  235. })
  236.  
  237. AutoMob:OnChanged(function(state)
  238. swordburst["automobs"] = state
  239. end)
  240.  
  241.  
  242.  
  243. local selectQuestDropdown = Tabs.Autofarm:AddDropdown("SelectQuestDropdown", {
  244. Title = "Select Quest",
  245. Description = "Select Quest to Auto Quest",
  246. Values = questList,
  247. Multi = false,
  248. Default = nil
  249. })
  250.  
  251. selectQuestDropdown:OnChanged(function(Value)
  252. selectedQuest = tonumber(Value)
  253. end)
  254.  
  255.  
  256. end
  257.  
  258.  
  259.  
  260. local autoQuestToggle = Tabs.Autofarm:AddToggle("AutoQuestToggle", {Title = "Auto Selected Quest", Description = "Enabled/Disabled to Farm Selected Quest", Default = false })
  261. autoQuestToggle:OnChanged(function()
  262. while Options.AutoQuestToggle.Value and task.wait() do
  263. if ReplicatedStorage.Profiles[lp.Name].Quests.Active.Value ~= selectedQuest then
  264. ReplicatedStorage.Systems.Quests.AcceptQuest:FireServer(selectedQuest)
  265. end
  266. if ReplicatedStorage.Profiles[lp.Name].Quests.Active:FindFirstChild("Count") and checkQuestInfo(selectedQuest, "Amount") == ReplicatedStorage.Profiles[lp.Name].Quests.Active.Count.Value then
  267. ReplicatedStorage.Systems.Quests.CompleteQuest:FireServer(selectedQuest)
  268. end
  269. end
  270. end)
  271.  
  272. local autoTeleportOresToggle = Tabs.Autofarm:AddToggle("AutoTeleportOres", {Title = "Auto Farm Ores", Description = "Teleport to Ores (Turn on Auto Collect)", Default = false })
  273. autoTeleportOresToggle:OnChanged(function()
  274. while Options.AutoTeleportOres.Value and task.wait() do
  275. for _, oreModel in ipairs(workspace.Ores:GetChildren()) do
  276. if oreModel and oreModel:IsA("Model") then
  277. lp.Character:SetPrimaryPartCFrame(oreModel.PrimaryPart.CFrame)
  278. break
  279. end
  280. end
  281. task.wait(0.4)
  282. game:GetService("ReplicatedStorage"):WaitForChild("Systems"):WaitForChild("Mining"):WaitForChild("Mine"):FireServer()
  283. end
  284. end)
  285.  
  286. local autoCollectToggle = Tabs.Autofarm:AddToggle("AutoCollect", {Title = "Auto Collect Drops", Description = "Maybe the dropped item will be in the same spawn location, it's just a visual bug", Default = false })
  287. autoCollectToggle:OnChanged(function()
  288. while Options.AutoCollect.Value and task.wait() do
  289. for i, v in ReplicatedStorage.Drops:GetChildren() do
  290. if v:IsA("Folder") and v:GetAttribute("Owner") == lp.Name then
  291. ReplicatedStorage.Systems.Drops.Pickup:FireServer(v)
  292. end
  293. end
  294. end
  295. end)
  296.  
  297.  
  298. --|Boss|--
  299.  
  300.  
  301.  
  302.  
  303. local FarmPosition = Tabs.AutofarmSettings:AddDropdown("FarmPosition", {
  304. Title = "Farm Position",
  305. Description = "Select Farm Position",
  306. Values = {"Above", "Below", "Behind"},
  307. Multi = false,
  308. Default = "Above"
  309. })
  310.  
  311. FarmPosition:OnChanged(function(position)
  312. setFarmPosition(position)
  313. end)
  314.  
  315. local FarmDistance = Tabs.AutofarmSettings:AddSlider("FarmDistance", {
  316. Title = "Farm Distance",
  317. Description = "Set Farm Distance",
  318. Min = 1,
  319. Max = 50,
  320. Rounding = 1,
  321. Default = 10
  322. })
  323.  
  324. FarmDistance:OnChanged(function(value)
  325. setFarmDistance(value)
  326. end)
  327.  
  328.  
  329.  
  330. --[[local killAuraSpeedSlider = Tabs.Autofarm:AddSlider("KillAuraSpeedSlider", {
  331. Title = "Kill Aura Speed",
  332. Description = "This determines how fast player attacks",
  333. Default = .35,
  334. Min = 0,
  335. Max = 1,
  336. Rounding = 2,
  337. Callback = function(Value)
  338. configs["Speed"] = Value
  339. end
  340. })
  341.  
  342. local killAuraRangeSlider = Tabs.Autofarm:AddSlider("KillAuraRangeSlider", {
  343. Title = "Kill Aura Range",
  344. Description = "This determines how far kill aura reaches",
  345. Default = 70,
  346. Min = 0,
  347. Max = 100,
  348. Rounding = 1,
  349. Callback = function(Value)
  350. configs["Range"] = Value
  351. end
  352. })]]
  353.  
  354.  
  355.  
  356.  
  357. --[[OLD> while Options.KillAura.Value and task.wait(configs["Speed"]) do
  358. if getNearbyMobs() then
  359. ReplicatedStorage.Systems.Combat.PlayerAttack:FireServer(mobsList)
  360.  
  361. ReplicatedStorage.Systems.Skills.UseSkill:FireServer("Whirlwind")
  362.  
  363. for i = 1, 3 do
  364. ReplicatedStorage.Systems.Combat.PlayerSkillAttack:FireServer(mobsList, "Whirlwind", i)
  365. end
  366. end
  367. end
  368. end)<]]
  369.  
  370. local killAuraSpeedSlider = Tabs.Combat:AddSlider("KillAuraSpeedSlider", {
  371. Title = "Kill Aura Speed",
  372. Description = "Set the speed at which the player performs their attacks (Do not decrease too much, it will result in a kick!)",
  373. Default = .5,
  374. Min = 0,
  375. Max = 1,
  376. Rounding = 2,
  377. Callback = function(Value)
  378. configs["Speed"] = Value
  379. end
  380. })
  381.  
  382. local killAuraRangeSlider = Tabs.Combat:AddSlider("KillAuraRangeSlider", {
  383. Title = "Kill Aura Range",
  384. Description = "Set how far kill aura goes (Do not decrease too much, it will result in a kick!)",
  385. Default = 50,
  386. Min = 0,
  387. Max = 100,
  388. Rounding = 1,
  389. Callback = function(Value)
  390. configs["Range"] = Value
  391. end
  392. })
  393.  
  394. local killAuraToggle = Tabs.Combat:AddToggle("KillAura", {Title = "Kill Aura", Default = false })
  395. killAuraToggle:OnChanged(function()
  396. while Options.KillAura.Value and task.wait(configs["Speed"]) do
  397. if getNearbyMobs() then
  398. ReplicatedStorage.Systems.Combat.PlayerAttack:FireServer(mobsList)
  399.  
  400. ReplicatedStorage.Systems.Skills.UseSkill:FireServer("Whirlwind")
  401.  
  402. for i = 1, 3 do
  403. ReplicatedStorage.Systems.Combat.PlayerSkillAttack:FireServer(mobsList, "Whirlwind", i)
  404. end
  405. end
  406. end
  407. end)
  408.  
  409. --[[local killAuraToggle = Tabs.Combat:AddToggle("KillAura", {Title = "Old Kill Aura", Default = false })
  410. killAuraToggle:OnChanged(function()
  411. while Options.KillAura.Value and task.wait(.3) do
  412. if getNearbyMobs() then
  413. ReplicatedStorage.Systems.Combat.PlayerAttack:FireServer(mobsList)
  414.  
  415. ReplicatedStorage.Systems.Skills.UseSkill:FireServer("Flurry")
  416.  
  417. for i = 1, 3 do
  418. ReplicatedStorage.Systems.Combat.PlayerSkillAttack:FireServer(mobsList, "Flurry", i)
  419. end
  420. end
  421. end
  422. end)]]
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429. local Teleport do
  430. local bossRoomDropdown = Tabs.Teleports:AddDropdown("BossRoomDropdown", {
  431. Title = "Bosses Arena",
  432. Description = "Choose Arena to Teleport",
  433. Values = bossArenaList,
  434. Multi = false,
  435. Default = nil
  436. })
  437.  
  438. bossRoomDropdown:OnChanged(function(Value)
  439. if Value ~= nil then
  440. lp.Character.PrimaryPart.CFrame = workspace.BossArenas[Value]:FindFirstChild("Bounds").CFrame
  441. end
  442. end)
  443.  
  444. FloorList = {"Floor1", "Floor2"}
  445. Floor1ID = 14819490378
  446. Floor2ID = 15695929915
  447.  
  448. local FloorDropdown = Tabs.Teleports:AddDropdown("FloorDropdown", {
  449. Title = "Floor Teleport",
  450. Description = "Teleport to Floor1/2 without reqs",
  451. Values = FloorList,
  452. Multi = false,
  453. Default = nil
  454. })
  455.  
  456. FloorDropdown:OnChanged(function(Value)
  457. if Value ~= nil then
  458. if Value == "Floor1" then
  459. game:GetService("TeleportService"):Teleport(Floor1ID)
  460. elseif Value == "Floor2" then
  461. game:GetService("TeleportService"):Teleport(Floor2ID)
  462. end
  463. end
  464. end)
  465.  
  466. Tabs.Teleports:AddButton({
  467. Title = "Tp to Waystones",
  468. Description = "This function will allow you to unlock all waystones",
  469. Callback = function()
  470. for i, v in workspace.Waystones:GetChildren() do
  471. lp.Character:MoveTo(v.WorldPivot.Position)
  472. task.wait(.25)
  473. ReplicatedStorage.Systems.Locations.UnlockWaystone:FireServer(v)
  474. task.wait(.25)
  475. end
  476. end
  477. })
  478.  
  479. local autoChestToggle = Tabs.Teleports:AddToggle("AutoCollectChest", {Title = "TP to Chests", Description = "TP to All Chests (You cannot collect already collected chests)", Default = false })
  480. autoChestToggle:OnChanged(function()
  481. while Options.AutoCollectChest.Value and task.wait() do
  482. for i, v in workspace:GetChildren() do
  483. if v.Name == "Chest" and v:FindFirstChild("RootPart") and v.RootPart:FindFirstChild("ProximityPrompt") then
  484. lp.Character.PrimaryPart.CFrame = v.RootPart.CFrame:ToWorldSpace(CFrame.new(0, 5, 0))
  485. task.wait(1)
  486. fireproximityprompt(v.RootPart.ProximityPrompt, 1, true)
  487. end
  488. end
  489. end
  490. end)
  491. end
  492.  
  493. Tabs.Gui:AddButton({
  494. Title = "Crafting Gui",
  495. Description = "Open Crafting Gui",
  496. Callback = function()
  497. game:GetService("Players").LocalPlayer.PlayerGui.Crafting.Enabled = true
  498. game:GetService("Players").LocalPlayer.PlayerGui.Crafting.Frame.Visible = true
  499. end
  500. })
  501.  
  502. SaveManager:SetLibrary(Fluent)
  503. InterfaceManager:SetLibrary(Fluent)
  504.  
  505.  
  506. SaveManager:IgnoreThemeSettings()
  507. SaveManager:SetIgnoreIndexes({})
  508. InterfaceManager:SetFolder("YWare")
  509. SaveManager:SetFolder("YWare/SB2")
  510.  
  511. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  512. SaveManager:BuildConfigSection(Tabs.Settings)
  513.  
  514.  
  515. Window:SelectTab(1)
  516.  
  517. Fluent:Notify({
  518. Title = "YukiWare",
  519. Content = "The script has been loaded.",
  520. Duration = 8
  521. })
  522. SaveManager:LoadAutoloadConfig()
  523.  
  524.  
  525. --SwordBurst.Lua
  526. local YukiWare = Instance.new("ScreenGui")
  527. YukiWare.Name = "YukiWare"
  528. YukiWare.Parent = game.CoreGui
  529. YukiWare.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  530.  
  531. -- Definição do botão
  532. local Main = Instance.new("Frame")
  533. Main.Name = "Main"
  534. Main.Parent = YukiWare
  535. Main.ClipsDescendants = false
  536. Main.AnchorPoint = Vector2.new(0.5, 0.5)
  537. Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  538. Main.Position = UDim2.new(0.1, 40, 0.1, -52)
  539. Main.Size = UDim2.new(0, 32, 0, 32)
  540. Main.Transparency = 1
  541.  
  542. local Corner = Instance.new("UICorner")
  543. Corner.Name = "Corner"
  544. Corner.Parent = Main
  545. CornerRadius = 0,4
  546.  
  547. local Button = Instance.new("TextButton")
  548. Button.Name = "Button"
  549. Button.Parent = Main
  550. Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  551. Button.Position = UDim2.new(0, 0, 0, 0)
  552. Button.Size = UDim2.new(1, 0, 1, 0)
  553. Button.Font = Enum.Font.SourceSans
  554. Button.Text = "YW"
  555. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  556. Button.TextSize = 19
  557. Button.Transparency = 0.4
  558. Button.TextTransparency = 0
  559.  
  560. local ButtonCorner = Instance.new("UICorner")
  561. Corner.Name = "Corner"
  562. Corner.Parent = Button
  563. CornerRadius = 0,4
  564.  
  565. -- Variáveis para controle de arrastar
  566. local dragging
  567. local dragStart
  568. local startPos
  569.  
  570. -- Função para iniciar o arrastar
  571. local function startDrag(input)
  572. dragging = true
  573. startPos = Main.Position
  574. dragStart = input.Position
  575. input.Changed:Connect(function()
  576. if input.UserInputState == Enum.UserInputState.End then
  577. dragging = false
  578. end
  579. end)
  580. end
  581.  
  582. -- Função para atualizar a posição durante o arrastar
  583. local function updateDrag(input)
  584. if dragging then
  585. local delta = input.Position - dragStart
  586. Main.Position = UDim2.new(
  587. startPos.X.Scale,
  588. startPos.X.Offset + delta.X,
  589. startPos.Y.Scale,
  590. startPos.Y.Offset + delta.Y
  591. )
  592. end
  593. end
  594.  
  595. -- Conectar eventos de mouse para arrastar o botão
  596. Button.InputBegan:Connect(function(input)
  597. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  598. startDrag(input)
  599. end
  600. end)
  601.  
  602. Button.InputChanged:Connect(function(input)
  603. if input.UserInputType == Enum.UserInputType.MouseMovement then
  604. updateDrag(input)
  605. end
  606. end)
  607.  
  608. Button.InputEnded:Connect(function(input)
  609. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  610. dragging = false
  611. end
  612. end)
  613.  
  614. -- Função para enviar o evento de tecla ao pressionar o botão
  615. Button.MouseButton1Click:Connect(function()
  616. game:GetService("VirtualInputManager"):SendKeyEvent(true, "LeftControl", false, game)
  617. end)
  618.  
  619. -- Animação de deslizamento do botão
  620. Button.MouseEnter:Connect(function()
  621. Button.Size = UDim2.new(1.1, 0, 1.1, 0)
  622. Button.Position = UDim2.new(-0.05, 0, 0, 0)
  623. end)
  624.  
  625. Button.MouseLeave:Connect(function()
  626. Button.Size = UDim2.new(1, 0, 1, 0)
  627. Button.Position = UDim2.new(0, 0, 0, 0)
  628. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement