
184 Views
48 Executions
Lol0
Universal Script 📌
AbhisheksptPublished 10
10 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Mq
-- LOCALSCRIPT: Fully Local Roblox-Style Chat
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- ===== CREATE SCREEN GUI =====
local gui = Instance.new("ScreenGui")
gui.Name = "LocalChatGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- ===== CHAT BUTTON (BOTTOM-RIGHT) =====
local chatButton = Instance.new("TextButton")
chatButton.Size = UDim2.new(0,50,0,50)
chatButton.Position = UDim2.new(1,-60,1,-60)
chatButton.AnchorPoint = Vector2.new(0,0)
chatButton.BackgroundColor3 = Color3.fromRGB(40,40,40)
chatButton.TextColor3 = Color3.new(1,1,1)
chatButton.Text = "Chat"
chatButton.TextScaled = true
chatButton.Font = Enum.Font.SourceSansBold
chatButton.BorderSizePixel = 0
chatButton.Parent = gui
-- ===== CHAT FRAME =====
local chatFrame = Instance.new("Frame")
chatFrame.Size = UDim2.new(0,300,0,200)
chatFrame.Position = UDim2.new(1,-310,1,-260)
chatFrame.BackgroundColor3 = Color3.fromRGB(20,20,20)
chatFrame.BorderSizePixel = 0
chatFrame.Visible = false
chatFrame.Parent = gui
-- Scrolling messages
local scrolling = Instance.new("ScrollingFrame")
scrolling.Size = UDim2.new(1,0,1,-30)
scrolling.Position = UDim2.new(0,0,0,0)
scrolling.BackgroundTransparency = 1
scrolling.BorderSizePixel = 0
scrolling.CanvasSize = UDim2.new(0,0,0,0)
scrolling.ScrollBarThickness = 6








ai slop