Universal Script 📌
1.3k Views
670 Executions

Grammer Script

Universal Script 📌
sodrimaz331
sodrimaz331100K executions
8 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Auto-Grammar Correction: Automatically fixes slang, typos, and common Turkish/English abbreviations into formal language. Smart Punctuation: Adds appropriate periods, commas, and question marks based on the sentence structure. Live Message Capture: Tracks the last 20 messages sent by other players in the server. Interactive Message List: Click "20 MESAJI ÇEK" to open a scrollable list of captured messages and instantly copy them into your input box. Draggable UI (Movable): You can move the menu anywhere on the screen, even when it is minimized (in "+" mode). Clean Design: Modern, high-performance UI with optimized navigation for TR/EN modes.

View Raw
local H = game:GetService("HttpService")
local P = game:GetService("Players")
local U = game:GetService("UserInputService")
local S = game:GetService("StarterGui")
local R = game:GetService("ReplicatedStorage")
local T = game:GetService("TextChatService")

local p = P.LocalPlayer
local pg = p:WaitForChild("PlayerGui")
local chatHistory = {}
local isMinimized = false

-- 1. CANLI HAFIZA SİSTEMİ
local function addToHistory(msg)
    if not msg or msg == "" or msg:find("V 2.0") then return end
    if chatHistory[1] == msg then return end
    table.insert(chatHistory, 1, msg)
    if #chatHistory > 20 then table.remove(chatHistory, 21) end
    if _G.RefreshListFunc then _G.RefreshListFunc() end
end

pcall(function()
    T.MessageReceived:Connect(function(msg)
        if msg.TextSource and msg.TextSource.UserId ~= p.UserId then
            addToHistory(msg.Text:gsub("<[^>]+>", ""))
        end
    end)
end)

-- 2. GRAMER MOTORU
local dictionary = {
    ["pşam"] = "paşam", ["pşm"] = "paşam", ["hva"] = "hava", ["ck"] = "çok", 
    ["guzl"] = "güzel", ["gzl"] = "güzel", ["bgn"] = "bugün", ["nsl"] = "nasıl",
    ["mrb"] = "merhaba", ["sa"] = "Selamun Aleyküm", ["as"] = "Aleyküm Selam",
    ["tmm"] = "tamam", ["herkez"] = "herkes", ["yalnış"] = "yanlış", ["yanlız"] = "yalnız"
}

local function processGrammar(text)
    local t = text:lower():gsub("^%s*", "")
    if t == "" then return "" end


Comments

1
Log in to join the conversation. Login
lostgirlnosleep's profile picture
lostgirlnosleep4 months ago(edited)

doesnt work dont waste ur time

1