Universal Script 📌
68.9k Views
68 Executions

Translator for Roblox

Universal Script 📌
Bi2_BlackSun
Bi2_BlackSun10K executions
2 years 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

It only works with the old chat.

Updates

  1. Script edited: Create script

View Raw
--[[
    Message Translator
    Made by Aim, updated by evn
    Credits to Riptxde for the sending chathook
--]]

if not game['Loaded'] then game['Loaded']:Wait() end; repeat wait(.06) until game:GetService('Players').LocalPlayer ~= nil
local YourLang = "en" -- Language code that the messages are going to be translated to

local googlev = isfile'googlev.txt' and readfile'googlev.txt' or ''
local request = request or syn.request

local function outputHook(fnc)
    return function(...)
        return fnc('[INLINE TRANSLATOR]', ...)
    end
end

local print,warn = outputHook(print), outputHook(warn)

-- // GOOGLE TRANSLATE // --

local translate, getISOCode do
    function googleConsent(Body) -- Because google really said: "Fuck you."
        local args = {}

        for match in Body:gmatch('<input type="hidden" name=".-" value=".-">') do
            local k,v = match:match('<input type="hidden" name="(.-)" value="(.-)">')
            args[k] = v
        end
        googlev = args.v
        writefile('googlev.txt', args.v)
    end

    local function got(url, Method, Body) -- Basic version of https://www.npmjs.com/package/got using synapse's request API for google websites
        Method = Method or "GET"
        
        local res = request({
            Url = url,
            Method = Method,


Comments

3
Log in to join the conversation. Login
ent1ty's profile picture
ent1ty2 years ago(edited)

finally can know if those * arabs are teaming in mm2

3
vxsty's profile picture
vxstyVerified
Verified Badge
Verified User
Hall of Fame2 years ago(edited)

Nice!

2
lkjhgcffo's profile picture
lkjhgcffo2 years ago(edited)

uhm

2

More universal scripts

See all
Script hub
12
0
Approved 3 minutes ago
Universal Script 📌
21
1
Approved 16 minutes ago
Script hub
1.4M
396.2k
Bumped 26 minutes ago
Key System

Script hub

#5 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
24
1
Approved 33 minutes ago