Yingyang005

Sakura stand

Dec 18th, 2024 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.57 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
  2. local Window = Library:MakeWindow({Name = "UPT v1.0.0", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  3.  
  4. local player = game.Players.LocalPlayer
  5.  
  6. local function getTycoonOwned()
  7. for i, v in pairs(game:GetService("Workspace"):WaitForChild("Tycoons"):GetDescendants()) do
  8. if v and v:IsA("StringValue") and v.Value == player.Name and v.Name == "isim" then
  9. return v.Parent
  10. end
  11. end
  12. end
  13.  
  14. local function autoCollect()
  15. repeat
  16. getgenv().player_tycoon = getTycoonOwned()
  17. task.wait(1)
  18. until getgenv().player_tycoon
  19.  
  20. local connection2
  21. local connection1 = getgenv().player_tycoon.CashRegister.Cash.Changed:Connect(function(Value)
  22. if getgenv().player_tycoon:FindFirstChild("UltimaPad") and getgenv().player_tycoon.UltimaPad:FindFirstChild("CashRegister2") and not connection2 then
  23. connection2 = getgenv().player_tycoon.UltimaPad.CashRegister2.Cash.Changed:Connect(function(Value)
  24. if Value > 0 then
  25. firetouchinterest(getgenv().player_tycoon.UltimaPad.CashRegister2.Ching, player.Character.UpperTorso, 1)
  26. firetouchinterest(getgenv().player_tycoon.UltimaPad.CashRegister2.Ching, player.Character.UpperTorso, 0)
  27. end
  28. end)
  29. end
  30. if Value > 0 then
  31. firetouchinterest(getgenv().player_tycoon.CashRegister.Ching, player.Character.UpperTorso, 1)
  32. firetouchinterest(getgenv().player_tycoon.CashRegister.Ching, player.Character.UpperTorso, 0)
  33. end
  34. end)
  35.  
  36. return connection1, connection2
  37. end
  38.  
  39. local function autoBuy()
  40. repeat
  41. getgenv().player_tycoon = getTycoonOwned()
  42. task.wait(1)
  43. until getgenv().player_tycoon
  44.  
  45. local connection = player.leaderstats.Cash.Changed:Connect(function(Value)
  46. for i, v in pairs(getgenv().player_tycoon:GetChildren()) do
  47. if v and v:FindFirstChild("Touch") and v:IsA("Model") and v.Touch:FindFirstChild("Cost") and v.Touch.Cost.Value <= Value then
  48. firetouchinterest(v.Touch, player.Character.RightFoot, 1)
  49. firetouchinterest(v.Touch, player.Character.RightFoot, 0)
  50. elseif v.Name == "UpStairs" then
  51. for b, c in pairs(v:GetChildren()) do
  52. if c and c:FindFirstChild("Touch") and c:IsA("Model") and c.Touch:FindFirstChild("Cost") and c.Touch.Cost.Value <= Value then
  53. firetouchinterest(c.Touch, player.Character.RightFoot, 1)
  54. firetouchinterest(c.Touch, player.Character.RightFoot, 0)
  55. end
  56. end
  57. end
  58. end
  59. end)
  60.  
  61. return connection
  62. end
  63.  
  64. local function spoofEssentials()
  65. local gmt = getrawmetatable(game)
  66. setreadonly(gmt, false)
  67.  
  68. local oldindex = gmt.__index
  69. gmt.__index = newcclosure(function(self,b)
  70. if b == "WalkSpeed" then
  71. return 16
  72. end
  73. if b == "JumpPower" then
  74. return 50
  75. end
  76. return oldindex(self,b)
  77. end)
  78. end
  79.  
  80. local function disableLasers()
  81. if not getgenv().player_tycoon then
  82. getgenv().player_tycoon = getTycoonOwned()
  83. return
  84. end
  85. for i, v in pairs(game.Workspace.Tycoons:GetChildren()) do
  86. if v and v ~= getgenv().player_tycoon then
  87. v.Door.ActDoor:Destroy()
  88. end
  89. end
  90. end
  91.  
  92. local function claimAllWeapons()
  93. for i, v in pairs(game.Workspace.Tycoons:GetChildren()) do
  94. for b, c in pairs(v:GetChildren()) do
  95. local name = c.Name
  96. local new, removed = name:gsub(".?$","")
  97. if c and c:IsA("Model") and ("GearGiver" == new) then
  98. print("weapon acquired")
  99. if c:FindFirstChild("Neon") then
  100. firetouchinterest(c.Neon, player.Character.UpperTorso, 1)
  101. firetouchinterest(c.Neon, player.Character.UpperTorso, 0)
  102. else
  103. firetouchinterest(c.Touch, player.Character.UpperTorso, 1)
  104. firetouchinterest(c.Touch, player.Character.UpperTorso, 0)
  105. end
  106. end
  107. end
  108. end
  109. end
  110.  
  111. local function firePlayer(targetDropdw)
  112. claimAllWeapons()
  113. for i, v in pairs(player.Backpack:GetChildren()) do
  114. if v:IsA("Tool") and v:FindFirstChild("RemoteEvent") then
  115. player.Character.Humanoid:EquipTool(v)
  116. v.RemoteEvent:FireServer(game.Players:FindFirstChild(targetDropdw).Character.HumanoidRootPart.Position)
  117. task.wait(.1)
  118. end
  119. end
  120. end
  121.  
  122. local function updatePlayerList(targetDropdw)
  123. local list = {}
  124. for i, v in pairs(game.Players:GetPlayers()) do
  125. table.insert(list, v.Name)
  126. end
  127. targetDropdw:Refresh(list)
  128. end
  129.  
  130. getgenv().player_tycoon = nil
  131. getgenv().auto_collect = false
  132. getgenv().playersInServer = {}
  133. getgenv().auto_buy = false
  134.  
  135. local TycoonTab = Window:MakeTab({Name = "Tycoon"})
  136. local PlayerTab = Window:MakeTab({Name = "Player"})
  137. local WeaponTab = Window:MakeTab({Name = "Weapons"})
  138.  
  139. local AutoCollectSection = TycoonTab:AddSection({Name = "Auto-Collect"})
  140. local AutoBuySection = TycoonTab:AddSection({Name = "Auto-Buy"})
  141.  
  142. local SpeedAndPowerSection = PlayerTab:AddSection({Name = "Main"})
  143. local BullySection = PlayerTab:AddSection({Name = "Fighting"})
  144. local MiscSection = PlayerTab:AddSection({Name = "Misc"})
  145.  
  146. local WeaponsMainSection = WeaponTab:AddSection({Name = "Main"})
  147.  
  148. local connection1
  149. local connection12
  150. AutoCollectSection:AddToggle({Name = "Auto-Collect", Default = false, Callback = function(state)
  151. if state then
  152. getgenv().auto_collect = true
  153. connection1, connection12 = autoCollect()
  154. else
  155. getgenv().auto_collect = false
  156. connection1:Disconnect()
  157. if connection12 then
  158. connection12:Disconnect()
  159. end
  160. end
  161. end})
  162.  
  163. local connection2
  164. AutoBuySection:AddToggle({Name = "Auto-Buy", Default = false, Callback = function(state)
  165. if state then
  166. getgenv().auto_buy = true
  167. connection2 = autoBuy()
  168. else
  169. getgenv().auto_buy = false
  170. connection2:Disconnect()
  171. end
  172. end})
  173.  
  174. spoofEssentials()
  175. SpeedAndPowerSection:AddSlider({Name = "WalkSpeed", Min = 0, Max = 350, Default = 16, Increment = 1, Callback = function(s)
  176. player.Character.Humanoid.WalkSpeed = s
  177. end})
  178. SpeedAndPowerSection:AddSlider({Name = "JumpPower", Min = 0, Max = 350, Default = 50, Increment = 1, Callback = function(s)
  179. player.Character.Humanoid.JumpPower = s
  180. end})
  181.  
  182. MiscSection:AddButton({Name = "Disable All Lasers", Callback = function()
  183. disableLasers()
  184. end})
  185.  
  186. local targetDropdw = BullySection:AddDropdown({Name = "Choose target", Default = "", Options = {"a", "b", "c"}, Callback = function(currentOption)
  187. firePlayer(currentOption)
  188. end})
  189.  
  190. updatePlayerList(targetDropdw)
  191.  
  192. game.Players.PlayerAdded:Connect(function(player)
  193. updatePlayerList(targetDropdw)
  194. end)
  195.  
  196. game.Players.PlayerRemoving:Connect(function(player)
  197. updatePlayerList(targetDropdw)
  198. end)
  199.  
  200. WeaponsMainSection:AddButton({Name = "Claim all Weapons", Callback = function()
  201. claimAllWeapons()
  202. end})
  203.  
  204. WeaponsMainSection:AddButton({Name = "Fire Player", Callback = function()
  205. local playerTarget = BullySection:AddDropdown({Name = "Choose target", Default = "", Options = getgenv().playersInServer, Callback = function(currentOption)
  206. firePlayer(currentOption)
  207. end})
  208. end})
  209.  
  210. Library:Init()
  211.  
Advertisement
Add Comment
Please, Sign In to add comment