
Key RequiredUniversal

local player = game.Players.LocalPlayer
-- Create GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "BackflipGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")
-- Main frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 220, 0, 130)
frame.Position = UDim2.new(0.4, 0, 0.4, 0)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui
-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
title.Text = "Backflip GUI"
title.TextColor3 = Color3.new(1,1,1)
title.TextScaled = true
title.Parent = frame
-- Button
local button = Instance.new("TextButton")
button.Size = UDim2.new(0.8, 0, 0.4, 0)
button.Position = UDim2.new(0.1, 0, 0.45, 0)
button.Text = "DO BACKFLIP 🤸"
button.TextScaled = true
button.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
button.TextColor3 = Color3.new(1,1,1)
button.Parent = frame
-- Backflip function (your original style)
local function doBackflip()
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
-- Launch (like before)
local bv = Instance.new("BodyVelocity")
bv.Velocity = hrp.CFrame.LookVector * -50 + Vector3.new(0, 80, 0)
bv.MaxForce = Vector3.new(100000, 100000, 100000)
bv.Parent = hrp
-- Spin
local bav = Instance.new("BodyAngularVelocity")
bav.AngularVelocity = Vector3.new(10, 0, 0)
bav.MaxTorque = Vector3.new(100000, 100000, 100000)
bav.Parent = hrp
-- Cleanup
task.wait(0.5)
bv:Destroy()
bav:Destroy()
end
button.MouseButton1Click:Connect(doBackflip)No comments yet for this script.



