Advertisement
TNightmareHA

Spook Wood Finder (LT2) script

Mar 31st, 2022 (edited)
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.72 KB | None | 0 0
  1. if not game.Loaded then game.Loaded:wait() end wait(3.5)
  2.  
  3. local Tree
  4. local hs = game:GetService("HttpService")
  5. local ts = game:GetService("TeleportService")
  6. local rs = game:GetService("RunService")
  7.  
  8. for a,b in next, workspace:GetChildren() do
  9.     if b.Name == "TreeRegion" then
  10.         for c,d in next, b:GetChildren() do
  11.             if d:FindFirstChild("TreeClass") and d.TreeClass.Value == "Spooky" and d:FindFirstChild("Owner") and d.Owner.Value == nil then
  12.                 Tree=d
  13.                 game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(d)
  14.                 game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(d)
  15.             end
  16.         end
  17.     end
  18.     rs.Heartbeat:wait()
  19. end
  20.  
  21. local ScreenGui = Instance.new('ScreenGui')
  22. local SpookFinder = Instance.new('ImageLabel')
  23. local Glow = Instance.new('ImageLabel')
  24. local Title = Instance.new('TextLabel')
  25. local Container = Instance.new('ImageLabel')
  26. local Azure = Instance.new('TextLabel')
  27. local Info = Instance.new('ImageLabel')
  28. local Txt = Instance.new('TextLabel')
  29. local Key = Instance.new('TextLabel')
  30.  
  31. local uis = game:GetService("UserInputService")
  32.  
  33. ScreenGui.Name = 'ScreenGui'
  34. ScreenGui.Parent = game:GetService('CoreGui')
  35. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  36.  
  37. SpookFinder.Name = 'SpookFinder'
  38. SpookFinder.Parent = ScreenGui
  39. SpookFinder.Position = UDim2.new(0, 50, 1, -40)
  40. SpookFinder.SliceCenter = Rect.new(100, 100, 100, 100)
  41. SpookFinder.AnchorPoint = Vector2.new(0, 1)
  42. SpookFinder.Image = 'rbxassetid://6748029921'
  43. SpookFinder.ZIndex = 2
  44. SpookFinder.Size = UDim2.new(0, 296, 0, 190)
  45. SpookFinder.ImageColor3 = Color3.fromRGB(54, 57, 64)
  46. SpookFinder.ScaleType = Enum.ScaleType.Slice
  47. SpookFinder.SliceScale = 0.050
  48. SpookFinder.BackgroundTransparency = 1.000
  49. SpookFinder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  50.  
  51. Glow.Name = 'Glow'
  52. Glow.Parent = SpookFinder
  53. Glow.Position = UDim2.new(0.5, 0, 0.50147050619125, 0)
  54. Glow.Active = true
  55. Glow.Selectable = true
  56. Glow.SliceCenter = Rect.new(24, 24, 276, 276)
  57. Glow.AnchorPoint = Vector2.new(0.5, 0.5)
  58. Glow.Image = 'rbxassetid://6646490215'
  59. Glow.Size = UDim2.new(1.0035088062286, 28, 1.0077605247498, 28)
  60. Glow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  61. Glow.ScaleType = Enum.ScaleType.Slice
  62. Glow.BackgroundTransparency = 1.000
  63. Glow.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64.  
  65. Title.Name = 'Title'
  66. Title.Parent = SpookFinder
  67. Title.TextWrapped = true
  68. Title.ZIndex = 3
  69. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  70. Title.Size = UDim2.new(1, 0, 0.033210337162018, 30)
  71. Title.TextSize = 22.000
  72. Title.Text = 'Spook Finder'
  73. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. Title.Font = Enum.Font.GothamBlack
  75. Title.BackgroundTransparency = 1.000
  76.  
  77. Container.Name = 'Container'
  78. Container.Parent = SpookFinder
  79. Container.Position = UDim2.new(0, 15, 0, 39)
  80. Container.SliceCenter = Rect.new(100, 100, 100, 100)
  81. Container.Image = 'rbxassetid://6748029921'
  82. Container.ZIndex = 2
  83. Container.Size = UDim2.new(0, 266, 0, 140)
  84. Container.ImageColor3 = Color3.fromRGB(48, 49, 54)
  85. Container.ScaleType = Enum.ScaleType.Slice
  86. Container.SliceScale = 0.040
  87. Container.BackgroundTransparency = 1.000
  88. Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  89.  
  90. Azure.Name = 'Azure'
  91. Azure.Parent = SpookFinder
  92. Azure.TextWrapped = true
  93. Azure.ZIndex = 3
  94. Azure.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  95. Azure.Size = UDim2.new(1, 0, 0, 25)
  96. Azure.TextSize = 13.000
  97. Azure.Text = 'Buy Azure, discord.gg/TqGREuxrW9'
  98. Azure.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. Azure.Font = Enum.Font.GothamBlack
  100. Azure.Position = UDim2.new(0, 0, 0.80526316165924, 0)
  101. Azure.BackgroundTransparency = 1.000
  102.  
  103. Info.Name = 'Info'
  104. Info.Parent = SpookFinder
  105. Info.Position = UDim2.new(0, 42, 0, 83)
  106. Info.SliceCenter = Rect.new(100, 100, 100, 100)
  107. Info.Image = 'rbxassetid://6748029921'
  108. Info.ZIndex = 2
  109. Info.Size = UDim2.new(0, 212, 0, 48)
  110. Info.ImageColor3 = Color3.fromRGB(40, 41, 45)
  111. Info.ScaleType = Enum.ScaleType.Slice
  112. Info.SliceScale = 0.040
  113. Info.BackgroundTransparency = 1.000
  114. Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  115.  
  116. Txt.Name = 'Txt'
  117. Txt.Parent = Info
  118. Txt.TextWrapped = true
  119. Txt.ZIndex = 3
  120. Txt.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  121. Txt.Size = UDim2.new(1, 0, 0, 36)
  122. Txt.TextSize = 21.000
  123. Txt.Text = 'TREE NOT FOUND!'
  124. Txt.TextColor3 = Color3.fromRGB(255, 0, 0)
  125. Txt.Font = Enum.Font.GothamBlack
  126. Txt.Position = UDim2.new(0, 0, 0, 6)
  127. Txt.BackgroundTransparency = 1.000
  128.  
  129. Key.Name = 'Key'
  130. Key.Parent = SpookFinder
  131. Key.TextWrapped = true
  132. Key.ZIndex = 3
  133. Key.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  134. Key.Size = UDim2.new(1, 0, 0, 25)
  135. Key.TextSize = 13.000
  136. Key.Text = 'Press RightShift to close'
  137. Key.TextColor3 = Color3.fromRGB(255, 255, 255)
  138. Key.Font = Enum.Font.GothamBlack
  139. Key.Position = UDim2.new(0, 0, 0.2368420958519, 0)
  140. Key.BackgroundTransparency = 1.000
  141.  
  142. game:GetService('ContentProvider'):PreloadAsync({'rbxassetid://6748029921', 'rbxassetid://6646490215', })
  143.  
  144. uis.InputBegan:Connect(function(i)
  145.     if i.UserInputType == Enum.UserInputType.Keyboard and i.KeyCode == Enum.KeyCode.RightShift then
  146.         SpookFinder.Visible = not SpookFinder.Visible
  147.     end
  148. end)
  149.  
  150. if Tree then Txt.TextColor3 = Color3.fromRGB(0,255,0) Txt.Text = "TREE FOUND!" return end
  151.  
  152. local Cookie = [[_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_17134CE1131A536FAAC26C2F543DD01FE79D280BDCDE18C7DF65875FC15D9978C7B0846BFD0E9FF5C4C9887407CBCE86EE57E6FFF688B4707389C804994A52A980E939605493DD8EA6F0D670F8202039A08A015B542A7767DCA7B3A75E74794B161498F232081AB6EBBC3EFF1F979ED80B40A2C6AD544A7A5C6C5773340290FC25DAFE9FFDAF98FE3D202CA5033218683E21DA4851E99FA82F3B49B999A94A1ABFE0467E61316F00D54B8AD36A498C93A7A4E93B05F602566F5B74E697FCDEEB78748DDC56B96B328BD71C87B2A2C318A5287302BCAD632482CF38F1D9ED895704A03EE85A3037651CAA2258E5E4F918FF7882E786FD4659FD2C3AE19FB1ADB527CA42DAAC96ACBF864A9C14C82CA2C1BB59EE25AE661B21A0554383BDFFD42F9A3431A88B7BD8A559D338982535D9494022E157F8CC3962EC3FC3E6BB25B3E19C501A408F740DC9E984EA669496C71581E83703]]
  153.  
  154. local res=hs:JSONDecode(syn.request({Url="https://games.roblox.com/v1/games/13822889/servers/Public?sortOrder=Asc&limit=100&cursor=",Method="GET",Cookies={[".ROBLOSECURITY"]=Cookie}}).Body)
  155. local servers = {}
  156. local nextpg=res.nextPageCursor
  157.  
  158. if not nextpg then
  159.     repeat
  160.         pcall(function()
  161.             local res2=hs:JSONDecode(syn.request({Url="https://games.roblox.com/v1/games/13822889/servers/Public?sortOrder=Asc&limit=100&cursor=",Method="GET",Cookies={[".ROBLOSECURITY"]=Cookie}}).Body)
  162.             nextpg = res2.nextPageCursor
  163.         end)
  164.     until nextpg
  165. end
  166.  
  167. repeat
  168.     local res1=hs:JSONDecode(syn.request({Url="https://games.roblox.com/v1/games/13822889/servers/Public?sortOrder=Asc&limit=100&cursor="..nextpg,Method="GET",Cookies={[".ROBLOSECURITY"]=Cookie}}).Body)
  169.     if not res1 or not res1.nextPageCursor then
  170.         repeat
  171.             pcall(function()
  172.                 res1 = hs:JSONDecode(syn.request({Url="https://games.roblox.com/v1/games/13822889/servers/Public?sortOrder=Asc&limit=100&cursor="..nextpg,Method="GET",Cookies={[".ROBLOSECURITY"]=Cookie}}).Body)
  173.                 nextpg = res2.nextPageCursor
  174.             end)
  175.         until nextpg
  176.     else
  177.         nextpg = res1.nextPageCursor
  178.     end
  179.     if res1.data then
  180.         for i,v in next, res1.data do
  181.             if v.id ~= game.JobId and v.playing < 6 then
  182.                 servers[#servers+1]=v
  183.             end
  184.         end
  185.     end
  186. until #servers > 1
  187.  
  188. local finalservers = {}
  189.  
  190. for i,v in next, servers do
  191.     if v.playing < 6 then
  192.         finalservers[#finalservers+1]=v.id
  193.     end
  194. end
  195.  
  196. ts:TeleportToPlaceInstance(game.PlaceId, finalservers[math.random(1,#finalservers)])
  197.  
  198. wait(5)
  199.  
  200. ts:TeleportToPlaceInstance(game.PlaceId, finalservers[math.random(1,#finalservers)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement