Advertisement
Lee_everitt

Untitled

Apr 15th, 2025 (edited)
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.93 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. local UserInputService = game:GetService("UserInputService")
  3. local TweenService = game:GetService("TweenService")
  4. local RunService = game:GetService("RunService")
  5.  
  6. -- Create main GUI
  7. local ScreenGui = Instance.new("ScreenGui")
  8. ScreenGui.Name = "CastleGUI"
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10. ScreenGui.Parent = Player:WaitForChild("PlayerGui")
  11.  
  12. -- Improved Intro screen
  13. local IntroFrame = Instance.new("Frame")
  14. IntroFrame.Name = "IntroFrame"
  15. IntroFrame.Size = UDim2.new(1, 0, 1, 0)
  16. IntroFrame.Position = UDim2.new(0, 0, 0, 0)
  17. IntroFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 25)
  18. IntroFrame.BackgroundTransparency = 0
  19. IntroFrame.ZIndex = 99999
  20. IntroFrame.Parent = ScreenGui
  21.  
  22. -- Background particles effect
  23. local ParticleContainer = Instance.new("Frame")
  24. ParticleContainer.Name = "ParticleContainer"
  25. ParticleContainer.Size = UDim2.new(1, 0, 1, 0)
  26. ParticleContainer.BackgroundTransparency = 1
  27. ParticleContainer.Parent = IntroFrame
  28.  
  29. for i = 1, 30 do
  30. local particle = Instance.new("Frame")
  31. particle.Name = "Particle"
  32. particle.Size = UDim2.new(0, math.random(2, 5), 0, math.random(2, 5))
  33. particle.Position = UDim2.new(0, math.random(0, 1000), 0, math.random(0, 600))
  34. particle.BackgroundColor3 = Color3.fromRGB(100, 150, 255)
  35. particle.BackgroundTransparency = 0.7
  36. particle.BorderSizePixel = 0
  37. particle.ZIndex = 99998
  38. particle.Parent = ParticleContainer
  39.  
  40. spawn(function()
  41. while particle.Parent do
  42. local targetX = math.random(-100, 1100)
  43. local targetY = math.random(-100, 700)
  44. local duration = math.random(5, 15)
  45.  
  46. TweenService:Create(particle, TweenInfo.new(duration, Enum.EasingStyle.Linear), {
  47. Position = UDim2.new(0, targetX, 0, targetY)
  48. }):Play()
  49.  
  50. wait(duration)
  51. end
  52. end)
  53. end
  54.  
  55. -- Logo with shine effect
  56. local LogoContainer = Instance.new("Frame")
  57. LogoContainer.Name = "LogoContainer"
  58. LogoContainer.Size = UDim2.new(0, 350, 0, 350)
  59. LogoContainer.Position = UDim2.new(0.5, -175, 0.5, -175)
  60. LogoContainer.BackgroundTransparency = 1
  61. LogoContainer.ZIndex = 100000
  62. LogoContainer.Parent = IntroFrame
  63.  
  64. local Logo = Instance.new("ImageLabel")
  65. Logo.Name = "Logo"
  66. Logo.Size = UDim2.new(1, 0, 1, 0)
  67. Logo.BackgroundTransparency = 1
  68. Logo.Image = "rbxassetid://1234567890"
  69. Logo.ZIndex = 100001
  70. Logo.ImageTransparency = 1
  71. Logo.Parent = LogoContainer
  72.  
  73. local LogoShine = Instance.new("ImageLabel")
  74. LogoShine.Name = "LogoShine"
  75. LogoShine.Size = UDim2.new(1, 0, 1, 0)
  76. LogoShine.BackgroundTransparency = 1
  77. LogoShine.Image = "rbxassetid://1234567890"
  78. LogoShine.ImageColor3 = Color3.fromRGB(255, 255, 255)
  79. LogoShine.ZIndex = 100002
  80. LogoShine.ImageTransparency = 1
  81. LogoShine.Parent = LogoContainer
  82.  
  83. local LoadingText = Instance.new("TextLabel")
  84. LoadingText.Name = "LoadingText"
  85. LoadingText.Size = UDim2.new(0, 200, 0, 30)
  86. LoadingText.Position = UDim2.new(0.5, -100, 0.7, 0)
  87. LoadingText.BackgroundTransparency = 1
  88. LoadingText.Text = "LOADING"
  89. LoadingText.TextColor3 = Color3.fromRGB(200, 220, 255)
  90. LoadingText.Font = Enum.Font.GothamBold
  91. LoadingText.TextSize = 20
  92. LoadingText.TextTransparency = 1
  93. LoadingText.ZIndex = 100001
  94. LoadingText.Parent = IntroFrame
  95.  
  96. local SkipButton = Instance.new("TextButton")
  97. SkipButton.Name = "SkipButton"
  98. SkipButton.Size = UDim2.new(0, 100, 0, 30)
  99. SkipButton.Position = UDim2.new(0, 10, 0, 10)
  100. SkipButton.BackgroundColor3 = Color3.fromRGB(40, 40, 60)
  101. SkipButton.TextColor3 = Color3.fromRGB(200, 220, 255)
  102. SkipButton.Text = "SKIP INTRO"
  103. SkipButton.Font = Enum.Font.GothamBold
  104. SkipButton.TextSize = 14
  105. SkipButton.TextTransparency = 1
  106. SkipButton.ZIndex = 100001
  107. SkipButton.Parent = IntroFrame
  108.  
  109. local SkipCorner = Instance.new("UICorner")
  110. SkipCorner.CornerRadius = UDim.new(0, 4)
  111. SkipCorner.Parent = SkipButton
  112.  
  113. -- Main GUI frame (now larger)
  114. local MainFrame = Instance.new("Frame")
  115. MainFrame.Name = "MainFrame"
  116. MainFrame.Size = UDim2.new(0, 400, 0, 550) -- Increased size
  117. MainFrame.Position = UDim2.new(0.5, -200, 0.5, -275) -- Adjusted position
  118. MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  119. MainFrame.BorderSizePixel = 0
  120. MainFrame.Visible = false
  121. MainFrame.Parent = ScreenGui
  122.  
  123. local Corner = Instance.new("UICorner")
  124. Corner.CornerRadius = UDim.new(0, 8)
  125. Corner.Parent = MainFrame
  126.  
  127. local TitleBar = Instance.new("Frame")
  128. TitleBar.Name = "TitleBar"
  129. TitleBar.Size = UDim2.new(1, 0, 0, 30)
  130. TitleBar.Position = UDim2.new(0, 0, 0, 0)
  131. TitleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  132. TitleBar.BorderSizePixel = 0
  133. TitleBar.Parent = MainFrame
  134.  
  135. local TitleCorner = Instance.new("UICorner")
  136. TitleCorner.CornerRadius = UDim.new(0, 8)
  137. TitleCorner.Parent = TitleBar
  138.  
  139. local Title = Instance.new("TextLabel")
  140. Title.Name = "Title"
  141. Title.Size = UDim2.new(0, 200, 1, 0)
  142. Title.Position = UDim2.new(0.5, -100, 0, 0)
  143. Title.BackgroundTransparency = 1
  144. Title.Text = "Castle GUI"
  145. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  146. Title.Font = Enum.Font.GothamBold
  147. Title.TextSize = 18
  148. Title.Parent = TitleBar
  149.  
  150. local CloseButton = Instance.new("TextButton")
  151. CloseButton.Name = "CloseButton"
  152. CloseButton.Size = UDim2.new(0, 30, 0, 30)
  153. CloseButton.Position = UDim2.new(1, -30, 0, 0)
  154. CloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  155. CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  156. CloseButton.Text = "X"
  157. CloseButton.Font = Enum.Font.GothamBold
  158. CloseButton.TextSize = 16
  159. CloseButton.Parent = TitleBar
  160.  
  161. local CloseCorner = Instance.new("UICorner")
  162. CloseCorner.CornerRadius = UDim.new(0, 8)
  163. CloseCorner.Parent = CloseButton
  164.  
  165. local ToggleButton = Instance.new("TextButton")
  166. ToggleButton.Name = "ToggleButton"
  167. ToggleButton.Size = UDim2.new(0, 60, 0, 25)
  168. ToggleButton.Position = UDim2.new(0, 5, 0, 35)
  169. ToggleButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  170. ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  171. ToggleButton.Text = "Hide"
  172. ToggleButton.Font = Enum.Font.Gotham
  173. ToggleButton.TextSize = 12
  174. ToggleButton.Parent = MainFrame
  175.  
  176. local ToggleCorner = Instance.new("UICorner")
  177. ToggleCorner.CornerRadius = UDim.new(0, 4)
  178. ToggleCorner.Parent = ToggleButton
  179.  
  180. local MobileButton = Instance.new("TextButton")
  181. MobileButton.Name = "MobileButton"
  182. MobileButton.Size = UDim2.new(0, 60, 0, 25)
  183. MobileButton.Position = UDim2.new(1, -65, 0, 35)
  184. MobileButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  185. MobileButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  186. MobileButton.Text = "Mobile"
  187. MobileButton.Font = Enum.Font.Gotham
  188. MobileButton.TextSize = 12
  189. MobileButton.Visible = false
  190. MobileButton.Parent = MainFrame
  191.  
  192. local MobileCorner = Instance.new("UICorner")
  193. MobileCorner.CornerRadius = UDim.new(0, 4)
  194. MobileCorner.Parent = MobileButton
  195.  
  196. if UserInputService.TouchEnabled then
  197. MobileButton.Visible = true
  198. end
  199.  
  200. local ButtonsFrame = Instance.new("Frame")
  201. ButtonsFrame.Name = "ButtonsFrame"
  202. ButtonsFrame.Size = UDim2.new(1, -10, 1, -70)
  203. ButtonsFrame.Position = UDim2.new(0, 5, 0, 65)
  204. ButtonsFrame.BackgroundTransparency = 1
  205. ButtonsFrame.Parent = MainFrame
  206.  
  207. local ButtonLayout = Instance.new("UIListLayout")
  208. ButtonLayout.Padding = UDim.new(0, 5)
  209. ButtonLayout.FillDirection = Enum.FillDirection.Vertical
  210. ButtonLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  211. ButtonLayout.Parent = ButtonsFrame
  212.  
  213. -- Create buttons function with improved styling
  214. local function CreateButton(name)
  215. local button = Instance.new("TextButton")
  216. button.Name = name
  217. button.Size = UDim2.new(1, 0, 0, 40)
  218. button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  219. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  220. button.Text = name
  221. button.Font = Enum.Font.Gotham
  222. button.TextSize = 16
  223. button.Parent = ButtonsFrame
  224.  
  225. local buttonCorner = Instance.new("UICorner")
  226. buttonCorner.CornerRadius = UDim.new(0, 4)
  227. buttonCorner.Parent = button
  228.  
  229. button.MouseEnter:Connect(function()
  230. TweenService:Create(button, TweenInfo.new(0.2), {
  231. BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  232. }):Play()
  233. end)
  234.  
  235. button.MouseLeave:Connect(function()
  236. TweenService:Create(button, TweenInfo.new(0.2), {
  237. BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  238. }):Play()
  239. end)
  240.  
  241. return button
  242. end
  243.  
  244. -- Create all buttons
  245. local CastleButton = CreateButton("Castle")
  246. local FortButton = CreateButton("Fort")
  247. local TheEndButton = CreateButton("The End")
  248. local TeslaButton = CreateButton("Tesla")
  249. local TrainButton = CreateButton("Train")
  250. local ChairButton = CreateButton("Any Chair")
  251. local HorseButton = CreateButton("Horse Class")
  252. local TownBankButton = CreateButton("Town & Bank")
  253. local HeroesButton = CreateButton("Heroes Battlegrounds")
  254. local PacifistButton = CreateButton("Pacifist Auto Complete Quest") -- New button
  255. local UpdateLogsButton = CreateButton("UPDATE-LOGS")
  256.  
  257. -- Update Logs GUI
  258. local UpdateLogsFrame = Instance.new("Frame")
  259. UpdateLogsFrame.Name = "UpdateLogsFrame"
  260. UpdateLogsFrame.Size = UDim2.new(0, 450, 0, 550) -- Increased size to match
  261. UpdateLogsFrame.Position = UDim2.new(0.5, -225, 0.5, -275) -- Adjusted position
  262. UpdateLogsFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  263. UpdateLogsFrame.BorderSizePixel = 0
  264. UpdateLogsFrame.Visible = false
  265. UpdateLogsFrame.ZIndex = 100
  266. UpdateLogsFrame.Parent = ScreenGui
  267.  
  268. local UpdateCorner = Instance.new("UICorner")
  269. UpdateCorner.CornerRadius = UDim.new(0, 8)
  270. UpdateCorner.Parent = UpdateLogsFrame
  271.  
  272. local UpdateTitleBar = Instance.new("Frame")
  273. UpdateTitleBar.Name = "UpdateTitleBar"
  274. UpdateTitleBar.Size = UDim2.new(1, 0, 0, 30)
  275. UpdateTitleBar.Position = UDim2.new(0, 0, 0, 0)
  276. UpdateTitleBar.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
  277. UpdateTitleBar.BorderSizePixel = 0
  278. UpdateTitleBar.ZIndex = 101
  279. UpdateTitleBar.Parent = UpdateLogsFrame
  280.  
  281. local UpdateTitleCorner = Instance.new("UICorner")
  282. UpdateTitleCorner.CornerRadius = UDim.new(0, 8)
  283. UpdateTitleCorner.Parent = UpdateTitleBar
  284.  
  285. local UpdateTitle = Instance.new("TextLabel")
  286. UpdateTitle.Name = "UpdateTitle"
  287. UpdateTitle.Size = UDim2.new(0, 200, 1, 0)
  288. UpdateTitle.Position = UDim2.new(0.5, -100, 0, 0)
  289. UpdateTitle.BackgroundTransparency = 1
  290. UpdateTitle.Text = "UPDATE LOGS"
  291. UpdateTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  292. UpdateTitle.Font = Enum.Font.GothamBold
  293. UpdateTitle.TextSize = 18
  294. UpdateTitle.ZIndex = 102
  295. UpdateTitle.Parent = UpdateTitleBar
  296.  
  297. local UpdateCloseButton = Instance.new("TextButton")
  298. UpdateCloseButton.Name = "UpdateCloseButton"
  299. UpdateCloseButton.Size = UDim2.new(0, 30, 0, 30)
  300. UpdateCloseButton.Position = UDim2.new(1, -30, 0, 0)
  301. UpdateCloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  302. UpdateCloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  303. UpdateCloseButton.Text = "X"
  304. UpdateCloseButton.Font = Enum.Font.GothamBold
  305. UpdateCloseButton.TextSize = 16
  306. UpdateCloseButton.ZIndex = 102
  307. UpdateCloseButton.Parent = UpdateTitleBar
  308.  
  309. local UpdateCloseCorner = Instance.new("UICorner")
  310. UpdateCloseCorner.CornerRadius = UDim.new(0, 8)
  311. UpdateCloseCorner.Parent = UpdateCloseButton
  312.  
  313. local UpdateScrollFrame = Instance.new("ScrollingFrame")
  314. UpdateScrollFrame.Name = "UpdateScrollFrame"
  315. UpdateScrollFrame.Size = UDim2.new(1, -20, 1, -50)
  316. UpdateScrollFrame.Position = UDim2.new(0, 10, 0, 40)
  317. UpdateScrollFrame.BackgroundTransparency = 1
  318. UpdateScrollFrame.ScrollBarThickness = 5
  319. UpdateScrollFrame.ZIndex = 101
  320. UpdateScrollFrame.Parent = UpdateLogsFrame
  321.  
  322. local UpdateText = Instance.new("TextLabel")
  323. UpdateText.Name = "UpdateText"
  324. UpdateText.Size = UDim2.new(1, -10, 0, 0)
  325. UpdateText.Position = UDim2.new(0, 5, 0, 5)
  326. UpdateText.BackgroundTransparency = 1
  327. UpdateText.Text = "Update logs will appear here..."
  328. UpdateText.TextColor3 = Color3.fromRGB(200, 200, 200)
  329. UpdateText.Font = Enum.Font.Gotham
  330. UpdateText.TextSize = 14
  331. UpdateText.TextWrapped = true
  332. UpdateText.TextXAlignment = Enum.TextXAlignment.Left
  333. UpdateText.TextYAlignment = Enum.TextYAlignment.Top
  334. UpdateText.AutomaticSize = Enum.AutomaticSize.Y
  335. UpdateText.ZIndex = 102
  336. UpdateText.Parent = UpdateScrollFrame
  337.  
  338. local FontSelector = Instance.new("TextButton")
  339. FontSelector.Name = "FontSelector"
  340. FontSelector.Size = UDim2.new(0, 100, 0, 25)
  341. FontSelector.Position = UDim2.new(0, 10, 1, -35)
  342. FontSelector.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
  343. FontSelector.TextColor3 = Color3.fromRGB(255, 255, 255)
  344. FontSelector.Text = "Change Font"
  345. FontSelector.Font = Enum.Font.Gotham
  346. FontSelector.TextSize = 14
  347. FontSelector.ZIndex = 102
  348. FontSelector.Parent = UpdateLogsFrame
  349.  
  350. local FontSelectorCorner = Instance.new("UICorner")
  351. FontSelectorCorner.CornerRadius = UDim.new(0, 4)
  352. FontSelectorCorner.Parent = FontSelector
  353.  
  354. local ColorSelector = Instance.new("TextButton")
  355. ColorSelector.Name = "ColorSelector"
  356. ColorSelector.Size = UDim2.new(0, 100, 0, 25)
  357. ColorSelector.Position = UDim2.new(1, -110, 1, -35)
  358. ColorSelector.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
  359. ColorSelector.TextColor3 = Color3.fromRGB(255, 255, 255)
  360. ColorSelector.Text = "Change Color"
  361. ColorSelector.Font = Enum.Font.Gotham
  362. ColorSelector.TextSize = 14
  363. ColorSelector.ZIndex = 102
  364. ColorSelector.Parent = UpdateLogsFrame
  365.  
  366. local ColorSelectorCorner = Instance.new("UICorner")
  367. ColorSelectorCorner.CornerRadius = UDim.new(0, 4)
  368. ColorSelectorCorner.Parent = ColorSelector
  369.  
  370. -- Dragging functionality for Update Logs
  371. local updateDragging
  372. local updateDragInput
  373. local updateDragStart
  374. local updateStartPos
  375.  
  376. local function updateUpdatePos(input)
  377. local delta = input.Position - updateDragStart
  378. UpdateLogsFrame.Position = UDim2.new(updateStartPos.X.Scale, updateStartPos.X.Offset + delta.X, updateStartPos.Y.Scale, updateStartPos.Y.Offset + delta.Y)
  379. end
  380.  
  381. UpdateTitleBar.InputBegan:Connect(function(input)
  382. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  383. updateDragging = true
  384. updateDragStart = input.Position
  385. updateStartPos = UpdateLogsFrame.Position
  386.  
  387. input.Changed:Connect(function()
  388. if input.UserInputState == Enum.UserInputState.End then
  389. updateDragging = false
  390. end
  391. end)
  392. end
  393. end)
  394.  
  395. UpdateTitleBar.InputChanged:Connect(function(input)
  396. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  397. updateDragInput = input
  398. end
  399. end)
  400.  
  401. UserInputService.InputChanged:Connect(function(input)
  402. if input == updateDragInput and updateDragging then
  403. updateUpdatePos(input)
  404. end
  405. end)
  406.  
  407. -- Button functionality
  408. CastleButton.MouseButton1Click:Connect(function()
  409. loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/castletpfast.github.io/refs/heads/main/FASTCASTLE.lua"))()
  410. end)
  411.  
  412. FortButton.MouseButton1Click:Connect(function()
  413. loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/Tpfort.github.io/refs/heads/main/Tpfort.lua"))()
  414. end)
  415.  
  416. TheEndButton.MouseButton1Click:Connect(function()
  417. loadstring(game:HttpGet("https://raw.githubusercontent.com/gumanba/Scripts/refs/heads/main/DeadRails"))()
  418. end)
  419.  
  420. TeslaButton.MouseButton1Click:Connect(function()
  421. loadstring(game:HttpGet('https://raw.githubusercontent.com/ringtaa/tptotesla.github.io/refs/heads/main/Tptotesla.lua'))()
  422. end)
  423.  
  424. TrainButton.MouseButton1Click:Connect(function()
  425. loadstring(game:HttpGet('https://raw.githubusercontent.com/ringtaa/train.github.io/refs/heads/main/train.lua'))()
  426. end)
  427.  
  428. ChairButton.MouseButton1Click:Connect(function()
  429. loadstring(game:HttpGet('https://raw.githubusercontent.com/ringtaa/sterlingnotifcation.github.io/refs/heads/main/Sterling.lua'))()
  430. end)
  431.  
  432. HorseButton.MouseButton1Click:Connect(function()
  433. local args = {[1] = "Horse"}
  434. game:GetService("ReplicatedStorage"):WaitForChild("Shared"):WaitForChild("RemotePromise"):WaitForChild("Remotes"):WaitForChild("C_BuyClass"):FireServer(unpack(args))
  435. end)
  436.  
  437. TownBankButton.MouseButton1Click:Connect(function()
  438. loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/Tptobank.github.io/refs/heads/main/Banktp.lua"))()
  439. end)
  440.  
  441. HeroesButton.MouseButton1Click:Connect(function()
  442. loadstring(game:HttpGet('https://pastebin.com/raw/ryEnwvxQ'))()
  443. end)
  444.  
  445. -- New Pacifist Auto Complete Quest button functionality
  446. PacifistButton.MouseButton1Click:Connect(function()
  447. loadstring(game:HttpGet("https://raw.githubusercontent.com/ringtaa/newpacifisct/refs/heads/main/newpacifisct.lua"))()
  448. end)
  449.  
  450. -- Update Logs button functionality
  451. UpdateLogsButton.MouseButton1Click:Connect(function()
  452. UpdateLogsFrame.Visible = not UpdateLogsFrame.Visible
  453. end)
  454.  
  455. UpdateCloseButton.MouseButton1Click:Connect(function()
  456. UpdateLogsFrame.Visible = false
  457. end)
  458.  
  459. -- Font selector functionality
  460. local fonts = {
  461. Enum.Font.Gotham,
  462. Enum.Font.GothamBold,
  463. Enum.Font.GothamBlack,
  464. Enum.Font.GothamMedium,
  465. Enum.Font.SourceSans,
  466. Enum.Font.SourceSansBold,
  467. Enum.Font.SourceSansItalic,
  468. Enum.Font.SourceSansLight,
  469. Enum.Font.SourceSansSemibold
  470. }
  471.  
  472. local fontNames = {
  473. "Gotham",
  474. "Gotham Bold",
  475. "Gotham Black",
  476. "Gotham Medium",
  477. "Source Sans",
  478. "Source Sans Bold",
  479. "Source Sans Italic",
  480. "Source Sans Light",
  481. "Source Sans Semibold"
  482. }
  483.  
  484. FontSelector.MouseButton1Click:Connect(function()
  485. for i, font in ipairs(fonts) do
  486. if UpdateText.Font == font then
  487. local nextIndex = (i % #fonts) + 1
  488. UpdateText.Font = fonts[nextIndex]
  489. break
  490. end
  491. end
  492. end)
  493.  
  494. -- Color selector functionality
  495. local colors = {
  496. Color3.fromRGB(255, 255, 255),
  497. Color3.fromRGB(200, 200, 255),
  498. Color3.fromRGB(255, 200, 200),
  499. Color3.fromRGB(200, 255, 200),
  500. Color3.fromRGB(255, 255, 200),
  501. Color3.fromRGB(200, 255, 255),
  502. Color3.fromRGB(255, 200, 255)
  503. }
  504.  
  505. ColorSelector.MouseButton1Click:Connect(function()
  506. for i, color in ipairs(colors) do
  507. if UpdateText.TextColor3 == color then
  508. local nextIndex = (i % #colors) + 1
  509. UpdateText.TextColor3 = colors[nextIndex]
  510. break
  511. end
  512. end
  513. end)
  514.  
  515. -- Toggle functionality
  516. local isVisible = true
  517.  
  518. ToggleButton.MouseButton1Click:Connect(function()
  519. isVisible = not isVisible
  520. if isVisible then
  521. MainFrame.Visible = true
  522. ToggleButton.Text = "Hide"
  523. else
  524. MainFrame.Visible = false
  525. ToggleButton.Text = "Show"
  526. end
  527. end)
  528.  
  529. -- Keybind for P key
  530. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  531. if not gameProcessed and input.KeyCode == Enum.KeyCode.P then
  532. isVisible = not isVisible
  533. MainFrame.Visible = isVisible
  534. ToggleButton.Text = isVisible and "Hide" or "Show"
  535. end
  536. end)
  537.  
  538. -- Mobile button functionality
  539. MobileButton.MouseButton1Click:Connect(function()
  540. isVisible = not isVisible
  541. MainFrame.Visible = isVisible
  542. end)
  543.  
  544. -- Close button functionality
  545. CloseButton.MouseButton1Click:Connect(function()
  546. ScreenGui:Destroy()
  547. end)
  548.  
  549. -- Enhanced Intro animation
  550. local function playIntro()
  551. TweenService:Create(Logo, TweenInfo.new(1.5, Enum.EasingStyle.Quint), {
  552. ImageTransparency = 0
  553. }):Play()
  554.  
  555. wait(0.5)
  556.  
  557. TweenService:Create(LoadingText, TweenInfo.new(1, Enum.EasingStyle.Quint), {
  558. TextTransparency = 0
  559. }):Play()
  560.  
  561. TweenService:Create(SkipButton, TweenInfo.new(1, Enum.EasingStyle.Quint), {
  562. TextTransparency = 0,
  563. BackgroundTransparency = 0.5
  564. }):Play()
  565.  
  566. wait(1.5)
  567. LogoShine.ImageTransparency = 0.5
  568. TweenService:Create(LogoShine, TweenInfo.new(0.5, Enum.EasingStyle.Quint), {
  569. ImageTransparency = 1,
  570. Size = UDim2.new(1.2, 0, 1.2, 0),
  571. Position = UDim2.new(-0.1, 0, -0.1, 0)
  572. }):Play()
  573.  
  574. local skipRequested = false
  575. SkipButton.MouseButton1Click:Connect(function()
  576. skipRequested = true
  577. end)
  578.  
  579. local dots = ""
  580. for i = 1, 10 do
  581. if skipRequested then break end
  582.  
  583. dots = dots .. "."
  584. if #dots > 3 then dots = "" end
  585.  
  586. LoadingText.Text = "LOADING" .. dots
  587. wait(0.3)
  588. end
  589.  
  590. LoadingText.Text = "READY"
  591.  
  592. TweenService:Create(Logo, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {
  593. ImageTransparency = 1,
  594. Size = UDim2.new(0.8, 0, 0.8, 0),
  595. Position = UDim2.new(0.1, 0, 0.1, 0)
  596. }):Play()
  597.  
  598. TweenService:Create(LogoShine, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {
  599. ImageTransparency = 1
  600. }):Play()
  601.  
  602. TweenService:Create(LoadingText, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {
  603. TextTransparency = 1,
  604. Position = UDim2.new(0.5, -100, 0.8, 0)
  605. }):Play()
  606.  
  607. TweenService:Create(SkipButton, TweenInfo.new(0.8, Enum.EasingStyle.Quint), {
  608. TextTransparency = 1,
  609. BackgroundTransparency = 1
  610. }):Play()
  611.  
  612. TweenService:Create(IntroFrame, TweenInfo.new(1.2, Enum.EasingStyle.Quint), {
  613. BackgroundTransparency = 1
  614. }):Play()
  615.  
  616. wait(1.2)
  617. IntroFrame:Destroy()
  618. MainFrame.Visible = true
  619.  
  620. MainFrame.Size = UDim2.new(0, 10, 0, 10)
  621. MainFrame.Position = UDim2.new(0.5, -5, 0.5, -5)
  622. MainFrame.BackgroundTransparency = 0.5
  623.  
  624. TweenService:Create(MainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back), {
  625. Size = UDim2.new(0, 400, 0, 550),
  626. Position = UDim2.new(0.5, -200, 0.5, -275),
  627. BackgroundTransparency = 0
  628. }):Play()
  629. end
  630.  
  631. -- Set initial update log text
  632. UpdateText.Text = [[
  633. [Version 2.1]
  634. - Added Pacifist Auto Complete Quest
  635. - Increased GUI size for better visibility
  636. - Added more buttons with better organization
  637.  
  638. [Version 2.0]
  639. - Added Heroes Battlegrounds support
  640. - Added INF DASH (NO DASH FRONT COOLDOWN)
  641. - Added Update Logs panel
  642. - Improved GUI design
  643. - Added font and color customization
  644. - Fixed several minor bugs
  645.  
  646. [Version 1.1]
  647. - Added Town & Bank teleport
  648. - Improved intro animation
  649. - Added mobile support
  650.  
  651. [Version 1.0]
  652. - Initial release
  653. - Basic teleport functions
  654. - Simple GUI interface
  655. ]]
  656.  
  657. -- Start the intro
  658. playIntro()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement