-- Services local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TextChatService = game:GetService("TextChatService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Prevent duplicates local existing = PlayerGui:FindFirstChild("YokaiControlPanel") if existing then existing:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "YokaiControlPanel" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui local isSpamming = false local spamThread = nil -- 1. Intro Screen local IntroFrame = Instance.new("Frame") IntroFrame.Size = UDim2.fromScale(1, 1) IntroFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 12) IntroFrame.ZIndex = 10 IntroFrame.Parent = ScreenGui local IntroLabel = Instance.new("TextLabel") IntroLabel.Size = UDim2.fromScale(0.8, 0.2) IntroLabel.Position = UDim2.fromScale(0.1, 0.4) IntroLabel.BackgroundTransparency = 1 IntroLabel.Text = "SUBSCRIBE TO @YOKAISENPAII" IntroLabel.TextColor3 = Color3.fromRGB(255, 255, 255) IntroLabel.TextScaled = true IntroLabel.Font = Enum.Font.GothamBold IntroLabel.ZIndex = 11 IntroLabel.Parent = IntroFrame task.spawn(function() task.wait(1.5) local fadeInfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) TweenService:Create(IntroFrame, fadeInfo, {BackgroundTransparency = 1}):Play() local fadeText = TweenService:Create(IntroLabel, fadeInfo, {TextTransparency = 1}) fadeText:Play() fadeText.Completed:Connect(function() IntroFrame:Destroy() end) end) -- 2. Toggle Button local ToggleButton = Instance.new("TextButton") ToggleButton.Name = "ToggleButton" ToggleButton.Size = UDim2.fromOffset(50, 50) ToggleButton.Position = UDim2.new(0.03, 0, 0.2, 0) ToggleButton.BackgroundColor3 = Color3.fromRGB(18, 18, 22) ToggleButton.Text = "Y" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.TextSize = 22 ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Active = true ToggleButton.Draggable = true ToggleButton.Parent = ScreenGui local ToggleUICorner = Instance.new("UICorner") ToggleUICorner.CornerRadius = UDim.new(1, 0) ToggleUICorner.Parent = ToggleButton local ToggleStroke = Instance.new("UIStroke") ToggleStroke.Thickness = 2.5 ToggleStroke.Parent = ToggleButton -- 3. Main Panel local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.fromOffset(340, 240) MainFrame.Position = UDim2.new(0.5, -170, 0.5, -120) MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 22) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12) local MainStroke = Instance.new("UIStroke") MainStroke.Thickness = 1 MainStroke.Color = Color3.fromRGB(45, 45, 55) MainStroke.Parent = MainFrame local TitleBar = Instance.new("TextLabel") TitleBar.Size = UDim2.new(1, 0, 0, 45) TitleBar.BackgroundTransparency = 1 TitleBar.Text = " Yokai Control Panel" TitleBar.TextXAlignment = Enum.TextXAlignment.Left TitleBar.TextSize = 18 TitleBar.Font = Enum.Font.GothamBold TitleBar.Parent = MainFrame -- --- CREDITS BUTTON (Top Right) --- local CreditButton = Instance.new("TextButton") CreditButton.Name = "CreditButton" CreditButton.Size = UDim2.fromOffset(75, 26) CreditButton.Position = UDim2.new(1, -83, 0, 9) CreditButton.BackgroundColor3 = Color3.fromRGB(28, 28, 35) CreditButton.Text = "Credits" CreditButton.TextColor3 = Color3.fromRGB(200, 200, 220) CreditButton.Font = Enum.Font.GothamMedium CreditButton.TextSize = 12 CreditButton.Parent = MainFrame Instance.new("UICorner", CreditButton).CornerRadius = UDim.new(0, 6) local CreditStroke = Instance.new("UIStroke") CreditStroke.Thickness = 1 CreditStroke.Color = Color3.fromRGB(45, 45, 55) CreditStroke.Parent = CreditButton -- --- CREDITS MODAL POPUP --- local CreditsFrame = Instance.new("Frame") CreditsFrame.Name = "CreditsFrame" CreditsFrame.Size = UDim2.fromOffset(220, 160) CreditsFrame.Position = UDim2.new(0.5, -110, 0.5, -80) CreditsFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 22) CreditsFrame.BorderSizePixel = 0 CreditsFrame.Visible = false CreditsFrame.ZIndex = 5 CreditsFrame.Parent = ScreenGui Instance.new("UICorner", CreditsFrame).CornerRadius = UDim.new(0, 12) local CreditsModalStroke = Instance.new("UIStroke") CreditsModalStroke.Thickness = 1.5 CreditsModalStroke.Color = Color3.fromRGB(60, 60, 75) CreditsModalStroke.Parent = CreditsFrame -- Circular Profile Picture ImageLabel local ProfileImage = Instance.new("ImageLabel") ProfileImage.Size = UDim2.fromOffset(70, 70) ProfileImage.Position = UDim2.new(0.5, -35, 0.12, 0) ProfileImage.BackgroundColor3 = Color3.fromRGB(28, 28, 35) ProfileImage.ZIndex = 6 ProfileImage.Parent = CreditsFrame local ProfileCorner = Instance.new("UICorner") ProfileCorner.CornerRadius = UDim.new(1, 0) ProfileCorner.Parent = ProfileImage local ProfileStroke = Instance.new("UIStroke") ProfileStroke.Thickness = 2 ProfileStroke.Color = Color3.fromRGB(80, 80, 100) ProfileStroke.Parent = ProfileImage -- RGB Creator Text Label local CreatorLabel = Instance.new("TextLabel") CreatorLabel.Size = UDim2.new(1, 0, 0, 30) CreatorLabel.Position = UDim2.new(0, 0, 0.66, 0) CreatorLabel.BackgroundTransparency = 1 CreatorLabel.Text = "Script Creator - YokaiSenpaii1" CreatorLabel.Font = Enum.Font.GothamBold CreatorLabel.TextSize = 13 CreatorLabel.ZIndex = 6 CreatorLabel.Parent = CreditsFrame -- Fetch avatar image dynamically from username task.spawn(function() local success, userId = pcall(function() return Players:GetUserIdFromNameAsync("YokaiSenpaii1") end) if success and userId then ProfileImage.Image = "rbxthumb://type=AvatarHeadShot&id=" .. userId .. "&w=150&h=150" end end) -- Toggle Credits Popup CreditButton.MouseButton1Click:Connect(function() CreditsFrame.Visible = not CreditsFrame.Visible end) -- --- MAIN UI CONTENT --- local TargetBox = Instance.new("TextBox") TargetBox.Size = UDim2.new(0.88, 0, 0, 42) TargetBox.Position = UDim2.new(0.06, 0, 0.26, 0) TargetBox.PlaceholderText = "Enter Target Name / Username..." TargetBox.Text = "" TargetBox.BackgroundColor3 = Color3.fromRGB(28, 28, 35) TargetBox.TextColor3 = Color3.fromRGB(255, 255, 255) TargetBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 140) TargetBox.Font = Enum.Font.GothamMedium TargetBox.TextSize = 13 TargetBox.ClearTextOnFocus = false TargetBox.Parent = MainFrame Instance.new("UICorner", TargetBox).CornerRadius = UDim.new(0, 8) local BoxStroke = Instance.new("UIStroke") BoxStroke.Thickness = 1 BoxStroke.Color = Color3.fromRGB(45, 45, 55) BoxStroke.Parent = TargetBox local SpamButton = Instance.new("TextButton") SpamButton.Size = UDim2.new(0.88, 0, 0, 45) SpamButton.Position = UDim2.new(0.06, 0, 0.55, 0) SpamButton.Text = "Start Spamming" SpamButton.BackgroundColor3 = Color3.fromRGB(35, 120, 75) SpamButton.TextColor3 = Color3.fromRGB(255, 255, 255) SpamButton.Font = Enum.Font.GothamBold SpamButton.TextSize = 14 SpamButton.Parent = MainFrame Instance.new("UICorner", SpamButton).CornerRadius = UDim.new(0, 8) TargetBox:GetPropertyChangedSignal("Text"):Connect(function() if not isSpamming then local input = TargetBox.Text SpamButton.Text = #input > 0 and ("Start Spamming (" .. input .. ")") or "Start Spamming" end end) -- 4. Chat Handler local function sendChatMessage(msg) if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then local chan = TextChatService.TextChannels:FindFirstChild("RBXGeneral") if chan then chan:SendAsync(msg) end else local sayEvent = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents") and ReplicatedStorage.DefaultChatSystemChatEvents:FindFirstChild("SayMessageRequest") if sayEvent then sayEvent:FireServer(msg, "All") end end end local function getTargetDisplayName(input) if input == "" then return "YokaiSenpaii1" end for _, p in ipairs(Players:GetPlayers()) do if p.Name:lower() == input:lower() or p.DisplayName:lower() == input:lower() then return p.DisplayName end end return input end local function toggleSpam() isSpamming = not isSpamming if isSpamming then SpamButton.Text = "Stop Spamming" SpamButton.BackgroundColor3 = Color3.fromRGB(180, 40, 40) local target = getTargetDisplayName(TargetBox.Text) local z1 = "0_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_0 " local z2 = "0_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00_00 " local templates = { z1 .. target .. " Yokai Tera Papa🥰", z1 .. target .. " CUD💔", z1 .. target .. " Ro Mat 💩🥀", z1 .. target .. " Leave Karde 🤡🥀", z1 .. target .. " RND 💩🥀", z2 .. target .. " TMKX 🥰", z2 .. target .. " Chalte Ban 💩", z2 .. target .. " Attention Chahiye? 🤡", z1 .. target .. " Not Cool 😈🥀" } spamThread = task.spawn(function() local idx = 1 while isSpamming do sendChatMessage(templates[idx]) idx = (idx % #templates) + 1 task.wait(2.5) end end) else if spamThread then task.cancel(spamThread) spamThread = nil end local input = TargetBox.Text SpamButton.Text = #input > 0 and ("Start Spamming (" .. input .. ")") or "Start Spamming" SpamButton.BackgroundColor3 = Color3.fromRGB(35, 120, 75) end end ToggleButton.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) SpamButton.MouseButton1Click:Connect(toggleSpam) -- RGB Loop for Title, Toggle Stroke, and Creator Label local hue = 0 RunService.RenderStepped:Connect(function(dt) hue = (hue + dt * 0.2) % 1 local col = Color3.fromHSV(hue, 0.75, 1) TitleBar.TextColor3 = col ToggleStroke.Color = col CreatorLabel.TextColor3 = col ProfileStroke.Color = col end)