Universal Script 📌
11.3k Views
26 Executions

Message Translator

Universal Script 📌
dMg8uVvzbn0
dMg8uVvzbn0Published 5
5 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

wow

Updates

  1. Script edited: Create script

View Raw
--[[
    Message Translator
    Made by Aim, updated by cli
    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 ''

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 = syn.request({
        Url = url,
        Method = Method,
        Headers = {cookie="CONSENT=YES+"..googlev},
        Body = Body
    })
    
    if res.Body:match('https://consent.google.com/s') then
        print('consent')
        googleConsent(res.Body)
        res = syn.request({
            Url = url,
            Method = "GET",
            Headers = {cookie="CONSENT=YES+"..googlev}
        })


Comments

1
Log in to join the conversation. Login
switch_twice's profile picture
switch_twiceVerified
Verified Badge
Verified User
5 years ago(edited)

this only works on Synapse because of syn.request function check my git for Knrl Version: https://github.com/jaysswag/synapse-x-converted/blob/main/chat-translator.lua

1

More universal scripts

See all
Script hub
164.5k
562.3k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Script hub
3.0k
3.8k
Bumped 3 hours ago
Script hub
261
1.2k
13 hours ago
Key System

Script hub

#9 today

Verified script badgeBlendHub | Easy + Quick

Universal Script 📌
150
81
Approved 6 hours ago
Script hub
160
885
Approved 6 hours ago
Script hub
85
193
Approved 6 hours ago
Universal Script 📌
108
236
Approved 6 hours ago