Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --A chinese translation gui lol
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- LocalScript0 = Instance.new("LocalScript")
- Frame1 = Instance.new("Frame")
- TextLabel2 = Instance.new("TextLabel")
- TextBox3 = Instance.new("TextBox")
- TextButton4 = Instance.new("TextButton")
- TextButton5 = Instance.new("TextButton")
- Script6 = Instance.new("Script")
- Script7 = Instance.new("Script")
- ScreenGui8 = Instance.new("ScreenGui")
- Frame9 = Instance.new("Frame")
- TextLabel10 = Instance.new("TextLabel")
- TextBox11 = Instance.new("TextBox")
- TextButton12 = Instance.new("TextButton")
- LocalScript13 = Instance.new("LocalScript")
- TextButton14 = Instance.new("TextButton")
- Script15 = Instance.new("Script")
- Script16 = Instance.new("Script")
- LocalScript13.Parent = ScreenGui8
- table.insert(cors,sandbox(LocalScript13,function()
- --Translation >这是我正在研究的一个项目
- function clicked()
- text = script.Parent.Frame.TextBox.Text
- if text == "This is a project that i was working on" then
- for i = 1,39 do
- wait()
- script.Parent.Frame.TextLabel.Text = string.sub("This is a project that i was working on",1,i)
- end
- wait(6)
- for n = 1,70 do
- wait(0.001)
- script.Parent.Frame.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.001
- script.Parent.Frame.TextBox.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextButton.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextBox.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextButton.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextLabel.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextLabel.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- end
- script.Parent:Destroy()
- end
- end
- while true do
- wait(0.5)
- players = game.Players.LocalPlayer
- char = players.Character
- name = players.Name
- if name == "Salvo_Starly" or "Animescapetower" then
- script.Parent.Enabled = true
- script.Parent.Frame.TextButton.MouseButton1Click:Connect(clicked)
- end
- end
- end))
- Frame9.Parent = ScreenGui8
- Frame9.Size = UDim2.new(0, 7000, 0, 100)
- Frame9.Visible = false
- Frame9.BackgroundColor3 = Color3.new(0, 0.854902, 0.854902)
- TextLabel10.Parent = Frame9
- TextLabel10.Size = UDim2.new(0, 2000, 0, 50)
- TextLabel10.Text = "Translation >这是我正在研究的一个项目"
- TextLabel10.BackgroundColor3 = Color3.new(0, 1, 1)
- TextLabel10.BorderSizePixel = 0
- TextLabel10.Font = Enum.Font.SourceSans
- TextLabel10.FontSize = Enum.FontSize.Size14
- TextLabel10.TextScaled = true
- TextLabel10.TextWrapped = true
- TextBox11.Parent = Frame9
- TextBox11.Size = UDim2.new(0, 2000, 0, 50)
- TextBox11.Text = ">Add translation here"
- TextBox11.Position = UDim2.new(0, 0, 0, 130)
- TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox11.Font = Enum.Font.SourceSans
- TextBox11.FontSize = Enum.FontSize.Size14
- TextBox11.TextScaled = true
- TextBox11.TextWrapped = true
- TextButton12.Parent = Frame9
- TextButton12.Size = UDim2.new(0, 200, 0, 50)
- TextButton12.Text = "Translate Added"
- TextButton12.Position = UDim2.new(0, 0, 0, 400)
- TextButton12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton12.Font = Enum.Font.SourceSans
- TextButton12.FontSize = Enum.FontSize.Size14
- TextButton14.Parent = ScreenGui8
- TextButton14.Size = UDim2.new(0, 200, 0, 50)
- TextButton14.Text = "Enabled Translation On or Off"
- TextButton14.Position = UDim2.new(0, 0, 0, 460)
- TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton14.Font = Enum.Font.SourceSans
- TextButton14.FontSize = Enum.FontSize.Size14
- Script15.Parent = TextButton14
- table.insert(cors,sandbox(Script15,function()
- function clicked()
- script.Parent.Parent.Frame.Visible = true
- script.Parent.on.Disabled = false
- script.Disabled = true
- end
- script.Parent.MouseButton1Click:Connect(clicked)
- end))
- Script16.Name = "on"
- Script16.Parent = TextButton14
- Script16.Disabled = true
- table.insert(cors,sandbox(Script16,function()
- function clicked()
- script.Parent.Parent.Frame.Visible = false
- script.Parent.Script.Disabled = false
- script.Disabled = true
- end
- script.Parent.MouseButton1Click:Connect(clicked)
- end))
- ScreenGui8.Parent = mas
- ScreenGui8.Enabled = false
- Frame9.Parent = ScreenGui8
- Frame9.Size = UDim2.new(0, 7000, 0, 100)
- Frame9.Visible = false
- Frame9.BackgroundColor3 = Color3.new(0, 0.854902, 0.854902)
- TextLabel10.Parent = Frame9
- TextLabel10.Size = UDim2.new(0, 2000, 0, 50)
- TextLabel10.Text = "Translation >这是我正在研究的一个项目"
- TextLabel10.BackgroundColor3 = Color3.new(0, 1, 1)
- TextLabel10.BorderSizePixel = 0
- TextLabel10.Font = Enum.Font.SourceSans
- TextLabel10.FontSize = Enum.FontSize.Size14
- TextLabel10.TextScaled = true
- TextLabel10.TextWrapped = true
- TextBox11.Parent = Frame9
- TextBox11.Size = UDim2.new(0, 2000, 0, 50)
- TextBox11.Text = ">Add translation here"
- TextBox11.Position = UDim2.new(0, 0, 0, 130)
- TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox11.Font = Enum.Font.SourceSans
- TextBox11.FontSize = Enum.FontSize.Size14
- TextBox11.TextScaled = true
- TextBox11.TextWrapped = true
- TextButton12.Parent = Frame9
- TextButton12.Size = UDim2.new(0, 200, 0, 50)
- TextButton12.Text = "Translate Added"
- TextButton12.Position = UDim2.new(0, 0, 0, 400)
- TextButton12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton12.Font = Enum.Font.SourceSans
- TextButton12.FontSize = Enum.FontSize.Size14
- LocalScript13.Parent = ScreenGui8
- table.insert(cors,sandbox(LocalScript13,function()
- --Translation >这是我正在研究的一个项目
- function clicked()
- text = script.Parent.Frame.TextBox.Text
- if text == "This is a project that i was working on" then
- for i = 1,39 do
- wait()
- script.Parent.Frame.TextLabel.Text = string.sub("This is a project that i was working on",1,i)
- end
- wait(6)
- for n = 1,70 do
- wait(0.001)
- script.Parent.Frame.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.001
- script.Parent.Frame.TextBox.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextButton.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextBox.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextButton.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextLabel.TextTransparency = script.Parent.Frame.BackgroundTransparency
- script.Parent.Frame.TextLabel.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
- end
- script.Parent:Destroy()
- end
- end
- while true do
- wait(0.5)
- players = game.Players.LocalPlayer
- char = players.Character
- name = players.Name
- if name == "Salvo_Starly" or "Animescapetower" then
- script.Parent.Enabled = true
- script.Parent.Frame.TextButton.MouseButton1Click:Connect(clicked)
- end
- end
- end))
- TextButton14.Parent = ScreenGui8
- TextButton14.Size = UDim2.new(0, 200, 0, 50)
- TextButton14.Text = "Enabled Translation On or Off"
- TextButton14.Position = UDim2.new(0, 0, 0, 460)
- TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton14.Font = Enum.Font.SourceSans
- TextButton14.FontSize = Enum.FontSize.Size14
- Script15.Parent = TextButton14
- table.insert(cors,sandbox(Script15,function()
- function clicked()
- script.Parent.Parent.Frame.Visible = true
- script.Parent.on.Disabled = false
- script.Disabled = true
- end
- script.Parent.MouseButton1Click:Connect(clicked)
- end))
- Script16.Name = "on"
- Script16.Parent = TextButton14
- Script16.Disabled = true
- table.insert(cors,sandbox(Script16,function()
- function clicked()
- script.Parent.Parent.Frame.Visible = false
- script.Parent.Script.Disabled = false
- script.Disabled = true
- end
- script.Parent.MouseButton1Click:Connect(clicked)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement