Rammne03

New Script [Backflip/flip] Roblox Game No Key Delta And Xeno Executor Or MOLIBE OR PC

Apr 20th, 2026 (edited)
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.54 KB | None | 0 0
  1. Press Z or X and C
  2. Thank you pc my god
  3. Delta And Xeno Executor
  4.  
  5. local ui_enabled = false -- Set this to true if you're on mobile
  6.  
  7. local FrontflipKey = Enum.KeyCode.Z
  8. local BackflipKey = Enum.KeyCode.X
  9. local AirjumpKey = Enum.KeyCode.C
  10.  
  11. local Players = game:GetService("Players")
  12. local ContextActionService = game:GetService("ContextActionService")
  13. local UserInputService = game:GetService("UserInputService")
  14. local TweenService = game:GetService("TweenService")
  15.  
  16. local localPlayer = Players.LocalPlayer
  17. if not localPlayer then
  18. return
  19. end
  20.  
  21. local h = 0.0174533
  22.  
  23. local function doFrontflip()
  24. local character = localPlayer.Character
  25. if not character then return end
  26. local humanoid = character:FindFirstChildOfClass("Humanoid")
  27. local hrp = character:FindFirstChild("HumanoidRootPart")
  28. if not humanoid or not hrp or humanoid:GetState() == Enum.HumanoidStateType.Dead then return end
  29.  
  30. humanoid:ChangeState("Jumping")
  31. task.wait()
  32. humanoid.Sit = true
  33. for i = 1, 360 do
  34. task.delay(i/720, function()
  35. if humanoid and hrp and humanoid.Parent then
  36. humanoid.Sit = true
  37. hrp.CFrame *= CFrame.Angles(-h, 0, 0)
  38. end
  39. end)
  40. end
  41. task.wait(0.55)
  42. if humanoid and humanoid.Parent then humanoid.Sit = false end
  43. end
  44.  
  45. local function doBackflip()
  46. local character = localPlayer.Character
  47. if not character then return end
  48. local humanoid = character:FindFirstChildOfClass("Humanoid")
  49. local hrp = character:FindFirstChild("HumanoidRootPart")
  50. if not humanoid or not hrp or humanoid:GetState() == Enum.HumanoidStateType.Dead then return end
  51.  
  52. humanoid:ChangeState("Jumping")
  53. task.wait()
  54. humanoid.Sit = true
  55. for i = 1, 360 do
  56. task.delay(i/720, function()
  57. if humanoid and hrp and humanoid.Parent then
  58. humanoid.Sit = true
  59. hrp.CFrame *= CFrame.Angles(h, 0, 0)
  60. end
  61. end)
  62. end
  63. task.wait(0.55)
  64. if humanoid and humanoid.Parent then humanoid.Sit = false end
  65. end
  66.  
  67. local function doAirjump()
  68. local character = localPlayer.Character
  69. if not character then return end
  70. local humanoid = character:FindFirstChildOfClass("Humanoid")
  71. if not humanoid or humanoid:GetState() == Enum.HumanoidStateType.Dead then return end
  72.  
  73. humanoid:ChangeState("Seated")
  74. task.wait()
  75. humanoid:ChangeState("Jumping")
  76. end
  77.  
  78. local function handleFrontflipInput(actionName, inputState, inputObject)
  79. if inputState == Enum.UserInputState.Begin then
  80. task.spawn(doFrontflip)
  81. end
  82. end
  83.  
  84. local function handleBackflipInput(actionName, inputState, inputObject)
  85. if inputState == Enum.UserInputState.Begin then
  86. task.spawn(doBackflip)
  87. end
  88. end
  89.  
  90. local function handleAirjumpInput(actionName, inputState, inputObject)
  91. if inputState == Enum.UserInputState.Begin then
  92. task.spawn(doAirjump)
  93. end
  94. end
  95.  
  96. ContextActionService:BindAction("CustomFrontflipAction", handleFrontflipInput, false, FrontflipKey)
  97. ContextActionService:BindAction("CustomBackflipAction", handleBackflipInput, false, BackflipKey)
  98. ContextActionService:BindAction("CustomAirjumpAction", handleAirjumpInput, false, AirjumpKey)
  99.  
  100. if ui_enabled then
  101. if localPlayer.PlayerGui:FindFirstChild("FlipUI") then
  102. localPlayer.PlayerGui.FlipUI:Destroy()
  103. end
  104.  
  105. local colors = {
  106. base = Color3.fromHex("181825"),
  107. mantle = Color3.fromHex("13131a"),
  108. outline = Color3.fromHex("1e1e2e"),
  109. text = Color3.fromHex("cdd6f4"),
  110. surface0 = Color3.fromHex("313244"),
  111. subtext1 = Color3.fromRGB(186, 194, 222),
  112. overlay2 = Color3.fromRGB(108, 112, 134),
  113. red = Color3.fromRGB(243, 139, 168),
  114. }
  115.  
  116. local isCollapsed = false
  117.  
  118. local screenGui = Instance.new("ScreenGui")
  119. screenGui.Name = "FlipUI"
  120. screenGui.Parent = localPlayer:WaitForChild("PlayerGui")
  121. screenGui.ResetOnSpawn = false
  122. screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  123. screenGui.DisplayOrder = 999999999
  124.  
  125. local mainFrame = Instance.new("Frame")
  126. mainFrame.Name = "MainFrame"
  127. mainFrame.Size = UDim2.new(0, 220, 0, 160)
  128. mainFrame.Position = UDim2.new(0.5, -110, 0.5, -80)
  129. mainFrame.BackgroundColor3 = colors.base
  130. mainFrame.BorderSizePixel = 0
  131. mainFrame.ClipsDescendants = true
  132. mainFrame.Parent = screenGui
  133.  
  134. local mainCorner = Instance.new("UICorner")
  135. mainCorner.CornerRadius = UDim.new(0, 10)
  136. mainCorner.Parent = mainFrame
  137.  
  138. local mainStroke = Instance.new("UIStroke")
  139. mainStroke.Color = colors.outline
  140. mainStroke.Thickness = 2
  141. mainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  142. mainStroke.Parent = mainFrame
  143.  
  144. local titleBarFrame = Instance.new("Frame")
  145. titleBarFrame.Name = "TitleBarFrame"
  146. titleBarFrame.Size = UDim2.new(1, 0, 0, 35)
  147. titleBarFrame.Position = UDim2.new(0, 0, 0, 0)
  148. titleBarFrame.BackgroundColor3 = colors.mantle
  149. titleBarFrame.BorderSizePixel = 0
  150. titleBarFrame.Active = true
  151. titleBarFrame.ClipsDescendants = true
  152. titleBarFrame.Parent = mainFrame
  153.  
  154. local titleBarCorner = Instance.new("UICorner")
  155. titleBarCorner.CornerRadius = UDim.new(0, 10)
  156. titleBarCorner.Parent = titleBarFrame
  157.  
  158. local bottomCornerRectifier = Instance.new("Frame")
  159. bottomCornerRectifier.Name = "BottomCornerRectifier"
  160. bottomCornerRectifier.Parent = titleBarFrame
  161. bottomCornerRectifier.BackgroundColor3 = colors.mantle
  162. bottomCornerRectifier.BorderSizePixel = 0
  163. bottomCornerRectifier.ZIndex = 2
  164. bottomCornerRectifier.Size = UDim2.new(1, 0, 0.5, 0)
  165. bottomCornerRectifier.Position = UDim2.new(0, 0, 0.5, 0)
  166.  
  167. local titleLabel = Instance.new("TextLabel")
  168. titleLabel.Name = "TitleLabel"
  169. titleLabel.Size = UDim2.new(1, -45, 1, 0)
  170. titleLabel.Position = UDim2.new(0, 12, 0, 0)
  171. titleLabel.BackgroundTransparency = 1
  172. titleLabel.Text = "Flip"
  173. titleLabel.TextColor3 = colors.text
  174. titleLabel.Font = Enum.Font.GothamBold
  175. titleLabel.TextSize = 22
  176. titleLabel.TextXAlignment = Enum.TextXAlignment.Left
  177. titleLabel.ZIndex = 3
  178. titleLabel.Parent = titleBarFrame
  179.  
  180. local collapseButton = Instance.new("ImageButton")
  181. collapseButton.Name = "CollapseButton"
  182. collapseButton.Size = UDim2.new(0, 14, 0, 14)
  183. collapseButton.Position = UDim2.new(1, -26, 0.5, -7)
  184. collapseButton.BackgroundTransparency = 1
  185. collapseButton.Image = "rbxassetid://109757326745560"
  186. collapseButton.ImageColor3 = colors.subtext1
  187. collapseButton.ZIndex = 3
  188. collapseButton.Parent = titleBarFrame
  189.  
  190. local newDivider = Instance.new("Frame")
  191. newDivider.Name = "DividerLine"
  192. newDivider.Parent = mainFrame
  193. newDivider.BackgroundColor3 = colors.outline
  194. newDivider.BorderSizePixel = 0
  195. newDivider.Size = UDim2.new(1, 0, 0, 2)
  196. newDivider.Position = UDim2.new(0, 0, 0, 35)
  197. newDivider.ZIndex = 2
  198.  
  199. local buttonContainer = Instance.new("Frame")
  200. buttonContainer.Name = "ButtonContainer"
  201. buttonContainer.Position = UDim2.new(0, 10, 0, 45)
  202. buttonContainer.Size = UDim2.new(1, -20, 0, 105)
  203. buttonContainer.BackgroundTransparency = 1
  204. buttonContainer.Parent = mainFrame
  205.  
  206. local listLayout = Instance.new("UIListLayout")
  207. listLayout.FillDirection = Enum.FillDirection.Vertical
  208. listLayout.SortOrder = Enum.SortOrder.LayoutOrder
  209. listLayout.Padding = UDim.new(0, 8)
  210. listLayout.VerticalAlignment = Enum.VerticalAlignment.Center
  211. listLayout.Parent = buttonContainer
  212.  
  213. local function createButton(name, text, order)
  214. local button = Instance.new("TextButton")
  215. button.Name = name
  216. button.LayoutOrder = order
  217. button.Size = UDim2.new(1, 0, 0, 30)
  218. button.BackgroundColor3 = colors.surface0
  219. button.Text = text
  220. button.TextColor3 = colors.text
  221. button.TextSize = 16
  222. button.Font = Enum.Font.Gotham
  223. button.Parent = buttonContainer
  224.  
  225. local corner = Instance.new("UICorner")
  226. corner.CornerRadius = UDim.new(0, 8)
  227. corner.Parent = button
  228.  
  229. local defaultColor = colors.surface0
  230. local hoverColor = colors.overlay2
  231. local clickFlashColor = Color3.new(hoverColor.R * 0.9, hoverColor.G * 0.9, hoverColor.B * 0.9)
  232.  
  233. local currentButtonTween
  234.  
  235. local function playColorTween(targetColor, duration)
  236. if currentButtonTween then
  237. currentButtonTween:Cancel()
  238. currentButtonTween = nil
  239. end
  240. currentButtonTween = TweenService:Create(button, TweenInfo.new(duration, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = targetColor})
  241. currentButtonTween:Play()
  242. end
  243.  
  244. button.MouseEnter:Connect(function()
  245. if button.BackgroundColor3 ~= hoverColor and button.BackgroundColor3 ~= clickFlashColor then
  246. playColorTween(hoverColor, 0.15)
  247. end
  248. end)
  249.  
  250. button.MouseLeave:Connect(function()
  251. if button.BackgroundColor3 ~= defaultColor and button.BackgroundColor3 ~= clickFlashColor then
  252. playColorTween(defaultColor, 0.15)
  253. end
  254. end)
  255.  
  256. button.MouseButton1Down:Connect(function()
  257. if currentButtonTween then
  258. currentButtonTween:Cancel()
  259. currentButtonTween = nil
  260. end
  261. button.BackgroundColor3 = clickFlashColor
  262. end)
  263.  
  264. button.MouseButton1Up:Connect(function()
  265. task.delay(0.05, function()
  266. playColorTween(defaultColor, 0.2)
  267. end)
  268. end)
  269.  
  270. return button
  271. end
  272.  
  273. local frontflipButton = createButton("FrontflipButton", "Frontflip", 1)
  274. local backflipButton = createButton("BackflipButton", "Backflip", 2)
  275. local airJumpButton = createButton("AirJumpButton", "Air Jump", 3)
  276.  
  277. frontflipButton.MouseButton1Click:Connect(function() task.spawn(doFrontflip) end)
  278. backflipButton.MouseButton1Click:Connect(function() task.spawn(doBackflip) end)
  279. airJumpButton.MouseButton1Click:Connect(function() task.spawn(doAirjump) end)
  280.  
  281. local isDragging = false
  282. local dragStart, startPos
  283.  
  284. titleBarFrame.InputBegan:Connect(function(input)
  285. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  286. isDragging = true
  287. dragStart = input.Position
  288. startPos = mainFrame.AbsolutePosition
  289. end
  290. end)
  291.  
  292. UserInputService.InputChanged:Connect(function(input)
  293. if isDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  294. local delta = input.Position - dragStart
  295. mainFrame.Position = UDim2.fromOffset(startPos.X + delta.X, startPos.Y + delta.Y)
  296. end
  297. end)
  298.  
  299. UserInputService.InputEnded:Connect(function(input)
  300. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  301. isDragging = false
  302. end
  303. end)
  304.  
  305. UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  306. if gameProcessedEvent then return end
  307. if input.KeyCode == Enum.KeyCode.K then
  308. screenGui.Enabled = not screenGui.Enabled
  309. end
  310. end)
  311.  
  312. local function toggleCollapse()
  313. isDragging = false
  314. isCollapsed = not isCollapsed
  315.  
  316. local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  317. local targetSize
  318.  
  319. if isCollapsed then
  320. targetSize = UDim2.new(0, 220, 0, 35)
  321. newDivider.Visible = false
  322. buttonContainer.Visible = false
  323. bottomCornerRectifier.Visible = false
  324. else
  325. targetSize = UDim2.new(0, 220, 0, 160)
  326. newDivider.Visible = true
  327. buttonContainer.Visible = true
  328. bottomCornerRectifier.Visible = true
  329. end
  330.  
  331. TweenService:Create(mainFrame, tweenInfo, {Size = targetSize}):Play()
  332. end
  333.  
  334. collapseButton.MouseButton1Click:Connect(toggleCollapse)
  335.  
  336. collapseButton.MouseEnter:Connect(function()
  337. TweenService:Create(collapseButton, TweenInfo.new(0.2), {ImageColor3 = colors.red}):Play()
  338. end)
  339.  
  340. collapseButton.MouseLeave:Connect(function()
  341. TweenService:Create(collapseButton, TweenInfo.new(0.2), {ImageColor3 = colors.subtext1}):Play()
  342. end)
  343. end
  344.  
  345. print("Flip script loaded.")
Advertisement
Add Comment
Please, Sign In to add comment