Universal Script 📌
18.3k Views
1.9k Executions

Emote hub

Universal Script 📌
mscript32
mscript32Published 25
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

Idk

Updates

  1. Script edited: Create script

View Raw
-- Create the ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "EmoteHub"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create the Frame
local frame = Instance.new("Frame")
frame.Name = "MainFrame"
frame.Size = UDim2.new(0, 200, 0, 150)
frame.Position = UDim2.new(0.5, -100, 0.5, -75)
frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

-- Create the Sit Button
local sitButton = Instance.new("TextButton")
sitButton.Name = "SitButton"
sitButton.Size = UDim2.new(0, 180, 0, 40)
sitButton.Position = UDim2.new(0, 10, 0, 10)
sitButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
sitButton.Text = "Sit"
sitButton.TextColor3 = Color3.fromRGB(255, 255, 255)
sitButton.Font = Enum.Font.SourceSans
sitButton.TextSize = 20
sitButton.Parent = frame

-- Sit Button Functionality
sitButton.MouseButton1Click:Connect(function()
    local humanoid = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
    if humanoid then
        local anim = Instance.new("Animation")
        anim.AnimationId = "rbxassetid://2506281703" -- Sit Animation
        local track = humanoid:LoadAnimation(anim)
        track:Play()
    end
end)

-- Create the Lay Down Button
local layDownButton = Instance.new("TextButton")


Comments

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

More universal scripts

See all
Universal Script 📌
4.9k
91.6k
Bumped 5 hours ago
Universal Script 📌
5.0k
3.4k
Bumped 6 hours ago
Script hub
2.7M
830.0k
Bumped 7 hours ago
Key System

Script hub

#1 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
660
1.0k
Bumped 8 hours ago
Universal Script 📌
8.4k
15.6k
Bumped 8 hours ago