PhoenixPlayzYT

Average Phoenix Universal gui V3.1

Apr 29th, 2025 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. -- Load Rayfield
  2. local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  3.  
  4. -- Setup Window
  5. local Window = Rayfield:CreateWindow({
  6. Name = "Average Phoenix - Universal GUI V2",
  7. LoadingTitle = "Loading Average Phoenix...",
  8. ConfigurationSaving = {
  9. Enabled = false
  10. }
  11. })
  12.  
  13. local UIS = game:GetService("UserInputService")
  14. local RS = game:GetService("RunService")
  15. local Players = game:GetService("Players")
  16. local Player = Players.LocalPlayer
  17. local Character = Player.Character or Player.CharacterAdded:Wait()
  18. local HRP = Character:WaitForChild("HumanoidRootPart")
  19.  
  20. -- Main Tab
  21. local Tab = Window:CreateTab("Main", 4483362458)
  22.  
  23. ---------------------
  24. -- Noclip
  25. ---------------------
  26. local noclipEnabled = false
  27. local noclipConnection
  28.  
  29. Tab:CreateToggle({
  30. Name = "Noclip",
  31. CurrentValue = false,
  32. Callback = function(state)
  33. noclipEnabled = state
  34. if noclipConnection then noclipConnection:Disconnect() end
  35.  
  36. if noclipEnabled then
  37. noclipConnection = RS.Stepped:Connect(function()
  38. if Player.Character then
  39. for _, v in pairs(Player.Character:GetDescendants()) do
  40. if v:IsA("BasePart") and v.CanCollide then
  41. v.CanCollide = false
  42. end
  43. end
  44. end
  45. end)
  46. end
  47. end
  48. })
  49.  
  50. ---------------------
  51. -- Fly (Mobile Compatible)
  52. ---------------------
  53. local flying = false
  54. local flySpeed = 50
  55. local flyingDirection = Vector3.zero
  56. local verticalSpeed = 0
  57.  
  58. local function flyLoop()
  59. while flying do
  60. HRP.Velocity = (HRP.CFrame.LookVector * flyingDirection.Z + HRP.CFrame.RightVector * flyingDirection.X + Vector3.new(0, verticalSpeed, 0)) * flySpeed
  61. RS.RenderStepped:Wait()
  62. end
  63. end
  64.  
  65. Tab:CreateToggle({
  66. Name = "Fly (WASD + E/Q) or Mobile Controls",
  67. CurrentValue = false,
  68. Callback = function(state)
  69. flying = state
  70. if flying then
  71. spawn(flyLoop)
  72. else
  73. HRP.Velocity = Vector3.zero
  74. flyingDirection = Vector3.zero
  75. verticalSpeed = 0
  76. end
  77. end
  78. })
  79.  
  80. UIS.InputBegan:Connect(function(input, gameProcessed)
  81. if gameProcessed then return end
  82. if input.KeyCode == Enum.KeyCode.W then flyingDirection = Vector3.new(flyingDirection.X, 0, -1) end
  83. if input.KeyCode == Enum.KeyCode.S then flyingDirection = Vector3.new(flyingDirection.X, 0, 1) end
  84. if input.KeyCode == Enum.KeyCode.A then flyingDirection = Vector3.new(-1, 0, flyingDirection.Z) end
  85. if input.KeyCode == Enum.KeyCode.D then flyingDirection = Vector3.new(1, 0, flyingDirection.Z) end
  86. if input.KeyCode == Enum.KeyCode.E then verticalSpeed = 1 end
  87. if input.KeyCode == Enum.KeyCode.Q then verticalSpeed = -1 end
  88. end)
  89.  
  90. UIS.InputEnded:Connect(function(input)
  91. if input.KeyCode == Enum.KeyCode.W or input.KeyCode == Enum.KeyCode.S then flyingDirection = Vector3.new(flyingDirection.X, 0, 0) end
  92. if input.KeyCode == Enum.KeyCode.A or input.KeyCode == Enum.KeyCode.D then flyingDirection = Vector3.new(0, 0, flyingDirection.Z) end
  93. if input.KeyCode == Enum.KeyCode.E or input.KeyCode == Enum.KeyCode.Q then verticalSpeed = 0 end
  94. end)
  95.  
  96. UIS.TouchStarted:Connect(function(input)
  97. if input.UserInputType == Enum.UserInputType.Touch then
  98. local touchPos = input.Position
  99. if touchPos.X < 100 then
  100. flyingDirection = Vector3.new(-1, 0, 0)
  101. elseif touchPos.X > 100 then
  102. flyingDirection = Vector3.new(1, 0, 0)
  103. end
  104. end
  105. end)
  106.  
  107. -- Add additional categories
  108. local AnimationTab = Window:CreateTab("Animation Tester", 4483362458)
  109. local animations = {
  110. {Name = "Stylish", ID = 282574440},
  111. {Name = "Zombie", ID = 616088211},
  112. {Name = "Cartoony", ID = 742637544},
  113. {Name = "Levitation", ID = 616128201},
  114. {Name = "Ninja", ID = 656119721},
  115. {Name = "Toy", ID = 782841498},
  116. {Name = "Elder", ID = 845398858},
  117. {Name = "Bubbly", ID = 910004836},
  118. {Name = "Werewolf", ID = 1083195517},
  119. {Name = "Robot", ID = 616088211},
  120. {Name = "Pirate", ID = 531982821},
  121. {Name = "Knight", ID = 657441205}
  122. }
  123.  
  124. for _, anim in ipairs(animations) do
  125. AnimationTab:CreateButton({
  126. Name = anim.Name,
  127. Callback = function()
  128. local humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
  129. if humanoid then
  130. local animObj = Instance.new("Animation")
  131. animObj.AnimationId = "rbxassetid://" .. anim.ID
  132. local animTrack = humanoid:LoadAnimation(animObj)
  133. animTrack:Play()
  134. end
  135. end
  136. })
  137. end
  138.  
Advertisement
Add Comment
Please, Sign In to add comment