T2YAR :
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
-- Ambil referensi GUI
local EmoteMenu = script.Parent
local MainFrame = EmoteMenu.MainFrame
local DanceTab = MainFrame.DanceTab
local PoseTab = MainFrame.PoseTab
local EmoteList = MainFrame.EmoteList
-- Daftar emote dan ID animasinya (kamu ganti ID ini dengan animasi yang kamu punya)
local Emotes = {
Dance = {
["Soda Pop"] = "123456789", -- Ganti dengan ID animasi Soda Pop
["Jason Vorhees"] = "987654321", -- Ganti dengan ID animasi Jason Vorhees
["SEIZURE"] = "456789123",
["I WANNA RUN"] = "789123456",
["Basketball Head"] = "321654987",
["Sturdy Dance"] = "654987321",
["Tattoo"] = "987321654",
["MOSH"] = "321987654"
},
Pose = {
-- Tambahkan pose di sini kalau ada
["Pose Gift"] = "123789456"
}
}
-- Fungsi buat mainkan emote
local function PlayEmote(emoteName, type)
local Animator = Humanoid:WaitForChild("Animator")
local Animation = Instance.new("Animation")
Animation.AnimationId = "rbxassetid://" .. Emotes[type][emoteName]
local Track = Animator:LoadAnimation(Animation)
Track:Play()
end
-- Fungsi buat tampilkan daftar emote sesuai tab
local function ShowEmotes(type)
-- Hapus tombol lama
for _, child in pairs(EmoteList:GetChildren()) do
if child:IsA("TextButton") then
child:Destroy()
end
end
-- Tambahkan tombol emote baru
for name, id in pairs(Emotes[type]) do
local Button = Instance.new("TextButton")
Button.Name = name
Button.Text = name
Button.Size = UDim2.new(1, -20, 0, 40)
Button.Position = UDim2.new(0, 10, 0, (#EmoteList:GetChildren() * 45))
Button.Parent = EmoteList
-- Event klik tombol
Button.MouseButton1Click:Connect(function()
PlayEmote(name, type)
end)
end
end
-- Event klik tab
DanceTab.MouseButton1Click:Connect(function()
ShowEmotes("Dance")
end)
PoseTab.MouseButton1Click:Connect(function()
ShowEmotes("Pose")
end)
-- Ta
2026-03-10 08:30:09