Advertisement
Animescapetower

Untitled

Apr 22nd, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.23 KB | None | 0 0
  1. --A chinese translation gui lol
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. LocalScript0 = Instance.new("LocalScript")
  20. Frame1 = Instance.new("Frame")
  21. TextLabel2 = Instance.new("TextLabel")
  22. TextBox3 = Instance.new("TextBox")
  23. TextButton4 = Instance.new("TextButton")
  24. TextButton5 = Instance.new("TextButton")
  25. Script6 = Instance.new("Script")
  26. Script7 = Instance.new("Script")
  27. ScreenGui8 = Instance.new("ScreenGui")
  28. Frame9 = Instance.new("Frame")
  29. TextLabel10 = Instance.new("TextLabel")
  30. TextBox11 = Instance.new("TextBox")
  31. TextButton12 = Instance.new("TextButton")
  32. LocalScript13 = Instance.new("LocalScript")
  33. TextButton14 = Instance.new("TextButton")
  34. Script15 = Instance.new("Script")
  35. Script16 = Instance.new("Script")
  36. LocalScript13.Parent = ScreenGui8
  37. table.insert(cors,sandbox(LocalScript13,function()
  38. --Translation >这是我正在研究的一个项目
  39.  
  40. function clicked()
  41.  
  42. text = script.Parent.Frame.TextBox.Text
  43.  
  44. if text == "This is a project that i was working on" then
  45. for i = 1,39 do
  46. wait()
  47. script.Parent.Frame.TextLabel.Text = string.sub("This is a project that i was working on",1,i)
  48.  
  49. end
  50. wait(6)
  51. for n = 1,70 do
  52. wait(0.001)
  53. script.Parent.Frame.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.001
  54. script.Parent.Frame.TextBox.TextTransparency = script.Parent.Frame.BackgroundTransparency
  55. script.Parent.Frame.TextButton.TextTransparency = script.Parent.Frame.BackgroundTransparency
  56. script.Parent.Frame.TextBox.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  57. script.Parent.Frame.TextButton.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  58. script.Parent.Frame.TextLabel.TextTransparency = script.Parent.Frame.BackgroundTransparency
  59. script.Parent.Frame.TextLabel.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  60. end
  61.  
  62. script.Parent:Destroy()
  63. end
  64.  
  65. end
  66.  
  67.  
  68. while true do
  69.  
  70. wait(0.5)
  71. players = game.Players.LocalPlayer
  72. char = players.Character
  73. name = players.Name
  74.  
  75. if name == "Salvo_Starly" or "Animescapetower" then
  76. script.Parent.Enabled = true
  77.  
  78.  
  79. script.Parent.Frame.TextButton.MouseButton1Click:Connect(clicked)
  80.  
  81. end
  82.  
  83.  
  84. end
  85.  
  86. end))
  87. Frame9.Parent = ScreenGui8
  88. Frame9.Size = UDim2.new(0, 7000, 0, 100)
  89. Frame9.Visible = false
  90. Frame9.BackgroundColor3 = Color3.new(0, 0.854902, 0.854902)
  91. TextLabel10.Parent = Frame9
  92. TextLabel10.Size = UDim2.new(0, 2000, 0, 50)
  93. TextLabel10.Text = "Translation >这是我正在研究的一个项目"
  94. TextLabel10.BackgroundColor3 = Color3.new(0, 1, 1)
  95. TextLabel10.BorderSizePixel = 0
  96. TextLabel10.Font = Enum.Font.SourceSans
  97. TextLabel10.FontSize = Enum.FontSize.Size14
  98. TextLabel10.TextScaled = true
  99. TextLabel10.TextWrapped = true
  100. TextBox11.Parent = Frame9
  101. TextBox11.Size = UDim2.new(0, 2000, 0, 50)
  102. TextBox11.Text = ">Add translation here"
  103. TextBox11.Position = UDim2.new(0, 0, 0, 130)
  104. TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
  105. TextBox11.Font = Enum.Font.SourceSans
  106. TextBox11.FontSize = Enum.FontSize.Size14
  107. TextBox11.TextScaled = true
  108. TextBox11.TextWrapped = true
  109. TextButton12.Parent = Frame9
  110. TextButton12.Size = UDim2.new(0, 200, 0, 50)
  111. TextButton12.Text = "Translate Added"
  112. TextButton12.Position = UDim2.new(0, 0, 0, 400)
  113. TextButton12.BackgroundColor3 = Color3.new(1, 1, 1)
  114. TextButton12.Font = Enum.Font.SourceSans
  115. TextButton12.FontSize = Enum.FontSize.Size14
  116. TextButton14.Parent = ScreenGui8
  117. TextButton14.Size = UDim2.new(0, 200, 0, 50)
  118. TextButton14.Text = "Enabled Translation On or Off"
  119. TextButton14.Position = UDim2.new(0, 0, 0, 460)
  120. TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
  121. TextButton14.Font = Enum.Font.SourceSans
  122. TextButton14.FontSize = Enum.FontSize.Size14
  123. Script15.Parent = TextButton14
  124. table.insert(cors,sandbox(Script15,function()
  125. function clicked()
  126. script.Parent.Parent.Frame.Visible = true
  127. script.Parent.on.Disabled = false
  128. script.Disabled = true
  129. end
  130.  
  131. script.Parent.MouseButton1Click:Connect(clicked)
  132. end))
  133. Script16.Name = "on"
  134. Script16.Parent = TextButton14
  135. Script16.Disabled = true
  136. table.insert(cors,sandbox(Script16,function()
  137. function clicked()
  138. script.Parent.Parent.Frame.Visible = false
  139. script.Parent.Script.Disabled = false
  140. script.Disabled = true
  141. end
  142.  
  143. script.Parent.MouseButton1Click:Connect(clicked)
  144. end))
  145. ScreenGui8.Parent = mas
  146. ScreenGui8.Enabled = false
  147. Frame9.Parent = ScreenGui8
  148. Frame9.Size = UDim2.new(0, 7000, 0, 100)
  149. Frame9.Visible = false
  150. Frame9.BackgroundColor3 = Color3.new(0, 0.854902, 0.854902)
  151. TextLabel10.Parent = Frame9
  152. TextLabel10.Size = UDim2.new(0, 2000, 0, 50)
  153. TextLabel10.Text = "Translation >这是我正在研究的一个项目"
  154. TextLabel10.BackgroundColor3 = Color3.new(0, 1, 1)
  155. TextLabel10.BorderSizePixel = 0
  156. TextLabel10.Font = Enum.Font.SourceSans
  157. TextLabel10.FontSize = Enum.FontSize.Size14
  158. TextLabel10.TextScaled = true
  159. TextLabel10.TextWrapped = true
  160. TextBox11.Parent = Frame9
  161. TextBox11.Size = UDim2.new(0, 2000, 0, 50)
  162. TextBox11.Text = ">Add translation here"
  163. TextBox11.Position = UDim2.new(0, 0, 0, 130)
  164. TextBox11.BackgroundColor3 = Color3.new(1, 1, 1)
  165. TextBox11.Font = Enum.Font.SourceSans
  166. TextBox11.FontSize = Enum.FontSize.Size14
  167. TextBox11.TextScaled = true
  168. TextBox11.TextWrapped = true
  169. TextButton12.Parent = Frame9
  170. TextButton12.Size = UDim2.new(0, 200, 0, 50)
  171. TextButton12.Text = "Translate Added"
  172. TextButton12.Position = UDim2.new(0, 0, 0, 400)
  173. TextButton12.BackgroundColor3 = Color3.new(1, 1, 1)
  174. TextButton12.Font = Enum.Font.SourceSans
  175. TextButton12.FontSize = Enum.FontSize.Size14
  176. LocalScript13.Parent = ScreenGui8
  177. table.insert(cors,sandbox(LocalScript13,function()
  178. --Translation >这是我正在研究的一个项目
  179.  
  180. function clicked()
  181.  
  182. text = script.Parent.Frame.TextBox.Text
  183.  
  184. if text == "This is a project that i was working on" then
  185. for i = 1,39 do
  186. wait()
  187. script.Parent.Frame.TextLabel.Text = string.sub("This is a project that i was working on",1,i)
  188.  
  189. end
  190. wait(6)
  191. for n = 1,70 do
  192. wait(0.001)
  193. script.Parent.Frame.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency + 0.001
  194. script.Parent.Frame.TextBox.TextTransparency = script.Parent.Frame.BackgroundTransparency
  195. script.Parent.Frame.TextButton.TextTransparency = script.Parent.Frame.BackgroundTransparency
  196. script.Parent.Frame.TextBox.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  197. script.Parent.Frame.TextButton.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  198. script.Parent.Frame.TextLabel.TextTransparency = script.Parent.Frame.BackgroundTransparency
  199. script.Parent.Frame.TextLabel.BackgroundTransparency = script.Parent.Frame.BackgroundTransparency
  200. end
  201.  
  202. script.Parent:Destroy()
  203. end
  204.  
  205. end
  206.  
  207.  
  208. while true do
  209.  
  210. wait(0.5)
  211. players = game.Players.LocalPlayer
  212. char = players.Character
  213. name = players.Name
  214.  
  215. if name == "Salvo_Starly" or "Animescapetower" then
  216. script.Parent.Enabled = true
  217.  
  218.  
  219. script.Parent.Frame.TextButton.MouseButton1Click:Connect(clicked)
  220.  
  221. end
  222.  
  223.  
  224. end
  225.  
  226. end))
  227. TextButton14.Parent = ScreenGui8
  228. TextButton14.Size = UDim2.new(0, 200, 0, 50)
  229. TextButton14.Text = "Enabled Translation On or Off"
  230. TextButton14.Position = UDim2.new(0, 0, 0, 460)
  231. TextButton14.BackgroundColor3 = Color3.new(1, 1, 1)
  232. TextButton14.Font = Enum.Font.SourceSans
  233. TextButton14.FontSize = Enum.FontSize.Size14
  234. Script15.Parent = TextButton14
  235. table.insert(cors,sandbox(Script15,function()
  236. function clicked()
  237. script.Parent.Parent.Frame.Visible = true
  238. script.Parent.on.Disabled = false
  239. script.Disabled = true
  240. end
  241.  
  242. script.Parent.MouseButton1Click:Connect(clicked)
  243. end))
  244. Script16.Name = "on"
  245. Script16.Parent = TextButton14
  246. Script16.Disabled = true
  247. table.insert(cors,sandbox(Script16,function()
  248. function clicked()
  249. script.Parent.Parent.Frame.Visible = false
  250. script.Parent.Script.Disabled = false
  251. script.Disabled = true
  252. end
  253.  
  254. script.Parent.MouseButton1Click:Connect(clicked)
  255. end))
  256. for i,v in pairs(mas:GetChildren()) do
  257. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  258. pcall(function() v:MakeJoints() end)
  259. end
  260. mas:Destroy()
  261. for i,v in pairs(cors) do
  262. spawn(function()
  263. pcall(v)
  264. end)
  265. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement