-- Gui to Lua -- Version: 3.2 -- Instances: local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextBox = Instance.new("TextBox") local TextButton = Instance.new("TextButton") --Properties: ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.ResetOnSpawn = false Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.344771236, 0, 0.356683791, 0) Frame.Size = UDim2.new(0, 248, 0, 151) TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.fromRGB(100, 100, 100) TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0) TextBox.BorderSizePixel = 0 TextBox.Position = UDim2.new(0.106090672, 0, 0.238027409, 0) TextBox.Size = UDim2.new(0, 194, 0, 41) TextBox.Font = Enum.Font.SourceSans TextBox.Text = "" TextBox.TextColor3 = Color3.fromRGB(0, 0, 0) TextBox.TextSize = 14.000 TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(131, 131, 131) TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton.BorderSizePixel = 0 TextButton.Position = UDim2.new(0.296803623, 0, 0.669421494, 0) TextButton.Size = UDim2.new(0, 97, 0, 33) TextButton.Font = Enum.Font.SourceSans TextButton.Text = "Create Message" TextButton.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton.TextSize = 14.000 -- Scripts: local function APCN_fake_script() -- Frame.LocalScript local script = Instance.new('LocalScript', Frame) -- Put this as a LocalScript inside your GUI local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("MessagetoServer") -- Change these to the correct paths local textBox = script.Parent:WaitForChild("TextBox") local textButton = script.Parent:WaitForChild("TextButton") textButton.MouseButton1Click:Connect(function() local text = textBox.Text if text ~= "" then remoteEvent:FireServer(text) end end) end coroutine.wrap(APCN_fake_script)() local function SVAPJV_fake_script() -- Frame.LocalScript local script = Instance.new('LocalScript', Frame) local frame = script.Parent local UserInputService = game:GetService("UserInputService") local dragging = false local dragStart, startPos local function update(input) local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then update(input) end end) end coroutine.wrap(SVAPJV_fake_script)()