-- 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") layDownButton.Name = "LayDownButton" layDownButton.Size = UDim2.new(0, 180, 0, 40) layDownButton.Position = UDim2.new(0, 10, 0, 60) layDownButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100) layDownButton.Text = "Lay Down" layDownButton.TextColor3 = Color3.fromRGB(255, 255, 255) layDownButton.Font = Enum.Font.SourceSans layDownButton.TextSize = 20 layDownButton.Parent = frame -- Lay Down Button Functionality layDownButton.MouseButton1Click:Connect(function() local humanoid = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") if humanoid then local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://5918726674" -- Lay Down Animation local track = humanoid:LoadAnimation(anim) track:Play() end end)