zxcscripts

Cock hub

Aug 24th, 2025
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. -- Pookie Hub 🥰 by Rayfield
  2. -- safe fun features only 💖
  3.  
  4. local UserInputService = game:GetService("UserInputService")
  5. local Players = game:GetService("Players")
  6. local RunService = game:GetService("RunService")
  7. local LocalPlayer = Players.LocalPlayer
  8. local Camera = workspace.CurrentCamera
  9.  
  10. -- Rayfield UI
  11. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  12.  
  13. local Window = Rayfield:CreateWindow({
  14. Name = "Pookie Hub 🥰",
  15. LoadingTitle = "Loading...",
  16. LoadingSubtitle = "Rayfield UI by ur pookie 💖",
  17. ConfigurationSaving = { Enabled = true, FolderName = "PookieHub", FileName = "Settings" },
  18. KeySystem = false,
  19. })
  20.  
  21. local Main = Window:CreateTab("Main", 4483362458)
  22. local Movement = Window:CreateTab("Movement", 4483362458)
  23. local Misc = Window:CreateTab("Misc", 4483362458)
  24.  
  25. -- STATE
  26. local FlyEnabled = false
  27. local FlySpeed = 50
  28. local NoClipEnabled = false
  29. local InfJumpEnabled = false
  30. local SwimEnabled = false
  31.  
  32. -- ===== MOVEMENT =====
  33. Movement:CreateSection("Fly")
  34. Movement:CreateToggle({
  35. Name = "Fly",
  36. CurrentValue = false,
  37. Flag = "FlyToggle",
  38. Callback = function(state)
  39. FlyEnabled = state
  40. end,
  41. })
  42.  
  43. Movement:CreateSlider({
  44. Name = "Fly Speed",
  45. Range = {10, 200},
  46. Increment = 5,
  47. CurrentValue = 50,
  48. Flag = "FlySpeed",
  49. Callback = function(val)
  50. FlySpeed = val
  51. end,
  52. })
  53.  
  54. -- Fly loop
  55. RunService.RenderStepped:Connect(function()
  56. if FlyEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  57. local hrp = LocalPlayer.Character.HumanoidRootPart
  58. local cf = Camera.CFrame
  59. local move = Vector3.new()
  60. if UserInputService:IsKeyDown(Enum.KeyCode.W) then move += cf.LookVector end
  61. if UserInputService:IsKeyDown(Enum.KeyCode.S) then move -= cf.LookVector end
  62. if UserInputService:IsKeyDown(Enum.KeyCode.A) then move -= cf.RightVector end
  63. if UserInputService:IsKeyDown(Enum.KeyCode.D) then move += cf.RightVector end
  64. hrp.Velocity = move.Unit * FlySpeed
  65. end
  66. end)
  67.  
  68. -- ===== NOCLIP =====
  69. Movement:CreateSection("NoClip")
  70. Movement:CreateToggle({
  71. Name = "NoClip",
  72. CurrentValue = false,
  73. Callback = function(state)
  74. NoClipEnabled = state
  75. end,
  76. })
  77.  
  78. RunService.Stepped:Connect(function()
  79. if LocalPlayer.Character then
  80. for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
  81. if part:IsA("BasePart") then
  82. part.CanCollide = not NoClipEnabled
  83. end
  84. end
  85. end
  86. end)
  87.  
  88. -- ===== INFINITE JUMP =====
  89. Movement:CreateSection("Infinite Jump")
  90. Movement:CreateToggle({
  91. Name = "Infinite Jump",
  92. CurrentValue = false,
  93. Callback = function(state)
  94. InfJumpEnabled = state
  95. end,
  96. })
  97.  
  98. UserInputService.JumpRequest:Connect(function()
  99. if InfJumpEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  100. LocalPlayer.Character.Humanoid:ChangeState("Jumping")
  101. end
  102. end)
  103.  
  104. -- ===== SWIM =====
  105. Movement:CreateSection("Swim")
  106. Movement:CreateToggle({
  107. Name = "Swim Anywhere",
  108. CurrentValue = false,
  109. Callback = function(state)
  110. SwimEnabled = state
  111. if SwimEnabled and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  112. LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  113. end
  114. end,
  115. })
  116.  
  117. -- ===== MISC =====
  118. Misc:CreateButton({
  119. Name = "Respawn",
  120. Callback = function()
  121. LocalPlayer:LoadCharacter()
  122. end,
  123. })
  124.  
  125. Misc:CreateSlider({
  126. Name = "WalkSpeed",
  127. Range = {16, 200},
  128. Increment = 1,
  129. CurrentValue = 16,
  130. Callback = function(val)
  131. if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  132. LocalPlayer.Character.Humanoid.WalkSpeed = val
  133. end
  134. end,
  135. })
  136.  
  137. Misc:CreateSlider({
  138. Name = "JumpPower",
  139. Range = {50, 500},
  140. Increment = 5,
  141. CurrentValue = 50,
  142. Callback = function(val)
  143. if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
  144. LocalPlayer.Character.Humanoid.JumpPower = val
  145. end
  146. end,
  147. })
  148.  
  149. -- Keybind to toggle UI
  150. Main:CreateKeybind({
  151. Name = "Toggle UI",
  152. CurrentKeybind = "RightControl",
  153. HoldToInteract = false,
  154. Callback = function() Rayfield:Toggle() end,
  155. })
Advertisement
Add Comment
Please, Sign In to add comment