-- Place this in **StarterGui** > **ScreenGui** > **TextButton** -- Make sure you create a TextButton in the GUI with some text like "Trip" -- Create the button in the GUI (StarterGui) local button = script.Parent:WaitForChild("TextButton") -- Function to make the character trip local function tripPlayer() -- Get the local player local player = game.Players.LocalPlayer -- Check if player is in the game if player and player.Character then local character = player.Character local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then -- Add a "falling" animation local fallAnim = Instance.new("Animation") fallAnim.AnimationId = "rbxassetid://YOUR_FALL_ANIMATION_ID" -- Replace with your own animation ID local animTrack = humanoid:LoadAnimation(fallAnim) -- Play the animation animTrack:Play() -- Optional: Disable control for a short period to simulate tripping humanoid.PlatformStand = true wait(2) -- Duration of the trip animation humanoid.PlatformStand = false -- Optional: Move the character slightly to simulate a stumble or fall local fallPosition = character.HumanoidRootPart.Position - Vector3.new(0, 5, 0) -- Move the player down character:SetPrimaryPartCFrame(CFrame.new(fallPosition)) end end end -- Connect the button press to the trip function button.MouseButton1Click:Connect(tripPlayer)