Universal Script 馃搶
16.9k Views
4.9k Executions

Sit button

Universal Script 馃搶
Cadhoun
Cadhoun10K executions
2 years 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

Can you sit down now!!

Updates

  1. Script edited: Create script

View Raw
local player = game.Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.ResetOnSpawn = false -- Asegura que la interfaz no se reinicie con el personaje
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Bot贸n "Sit"
local sitButton = Instance.new("TextButton")
sitButton.Size = UDim2.new(0.05, 0, 0.05, 0) -- Tama帽o peque帽o
sitButton.Position = UDim2.new(0.4, 0, 0.4, 0)
sitButton.Text = "Sit"
sitButton.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5) -- Gris
sitButton.BackgroundTransparency = 0.48 -- 48% transparente
sitButton.Parent = screenGui

-- Funci贸n para sentarse
sitButton.MouseButton1Click:Connect(function()
    local character = player.Character or player.CharacterAdded:Wait()
    local humanoid = character:FindFirstChildOfClass("Humanoid")
    if humanoid then
        humanoid.Sit = true -- Hace que el personaje se siente
    end
end)

-- Bot贸n "Remove"
local removeButton = Instance.new("TextButton")
removeButton.Size = UDim2.new(0.05, 0, 0.05, 0) -- Tama帽o peque帽o
removeButton.Position = UDim2.new(0.45, 0, 0.4, 0) -- Junto al bot贸n "Sit"
removeButton.Text = "Remove"
removeButton.BackgroundColor3 = Color3.new(1, 0, 0) -- Rojo
removeButton.BackgroundTransparency = 0.48 -- 48% transparente
removeButton.Parent = screenGui

-- Funci贸n para quitar la interfaz
removeButton.MouseButton1Click:Connect(function()
    screenGui:Destroy() -- Quita la interfaz
end)

-- Hacer que los botones sean movibles
local dragging = false
local dragStart = nil


Comments

2
Log in to join the conversation. Login
maxson987c's profile picture
maxson987c2 years ago(edited)

How do I use this?

2
Cadhoun's profile picture
CadhounUploader8 months ago

@maxson987c you have a button in it

1

More universal scripts

See all
Script hub
120.7k
221.1k
Bumped 7 minutes ago
Key System
Script hub
10.5k
200.3k
Bumped 25 minutes ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.2k
298.5k
Bumped 3 hours ago
Script hub
23.7k
5.2k
Bumped 3 hours ago
Key System
Paid
High Quality聽Offering
Universal Script 馃搶
277
775
Bumped 4 hours ago
Universal Script 馃搶
1.7k
31.0k
Bumped 4 hours ago