Advertisement
Animescapetower

Untitled

Apr 19th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.25 KB | None | 0 0
  1.  
  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. ScreenGui0 = Instance.new("ScreenGui")
  20. Script1 = Instance.new("Script")
  21. StringValue2 = Instance.new("StringValue")
  22. LocalScript3 = Instance.new("LocalScript")
  23. TextBox4 = Instance.new("TextBox")
  24. Script5 = Instance.new("Script")
  25. TextButton6 = Instance.new("TextButton")
  26. TextBox7 = Instance.new("TextBox")
  27. Script8 = Instance.new("Script")
  28. TextBox9 = Instance.new("TextBox")
  29. Script10 = Instance.new("Script")
  30. TextButton11 = Instance.new("TextButton")
  31. ScreenGui0.Name = "CommandBar"
  32. ScreenGui0.Parent = mas
  33. Script1.Name = "CommandOperator"
  34. Script1.Parent = ScreenGui0
  35. table.insert(cors,sandbox(Script1,function()
  36. --[[
  37. G'day! Thanks for trying vulture97's CommandBar!
  38. Using this is really simply. Just say "Open Command" to start it up,
  39. and say "Close Command" to close it.
  40. Make sure that you add your name to the access list.
  41. ]]
  42.  
  43. PlayersWithAccess = {"vulture97","LordHyx"}--Add your name to this list.
  44.  
  45. function ActivateCommandBar (message, viewer)
  46.  
  47. if string.sub(string.lower(message),1,12) == "open command" then
  48. Self = script.Parent.Parent.Parent
  49. for Individual = 1,#PlayersWithAccess do
  50. if Self.Name == PlayersWithAccess[Individual] then
  51. script.Parent.Run.Visible = true
  52. script.Parent.Clear.Visible = true
  53. script.Parent.ScriptContent.Visible = true
  54. end
  55. end
  56. end
  57.  
  58. end
  59.  
  60. function DeActivateCommandBar (message, viewer)
  61.  
  62. if string.sub(string.lower(message),1,13) == "close command" then
  63. Self = script.Parent.Parent.Parent
  64. for Individual = 1,#PlayersWithAccess do
  65. if Self.Name == PlayersWithAccess[Individual] then
  66. script.Parent.Run.Visible = false
  67. script.Parent.Clear.Visible = false
  68. script.Parent.ScriptContent.Visible = false
  69.  
  70. end
  71. end
  72. end
  73.  
  74. end
  75.  
  76. function Run ()
  77. text = "Print('FOR A NEW TEXT')"
  78.  
  79. NewScript = Instance.new("Script",game.Workspace)
  80. loadstring(script.Parent.ScriptContent.Text)(NewScript)
  81. wait(0.0001)
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. wait(0.0001)
  90. for i = 1,string.len(text),1 do
  91.  
  92.  
  93. script.Parent.ScriptContent.Text = string.sub(text,1,i)
  94. script.Parent.ScriptContent2.Text = string.sub(text,1,i)
  95. wait(0.1)
  96. end
  97.  
  98. for i = 1,string.len(text),1 do
  99.  
  100. text = "Backspace this text"
  101. script.Parent.ScriptContent.Text = string.sub(text,0.01,i)
  102. script.Parent.ScriptContent2.Text = string.sub(text,0.01,i)
  103. wait(0.1)
  104. end
  105.  
  106. for i = 1,string.len(text),1 do
  107.  
  108. text = "Also change colors "
  109. script.Parent.ScriptContent.Text = string.sub(text,0.01,i)
  110. script.Parent.ScriptContent2.Text = string.sub(text,0.01,i)
  111. wait(0.1)
  112. end
  113.  
  114. for i = 1,string.len(text),1 do
  115.  
  116. text = "by adding numbers "
  117. script.Parent.ScriptContent.Text = string.sub(text,0.01,i)
  118. script.Parent.ScriptContent2.Text = string.sub(text,0.01,i)
  119. wait(0.1)
  120. end
  121. end
  122.  
  123.  
  124. function color()
  125.  
  126. script.Parent.ScriptContent.BackgroundColor3 = Color3.fromRGB(script.Parent.ScriptContent.Text, script.Parent.ScriptContent2.Text, script.Parent.ScriptContent3.Text)
  127. script.Parent.ScriptContent2.BackgroundColor3 = Color3.fromRGB(script.Parent.ScriptContent.Text, script.Parent.ScriptContent2.Text, script.Parent.ScriptContent3.Text)
  128. script.Parent.ScriptContent3.BackgroundColor3 = Color3.fromRGB(script.Parent.ScriptContent.Text, script.Parent.ScriptContent2.Text, script.Parent.ScriptContent3.Text)
  129. end
  130.  
  131. script.Parent.Parent.Parent.Chatted:connect (ActivateCommandBar)
  132. script.Parent.Parent.Parent.Chatted:connect (DeActivateCommandBar)
  133. script.Parent.Run.MouseButton1Click:connect (Run)
  134.  
  135. script.Parent.CCOLORS.MouseButton1Click:connect (color)
  136.  
  137. end))
  138. StringValue2.Name = "PlayersWithAccess"
  139. StringValue2.Parent = Script1
  140. LocalScript3.Parent = StringValue2
  141. table.insert(cors,sandbox(LocalScript3,function()
  142. e = "CommandBar"
  143. function UserGetPlayersWithAccess()
  144. g = game.Players
  145. e = g.LocalPlayer.PlayerGui[e]
  146.  
  147. if e.Name == e.Name then
  148. n = game.Players.Name
  149. val = e.CommandOperator.PlayersWithAccess
  150. val.Value = n
  151. end
  152.  
  153. end
  154. end))
  155. TextBox4.Name = "ScriptContent2"
  156. TextBox4.Parent = ScreenGui0
  157. TextBox4.Transparency = 0.5
  158. TextBox4.Size = UDim2.new(0, 450, 0, 56)
  159. TextBox4.Text = ""
  160. TextBox4.Position = UDim2.new(0, 950, 0, 500)
  161. TextBox4.BackgroundColor3 = Color3.new(1, 1, 1)
  162. TextBox4.BackgroundTransparency = 0.5
  163. TextBox4.BorderColor3 = Color3.new(1, 1, 1)
  164. TextBox4.ClearTextOnFocus = false
  165. TextBox4.MultiLine = true
  166. TextBox4.FontSize = Enum.FontSize.Size12
  167. TextBox4.TextColor3 = Color3.new(1, 1, 1)
  168. TextBox4.TextScaled = true
  169. TextBox4.TextStrokeTransparency = 0
  170. TextBox4.TextWrapped = true
  171. TextBox4.TextXAlignment = Enum.TextXAlignment.Left
  172. Script5.Parent = TextBox4
  173. table.insert(cors,sandbox(Script5,function()
  174.  
  175.  
  176. function clikk()
  177. script.Parent.Text = ""
  178.  
  179. end
  180.  
  181.  
  182. while not true do--Does not lag
  183.  
  184.  
  185.  
  186. if script.Parent.Text == "Print('FOR A NEW TEXT')" then
  187. wait(2)
  188. e = pairs(clikk)
  189.  
  190.  
  191.  
  192.  
  193.  
  194. end
  195.  
  196.  
  197. end
  198.  
  199.  
  200.  
  201.  
  202.  
  203. end))
  204. TextButton6.Name = "Run"
  205. TextButton6.Parent = ScreenGui0
  206. TextButton6.Transparency = 0.5
  207. TextButton6.Size = UDim2.new(0, 70, 0, 20)
  208. TextButton6.Text = "Allow to run hl/"
  209. TextButton6.Position = UDim2.new(0, 75, 0, 500)
  210. TextButton6.BackgroundColor3 = Color3.new(0.00784314, 0.00784314, 0.0117647)
  211. TextButton6.BackgroundTransparency = 0.5
  212. TextButton6.BorderColor3 = Color3.new(1, 1, 1)
  213. TextButton6.FontSize = Enum.FontSize.Size12
  214. TextButton6.TextColor3 = Color3.new(1, 1, 1)
  215. TextButton6.TextScaled = true
  216. TextButton6.TextWrapped = true
  217. TextBox7.Name = "ScriptContent"
  218. TextBox7.Parent = ScreenGui0
  219. TextBox7.Transparency = 0.5
  220. TextBox7.Size = UDim2.new(0, 300, 0, 156)
  221. TextBox7.Text = ""
  222. TextBox7.Position = UDim2.new(0, 150, 0, 600)
  223. TextBox7.BackgroundColor3 = Color3.new(1, 1, 1)
  224. TextBox7.BackgroundTransparency = 0.5
  225. TextBox7.BorderColor3 = Color3.new(1, 1, 1)
  226. TextBox7.ClearTextOnFocus = false
  227. TextBox7.MultiLine = true
  228. TextBox7.FontSize = Enum.FontSize.Size12
  229. TextBox7.TextColor3 = Color3.new(1, 1, 1)
  230. TextBox7.TextScaled = true
  231. TextBox7.TextStrokeTransparency = 0
  232. TextBox7.TextWrapped = true
  233. TextBox7.TextXAlignment = Enum.TextXAlignment.Left
  234. Script8.Parent = TextBox7
  235. table.insert(cors,sandbox(Script8,function()
  236.  
  237.  
  238. function clikk()
  239. script.Parent.Text = ""
  240.  
  241. end
  242.  
  243.  
  244. while not true do--Does not lag
  245.  
  246.  
  247.  
  248. if script.Parent.Text == "Print('FOR A NEW TEXT')" then
  249. wait(2)
  250. e = pairs(clikk)
  251.  
  252.  
  253.  
  254.  
  255.  
  256. end
  257.  
  258.  
  259. end
  260.  
  261.  
  262.  
  263.  
  264.  
  265. end))
  266. TextBox9.Name = "ScriptContent3"
  267. TextBox9.Parent = ScreenGui0
  268. TextBox9.Transparency = 0.5
  269. TextBox9.Size = UDim2.new(0, 450, 0, 56)
  270. TextBox9.Text = ""
  271. TextBox9.Position = UDim2.new(0, 950, 0, 650)
  272. TextBox9.BackgroundColor3 = Color3.new(1, 1, 1)
  273. TextBox9.BackgroundTransparency = 0.5
  274. TextBox9.BorderColor3 = Color3.new(1, 1, 1)
  275. TextBox9.ClearTextOnFocus = false
  276. TextBox9.MultiLine = true
  277. TextBox9.FontSize = Enum.FontSize.Size12
  278. TextBox9.TextColor3 = Color3.new(1, 1, 1)
  279. TextBox9.TextScaled = true
  280. TextBox9.TextStrokeTransparency = 0
  281. TextBox9.TextWrapped = true
  282. TextBox9.TextXAlignment = Enum.TextXAlignment.Left
  283. Script10.Parent = TextBox9
  284. table.insert(cors,sandbox(Script10,function()
  285.  
  286.  
  287. function clikk()
  288. script.Parent.Text = ""
  289.  
  290. end
  291.  
  292.  
  293. while not true do--Does not lag
  294.  
  295.  
  296.  
  297. if script.Parent.Text == "Print('FOR A NEW TEXT')" then
  298. wait(2)
  299. e = pairs(clikk)
  300.  
  301.  
  302.  
  303.  
  304.  
  305. end
  306.  
  307.  
  308. end
  309.  
  310.  
  311.  
  312.  
  313.  
  314. end))
  315. TextButton11.Name = "CCOLORS"
  316. TextButton11.Parent = ScreenGui0
  317. TextButton11.Transparency = 0.5
  318. TextButton11.Size = UDim2.new(0, 70, 0, 20)
  319. TextButton11.Text = "Change colors"
  320. TextButton11.Position = UDim2.new(0, 75, 0, 560)
  321. TextButton11.BackgroundColor3 = Color3.new(0.00784314, 0.00784314, 0.0117647)
  322. TextButton11.BackgroundTransparency = 0.5
  323. TextButton11.BorderColor3 = Color3.new(1, 1, 1)
  324. TextButton11.FontSize = Enum.FontSize.Size12
  325. TextButton11.TextColor3 = Color3.new(1, 1, 1)
  326. TextButton11.TextScaled = true
  327. TextButton11.TextWrapped = true
  328. for i,v in pairs(mas:GetChildren()) do
  329. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  330. pcall(function() v:MakeJoints() end)
  331. end
  332. mas:Destroy()
  333. for i,v in pairs(cors) do
  334. spawn(function()
  335. pcall(v)
  336. end)
  337. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement