Advertisement
Billy_Hou_Liao876

blox

Nov 15th, 2021
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.63 KB | None | 0 0
  1. if not _G.LastPiratesCandyHop then
  2. local DinoLoadingUI = Instance.new("ScreenGui")
  3. local DinoWindow = Instance.new("ImageLabel")
  4. local DinoBackground = Instance.new("Frame")
  5. local DinoText1 = Instance.new("TextLabel")
  6. local DinoText2 = Instance.new("TextLabel")
  7. local DinoText2UIGradient = Instance.new("UIGradient")
  8. local Outline1 = Instance.new("Frame")
  9. local Outline1UIGradient = Instance.new("UIGradient")
  10. local AntiAFKToggle = Instance.new("Frame")
  11. local AntiAFKToggleTitle = Instance.new("TextLabel")
  12. local AntiAFKToggleButton = Instance.new("TextButton")
  13. local AntiAFKToggleButtonUIGradient = Instance.new("UIGradient")
  14. local LoadButton = Instance.new("TextButton")
  15. local AntiAFKToggleButtonUIGradient_2 = Instance.new("UIGradient")
  16. local MobileSupportToggle = Instance.new("Frame")
  17. local MobileSupportToggleTitle = Instance.new("TextLabel")
  18. local MobileSupportToggleButton = Instance.new("TextButton")
  19. local MobileSupportToggleButtonUIGradient = Instance.new("UIGradient")
  20. local DinoDescription = Instance.new("TextLabel")
  21.  
  22. --Properties:
  23.  
  24. DinoLoadingUI.Name = "DinoLoadingUI"
  25. DinoLoadingUI.Parent = game.CoreGui
  26. DinoLoadingUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27. DinoLoadingUI.ResetOnSpawn = false
  28.  
  29. DinoWindow.Name = "DinoWindow"
  30. DinoWindow.Parent = DinoLoadingUI
  31. DinoWindow.AnchorPoint = Vector2.new(0.5, 0.5)
  32. DinoWindow.BackgroundTransparency = 1.000
  33. DinoWindow.BorderSizePixel = 0
  34. DinoWindow.Position = UDim2.new(0.499629349, 0, 0.499404043, 0)
  35. DinoWindow.Size = UDim2.new(0.229799852, 0, 0.190703213, 0)
  36. DinoWindow.Image = "rbxassetid://1316045217"
  37. DinoWindow.ImageColor3 = Color3.fromRGB(0, 0, 0)
  38. DinoWindow.ImageTransparency = 0.400
  39. DinoWindow.ScaleType = Enum.ScaleType.Slice
  40. DinoWindow.SliceCenter = Rect.new(10, 10, 118, 118)
  41.  
  42. DinoBackground.Name = "DinoBackground"
  43. DinoBackground.Parent = DinoWindow
  44. DinoBackground.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  45. DinoBackground.BorderSizePixel = 0
  46. DinoBackground.Position = UDim2.new(0.0161290318, 0, 0.03125, 0)
  47. DinoBackground.Size = UDim2.new(0.967741907, 0, 0.9375, 0)
  48.  
  49. DinoText1.Name = "DinoText1"
  50. DinoText1.Parent = DinoBackground
  51. DinoText1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. DinoText1.BackgroundTransparency = 1.000
  53. DinoText1.BorderSizePixel = 0
  54. DinoText1.Position = UDim2.new(0.300000012, 0, 0.0333333351, 0)
  55. DinoText1.Size = UDim2.new(0.216666669, 0, 0.100000001, 0)
  56. DinoText1.Visible = true
  57. DinoText1.Font = Enum.Font.GothamSemibold
  58. DinoText1.Text = "Dino Hub"
  59. DinoText1.TextColor3 = Color3.fromRGB(180, 180, 180)
  60. DinoText1.TextSize = 14.000
  61. DinoText1.TextScaled = true
  62.  
  63. DinoText2.Name = "DinoText2"
  64. DinoText2.Parent = DinoBackground
  65. DinoText2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  66. DinoText2.BackgroundTransparency = 1.000
  67. DinoText2.BorderSizePixel = 0
  68. DinoText2.Position = UDim2.new(0.516666651, 0, 0.0333333351, 0)
  69. DinoText2.Size = UDim2.new(0.15, 0, 0.100000001, 0)
  70. DinoText2.Visible = true
  71. DinoText2.Font = Enum.Font.GothamSemibold
  72. DinoText2.Text = "Loader"
  73. DinoText2.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. DinoText2.TextSize = 14.000
  75. DinoText2.TextScaled = true
  76.  
  77. DinoText2UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(69, 153, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(128, 173, 255))}
  78. DinoText2UIGradient.Name = "DinoText2UIGradient"
  79. DinoText2UIGradient.Parent = DinoText2
  80.  
  81. Outline1.Name = "Outline1"
  82. Outline1.Parent = DinoBackground
  83. Outline1.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  84. Outline1.BorderSizePixel = 0
  85. Outline1.Position = UDim2.new(0.0333333351, 0, 0.146666661, 0)
  86. Outline1.Size = UDim2.new(0.933333337, 0, 0.00666666683, 0)
  87. Outline1.Visible = true
  88.  
  89. local LocalizationService = game:GetService("LocalizationService")
  90. local player = game.Players.LocalPlayer
  91.  
  92. local result, code = pcall(function()
  93.     return LocalizationService:GetCountryRegionForPlayerAsync(player)
  94. end)
  95.  
  96. Outline1UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(69, 153, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(128, 173, 255))}
  97. Outline1UIGradient.Name = "Outline1UIGradient"
  98. Outline1UIGradient.Parent = Outline1
  99.  
  100. AntiAFKToggle.Name = "AntiAFKToggle"
  101. AntiAFKToggle.Parent = DinoBackground
  102. AntiAFKToggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  103. AntiAFKToggle.BorderSizePixel = 0
  104. AntiAFKToggle.Position = UDim2.new(0.0333333351, 0, 0.166666672, 0)
  105. AntiAFKToggle.Size = UDim2.new(0.933333337, 0, 0.13333334, 0)
  106. AntiAFKToggle.Visible = true
  107.  
  108. AntiAFKToggleTitle.Name = "AntiAFKToggleTitle"
  109. AntiAFKToggleTitle.Parent = AntiAFKToggle
  110. AntiAFKToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  111. AntiAFKToggleTitle.BackgroundTransparency = 1.000
  112. AntiAFKToggleTitle.BorderSizePixel = 0
  113. AntiAFKToggleTitle.Position = UDim2.new(0.0714285746, 0, 0, 0)
  114. AntiAFKToggleTitle.Size = UDim2.new(0.928571403, 0, 0.999999881, 0)
  115. AntiAFKToggleTitle.Font = Enum.Font.GothamSemibold
  116. AntiAFKToggleTitle.Text = "AntiAFK | AFK Forever"
  117. AntiAFKToggleTitle.TextColor3 = Color3.fromRGB(180, 180, 180)
  118. AntiAFKToggleTitle.TextSize = 14.000
  119. AntiAFKToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
  120. AntiAFKToggleTitle.TextScaled = true
  121.  
  122. AntiAFKToggleButton.Name = "AntiAFKToggleButton"
  123. AntiAFKToggleButton.Parent = AntiAFKToggle
  124. AntiAFKToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  125. AntiAFKToggleButton.BackgroundTransparency = 0.800
  126. AntiAFKToggleButton.BorderColor3 = Color3.fromRGB(85, 117, 168)
  127. AntiAFKToggleButton.Position = UDim2.new(0, 0, 0.199999988, 0)
  128. AntiAFKToggleButton.Size = UDim2.new(0.042857144, 0, 0.599999964, 0)
  129. AntiAFKToggleButton.AutoButtonColor = true
  130. AntiAFKToggleButton.Font = Enum.Font.SourceSans
  131. AntiAFKToggleButton.Text = ""
  132. AntiAFKToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  133. AntiAFKToggleButton.TextSize = 14.000
  134. AntiAFKToggleButton.TextScaled = true
  135.  
  136. AntiAFKToggleButtonUIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(68, 128, 205)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(73, 141, 223))}
  137. AntiAFKToggleButtonUIGradient.Rotation = 80
  138. AntiAFKToggleButtonUIGradient.Name = "AntiAFKToggleButtonUIGradient"
  139. AntiAFKToggleButtonUIGradient.Parent = AntiAFKToggleButton
  140.  
  141. LoadButton.Name = "LoadButton"
  142. LoadButton.Parent = DinoBackground
  143. LoadButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  144. LoadButton.BorderColor3 = Color3.fromRGB(85, 117, 168)
  145. LoadButton.Position = UDim2.new(0.25, 0, 0.779999971, 0)
  146. LoadButton.Size = UDim2.new(0.5, 0, 0.13333334, 0)
  147. LoadButton.Visible = true
  148. LoadButton.AutoButtonColor = false
  149. LoadButton.Font = Enum.Font.GothamSemibold
  150. LoadButton.Text = "Load"
  151. LoadButton.TextColor3 = Color3.fromRGB(20, 20, 20)
  152. LoadButton.TextSize = 14.000
  153. LoadButton.TextScaled = true
  154.  
  155. AntiAFKToggleButtonUIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(68, 128, 205)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(73, 141, 223))}
  156. AntiAFKToggleButtonUIGradient_2.Rotation = 80
  157. AntiAFKToggleButtonUIGradient_2.Name = "AntiAFKToggleButtonUIGradient"
  158. AntiAFKToggleButtonUIGradient_2.Parent = LoadButton
  159.  
  160. MobileSupportToggle.Name = "MobileSupportToggle"
  161. MobileSupportToggle.Parent = DinoBackground
  162. MobileSupportToggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  163. MobileSupportToggle.BorderSizePixel = 0
  164. MobileSupportToggle.Position = UDim2.new(0.0333333351, 0, 0.300000012, 0)
  165. MobileSupportToggle.Size = UDim2.new(0.933333337, 0, 0.13333334, 0)
  166. MobileSupportToggle.Visible = true
  167.  
  168. MobileSupportToggleTitle.Name = "MobileSupportToggleTitle"
  169. MobileSupportToggleTitle.Parent = MobileSupportToggle
  170. MobileSupportToggleTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  171. MobileSupportToggleTitle.BackgroundTransparency = 1.000
  172. MobileSupportToggleTitle.BorderSizePixel = 0
  173. MobileSupportToggleTitle.Position = UDim2.new(0.0714285746, 0, 0, 0)
  174. MobileSupportToggleTitle.Size = UDim2.new(0.928571403, 0, 0.999999881, 0)
  175. MobileSupportToggleTitle.Font = Enum.Font.GothamSemibold
  176. MobileSupportToggleTitle.Text = "Mobile Support | Decrease Lag"
  177. MobileSupportToggleTitle.TextColor3 = Color3.fromRGB(180, 180, 180)
  178. MobileSupportToggleTitle.TextSize = 14.000
  179. MobileSupportToggleTitle.TextXAlignment = Enum.TextXAlignment.Left
  180. MobileSupportToggleTitle.TextScaled = true
  181.  
  182. MobileSupportToggleButton.Name = "MobileSupportToggleButton"
  183. MobileSupportToggleButton.Parent = MobileSupportToggle
  184. MobileSupportToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  185. MobileSupportToggleButton.BackgroundTransparency = 0.800
  186. MobileSupportToggleButton.BorderColor3 = Color3.fromRGB(85, 117, 168)
  187. MobileSupportToggleButton.Position = UDim2.new(0, 0, 0.199999988, 0)
  188. MobileSupportToggleButton.Size = UDim2.new(0.042857144, 0, 0.599999964, 0)
  189. MobileSupportToggleButton.AutoButtonColor = false
  190. MobileSupportToggleButton.Font = Enum.Font.SourceSans
  191. MobileSupportToggleButton.Text = ""
  192. MobileSupportToggleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  193. MobileSupportToggleButton.TextSize = 14.000
  194. MobileSupportToggleButton.TextScaled = true
  195.  
  196. MobileSupportToggleButtonUIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(68, 128, 205)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(73, 141, 223))}
  197. MobileSupportToggleButtonUIGradient.Rotation = 80
  198. MobileSupportToggleButtonUIGradient.Name = "MobileSupportToggleButtonUIGradient"
  199. MobileSupportToggleButtonUIGradient.Parent = MobileSupportToggleButton
  200.  
  201. DinoDescription.Name = "DinoDescription"
  202. DinoDescription.Parent = DinoBackground
  203. DinoDescription.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  204. DinoDescription.BackgroundTransparency = 1.000
  205. DinoDescription.BorderSizePixel = 0
  206. DinoDescription.Position = UDim2.new(0.0333333351, 0, 0.533333361, 0)
  207. DinoDescription.Size = UDim2.new(0.933333337, 0, 0.200000003, 0)
  208. DinoDescription.Visible = true
  209. DinoDescription.Font = Enum.Font.GothamSemibold
  210. DinoDescription.Text = "Description : Thank You For Using Dino Hub. Use It Well!"
  211. DinoDescription.TextColor3 = Color3.fromRGB(150, 150, 150)
  212. DinoDescription.TextSize = 14.000
  213. DinoDescription.TextWrapped = true
  214. DinoDescription.TextXAlignment = Enum.TextXAlignment.Left
  215. DinoDescription.TextScaled = true
  216. local antiafktoggled = false
  217. local mobilesupported = false
  218. local player = game.Players.LocalPlayer
  219. local TeleportService = game:GetService("TeleportService")
  220. local level1Id = 7899144215
  221. AntiAFKToggleButton.MouseButton1Click:Connect(function()
  222.     if antiafktoggled then
  223.         game:GetService("TweenService"):Create(AntiAFKToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0.8}):Play()
  224.         antiafktoggled = false
  225.     else
  226.         game:GetService("TweenService"):Create(AntiAFKToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0}):Play()
  227.         antiafktoggled = true
  228.     end
  229.     if antiafktoggled then
  230.         local AntiAFK = game:GetService("VirtualUser")
  231.         AntiAFKT = game:GetService("Players").LocalPlayer.Idled:connect(function()
  232.             AntiAFK:CaptureController()
  233.             AntiAFK:ClickButton2(Vector2.new())
  234.         end)
  235.     else
  236.         AntiAFKT:Disconnect()
  237.     end
  238. end)
  239. MobileSupportToggleButton.MouseButton1Click:Connect(function()
  240.     if mobilesupported then
  241.         game:GetService("TweenService"):Create(MobileSupportToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0.8}):Play()
  242.         mobilesupported = false
  243.     else
  244.         game:GetService("TweenService"):Create(MobileSupportToggleButton, TweenInfo.new(0.08, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), {BackgroundTransparency = 0}):Play()
  245.         mobilesupported = true
  246.     end
  247. end)
  248. local gamesupported = false
  249. LoadButton.MouseButton1Click:Connect(function()
  250.     for _, sodi in pairs(DinoBackground:GetChildren()) do
  251.         sodi:Destroy()
  252.     end
  253.     local LoadingTXT = Instance.new("TextLabel")
  254.  
  255.     --Properties:
  256.  
  257.     LoadingTXT.Name = "LoadingTXT"
  258.     LoadingTXT.Parent = DinoBackground
  259.     LoadingTXT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  260.     LoadingTXT.BackgroundTransparency = 1.000
  261.     LoadingTXT.BorderSizePixel = 0
  262.     LoadingTXT.Position = UDim2.new(0.159999996, 0, 0.406666666, 0)
  263.     LoadingTXT.Size = UDim2.new(0.666666687, 0, 0.166666672, 0)
  264.     LoadingTXT.Font = Enum.Font.GothamSemibold
  265.     LoadingTXT.Text = "Checking If Game Supported"
  266.     LoadingTXT.TextColor3 = Color3.fromRGB(180, 180, 180)
  267.     LoadingTXT.TextSize = 14.000
  268.     LoadingTXT.TextScaled = true
  269.     wait(3)
  270.     LoadingTXT.Text = "Game Supported !"
  271.     wait(2)
  272.     LoadingTXT.Text = "Check Device !"
  273.     wait(2)
  274.     if not game:GetService("UserInputService").TouchEnabled and not game:GetService("UserInputService").KeyboardEnabled == false then
  275.     LoadingTXT.Text = "You Device is : PC"
  276.     else
  277.         LoadingTXT.Text = "You Device is : Mobile"
  278.     end
  279.     wait(3)
  280.     LoadingTXT.Text = "Hello Player From : " .. code
  281.     wait(2)
  282.     if game.PlaceId == 7449423635 then
  283.         LoadingTXT.Text = "Blox Fruit Dino Hub Script [ Sea 3 ]"
  284.     elseif game.PlaceId == 2753915549 then
  285.         LoadingTXT.Text = "Blox Fruit Dino Hub Script [ Sea 1 ]"
  286.     elseif game.PlaceId == 4442272183 then
  287.         LoadingTXT.Text = "Blox Fruit Dino Hub Script [ Sea 2 ]"  
  288.     end
  289.     if game.PlaceId == 4520749081 then
  290.         LoadingTXT.Text = "King Lecagy Dino Hub Script [ Sea 1 ]"  
  291.     elseif game.PlaceId == 6381829480 then
  292.         LoadingTXT.Text = "King Lecagy Dino Hub Script [ Sea 2 ]"  
  293.     elseif game.PlaceId == 5931540094 then
  294.         LoadingTXT.Text = "King Lecagy Dino Hub Script [ Raid ]"  
  295.     elseif game.PlaceId == 537413528 then
  296.         LoadingTXT.Text = "Build a Boat Script [ By SandaFrosty ]"  
  297.     end
  298. if game.PlaceId == 6284583030 then
  299.         LoadingTXT.Text = "Pet Simulator X Dino Hub!"
  300. end
  301.     wait(2)
  302.     LoadingTXT.Text = "Checking Function..."
  303.  
  304.     if mobilesupported then
  305.         local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  306.         local g = game
  307.         local w = g.Workspace
  308.         local l = g.Lighting
  309.         local t = w.Terrain
  310.         t.WaterWaveSize = 0
  311.         t.WaterWaveSpeed = 0
  312.         t.WaterReflectance = 0
  313.         t.WaterTransparency = 0
  314.         l.GlobalShadows = false
  315.         l.FogEnd = 9e9
  316.         l.Brightness = 0
  317.         settings().Rendering.QualityLevel = "Level01"
  318.         for i,v in pairs(g:GetDescendants()) do
  319.             if v:IsA("Part") or v:IsA("Union") or v:IsA("MeshPart") then
  320.                 v.Material = "Plastic"
  321.                 v.Reflectance = 0
  322.             elseif v:IsA("Decal") and decalsyeeted then
  323.                 v.Transparency = 1
  324.             elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  325.                 v.Lifetime = NumberRange.new(0)
  326.             end
  327.         end
  328.     end
  329.  
  330.     wait(2)
  331.  
  332.     LoadingTXT.Text = "Waiting For UI"
  333.  
  334.     wait(1)
  335.     DinoLoadingUI:Destroy()
  336.     LoadingTXT.Text = "Done !"
  337.     wait(2)
  338.     loadstring(game:HttpGet("https://pastebin.com/raw/kLBGGD73", true))()
  339. end)
  340. else
  341. _G.CandyHopz = true
  342. loadstring(game:HttpGet("https://raw.githubusercontent.com/naypramx/naypramxhub/main/serverhopcandyfarn" , true))()
  343. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement