--[[ Oniman Twerk Emote GUI Made by lil0darkie6 Features: - Draggable button - Button text toggles ONIMAN / oniman - Random color cycling while animation plays - Looped/frozen animation - Press "H" to hide/show the GUI ]] -- References local player = game.Players.LocalPlayer local UserInputService = game:GetService("UserInputService") -- Create ScreenGui in PlayerGui local gui = Instance.new("ScreenGui") gui.Name = "OnimanGUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") -- Add credit label local credit = Instance.new("TextLabel", gui) credit.Size = UDim2.new(0, 200, 0, 20) credit.Position = UDim2.new(0, 20, 0, 70) credit.Text = "Made by lil0darkie6" credit.TextColor3 = Color3.new(1, 1, 1) credit.BackgroundTransparency = 1 credit.TextScaled = true -- Button creation local btn = Instance.new("TextButton", gui) btn.Size = UDim2.new(0, 120, 0, 40) btn.Position = UDim2.new(0, 20, 0, 20) btn.Text = "ONIMAN" btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) btn.TextColor3 = Color3.new(1, 1, 1) btn.Draggable = true -- Animation variables local track local animationId = "rbxassetid://81636895937131" -- Safe to change -- Meme colors local colors = { Color3.fromRGB(255, 0, 0), Color3.fromRGB(0, 255, 0), Color3.fromRGB(0, 0, 255), Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 0, 255), Color3.fromRGB(0, 255, 255) } -- Button click: play/stop animation btn.MouseButton1Click:Connect(function() local char = player.Character or player.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") local animator = humanoid:FindFirstChildOfClass("Animator") or Instance.new("Animator", humanoid) if not track or not track.IsPlaying then -- Load & play animation local anim = Instance.new("Animation") anim.AnimationId = animationId track = animator:LoadAnimation(anim) track.Looped = true track.Priority = Enum.AnimationPriority.Action track:Play(0, 99) track:AdjustSpeed(0) -- Toggle button text and colors btn.Text = "ONIMAN" spawn(function() while track and track.IsPlaying do btn.Text = (btn.Text == "ONIMAN") and "oniman" or "ONIMAN" btn.BackgroundColor3 = colors[math.random(1, #colors)] wait(0.3) end -- Reset when stopped btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) btn.Text = "ONIMAN" end) else -- Stop animation track:Stop(0) track:Destroy() track = nil btn.Text = "ONIMAN" btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) end end) -- Hotkey to hide/show GUI (press H) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.H then gui.Enabled = not gui.Enabled end end)