-- Place this script in StarterPlayerScripts or StarterGui as a LocalScript --[[ eWare UI Script Creates a sleek UI menu with a button to execute the specified code. ]] -- Services local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") -- Player objects local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "eWareGui" screenGui.ResetOnSpawn = false -- Keep UI open after respawn screenGui.Parent = playerGui -- Create Main Frame (The draggable window) local mainFrame = Instance.new("Frame") mainFrame.Name = "eWareMenu" mainFrame.Size = UDim2.new(0, 300, 0, 150) -- Size (width, height) in pixels mainFrame.Position = UDim2.new(0.5, -150, 0.5, -75) -- Center the frame initially mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 45) -- Dark background mainFrame.BorderColor3 = Color3.fromRGB(85, 85, 105) -- Slightly lighter border mainFrame.BorderSizePixel = 1 mainFrame.Active = true -- Allows dragging mainFrame.Draggable = true -- Make the frame draggable mainFrame.Parent = screenGui -- Add rounded corners (requires UICorner object) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = mainFrame -- Create Title Label local titleLabel = Instance.new("TextLabel") titleLabel.Name = "Title" titleLabel.Size = UDim2.new(1, 0, 0, 30) -- Full width, 30 pixels height titleLabel.Position = UDim2.new(0, 0, 0, 0) -- Top of the frame titleLabel.BackgroundColor3 = Color3.fromRGB(45, 45, 55) -- Slightly different header background titleLabel.BorderSizePixel = 0 titleLabel.Text = "eWare" titleLabel.Font = Enum.Font.GothamSemibold -- Modern font titleLabel.TextColor3 = Color3.fromRGB(240, 240, 240) -- White text titleLabel.TextSize = 18 titleLabel.Parent = mainFrame -- Add corner radius to title separately if needed or adjust mainFrame corner local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 8) titleCorner.Parent = titleLabel -- Apply only to top corners if desired (requires masking/clipsdescendants) -- For simplicity, letting the frame's corner apply is often sufficient. -- Create "Break Game" Button local breakButton = Instance.new("TextButton") breakButton.Name = "BreakGameButton" breakButton.Size = UDim2.new(0, 120, 0, 40) -- Button size breakButton.Position = UDim2.new(0.5, -60, 0.5, -5) -- Position below title, centered horizontally breakButton.BackgroundColor3 = Color3.fromRGB(60, 60, 75) -- Button color breakButton.BorderColor3 = Color3.fromRGB(100, 100, 120) breakButton.BorderSizePixel = 1 breakButton.Text = "Break Game" breakButton.Font = Enum.Font.Gotham breakButton.TextColor3 = Color3.fromRGB(230, 230, 230) -- Light text breakButton.TextSize = 16 breakButton.Parent = mainFrame -- Add rounded corners to the button local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 6) buttonCorner.Parent = breakButton -- Hover Effect for Button breakButton.MouseEnter:Connect(function() breakButton.BackgroundColor3 = Color3.fromRGB(75, 75, 90) -- Lighten on hover end) breakButton.MouseLeave:Connect(function() breakButton.BackgroundColor3 = Color3.fromRGB(60, 60, 75) -- Return to normal color end) -- Button Click Action breakButton.MouseButton1Click:Connect(function() print("Break Game button clicked - attempting to execute code...") -- Execute the provided code (use pcall for safety, though not strictly required by prompt) local success, err = pcall(function() --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] local args = {"e"} -- Make sure the path to the RemoteEvent is correct for the target game local remoteEvent = ReplicatedStorage:WaitForChild("RemoteObjects", 10):WaitForChild("AnswerEvent", 10) -- Added timeouts if not remoteEvent then warn("eWare: Could not find RemoteObjects or AnswerEvent in ReplicatedStorage.") return -- Stop if the event isn't found end if remoteEvent:IsA("RemoteEvent") then print("eWare: Found AnswerEvent. Starting loop...") while true do -- Repeats indefinitely (as per the first code block provided) remoteEvent:FireServer(unpack(args)) wait(1) -- Waits for 1 second before repeating. Adjust as needed. -- Consider adding a condition to break this loop if needed, otherwise it runs forever end else warn("eWare: Found object named AnswerEvent, but it is not a RemoteEvent.") end end) if not success then warn("eWare: COULD NOT BREAK GAME (this should NOT happen, join the discord if it does https://discord.gg/vduJSZmDaN:", err) end end) print("eWare loaded.")