-- Gui to Lua -- Version: 3.2 -- Instances: local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextBox = Instance.new("TextBox") local UICorner = Instance.new("UICorner") local TextButton = Instance.new("TextButton") local UICorner_2 = Instance.new("UICorner") local TextLabel = Instance.new("TextLabel") local UICorner_3 = Instance.new("UICorner") local UICorner_4 = Instance.new("UICorner") --Properties: ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.618219733, 0, 0.384146333, 0) Frame.Size = UDim2.new(0, -226, 0, 214) TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0) TextBox.BorderSizePixel = 0 TextBox.Position = UDim2.new(0.0646978021, 0, 0.381961852, 0) TextBox.Size = UDim2.new(0, 200, 0, 50) TextBox.ClearTextOnFocus = false TextBox.Font = Enum.Font.SourceSans TextBox.PlaceholderText = "TextHere" TextBox.Text = "" TextBox.TextColor3 = Color3.fromRGB(0, 0, 0) TextBox.TextSize = 14.000 TextBox.TextWrapped = true UICorner.Parent = TextBox TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton.BorderSizePixel = 0 TextButton.Position = UDim2.new(0.0646978021, 0, 0.73979944, 0) TextButton.Size = UDim2.new(0, 200, 0, 50) TextButton.Font = Enum.Font.SourceSans TextButton.Text = "Chat" TextButton.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton.TextSize = 14.000 UICorner_2.Parent = TextButton TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0.0514234677, 0, -0.00148167124, 0) TextLabel.Size = UDim2.new(0, 200, 0, 50) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "ChatVoxSpammer" TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel.TextSize = 14.000 UICorner_3.Parent = TextLabel UICorner_4.Parent = Frame -- Scripts: local function RMMNL_fake_script() -- TextButton.LocalScript local script = Instance.new('LocalScript', TextButton) script.Parent.MouseButton1Click:Connect(function() game.TextChatService.TextChannels.RBXGeneral:SendAsync(script.Parent.Parent:FindFirstChild("TextBox").Text) end) end coroutine.wrap(RMMNL_fake_script)() local function JBEU_fake_script() -- Frame.Smooth GUI Dragging local script = Instance.new('LocalScript', Frame) local UserInputService = game:GetService("UserInputService") local runService = (game:GetService("RunService")); local gui = script.Parent local dragging local dragInput local dragStart local startPos function Lerp(a, b, m) return a + (b - a) * m end; local lastMousePos local lastGoalPos local DRAG_SPEED = (8); -- // The speed of the UI darg. function Update(dt) if not (startPos) then return end; if not (dragging) and (lastGoalPos) then gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED)) return end; local delta = (lastMousePos - UserInputService:GetMouseLocation()) local xGoal = (startPos.X.Offset - delta.X); local yGoal = (startPos.Y.Offset - delta.Y); lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal) gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED)) end; gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position lastMousePos = UserInputService:GetMouseLocation() input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) runService.Heartbeat:Connect(Update) end coroutine.wrap(JBEU_fake_script)()