Universal Script 📌
138 Views
4.9k Executions

Trip button

Universal Script 📌
Pancakevrzontiktok
PancakevrzontiktokFirst script
4 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Just a script that show a button to trip and make people laugh

View Raw
local player = game:GetService("Players").LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "TripUI"

-- Mount to PlayerGui. If you are using a specific executor, you might need to change this to game:GetService("CoreGui")
gui.Parent = player:WaitForChild("PlayerGui") 

local tripBtn = Instance.new("TextButton")
tripBtn.Size = UDim2.new(0, 120, 0, 50)
tripBtn.Position = UDim2.new(0.5, -60, 0.8, 0)
tripBtn.Text = "Make Me Trip"
tripBtn.TextScaled = true
tripBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
tripBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
tripBtn.Parent = gui

tripBtn.MouseButton1Click:Connect(function()
    local char = player.Character
    if char then
        local humanoid = char:FindFirstChildOfClass("Humanoid")
        local rootPart = char:FindFirstChild("HumanoidRootPart")
        
        if humanoid and rootPart then
            humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
            rootPart.AssemblyLinearVelocity = rootPart.CFrame.LookVector * 20
        end
    end
end)



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
19
1
21 minutes ago
Key System
Universal Script 📌
4.9k
91.5k
Bumped 3 hours ago
Universal Script 📌
4.9k
3.3k
Bumped 4 hours ago
Script hub
2.7M
829.2k
Bumped 5 hours ago
Key System

Script hub

#1 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
626
977
Bumped 6 hours ago
Universal Script 📌
8.3k
15.6k
Bumped 7 hours ago
Universal Script 📌
1.4k
5.3k
Bumped 7 hours ago