Advertisement
Mateusz667

Untitled

Apr 3rd, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. --[[
  2. txt: http://www.roblox.com/asset/?id=42330895
  3. file: http://www.roblox.com/asset/?id=42330863
  4. screen: http://www.roblox.com/asset/?id=42339150
  5. robimg: http://www.roblox.com/asset/?id=28914360
  6. ]]--
  7.  
  8. name = "filgi65"
  9. me = game:service("Players")[name]
  10.  
  11. sc = Instance.new("ScreenGui",me.PlayerGui)
  12. sc.Name = "Epic_File_creator"
  13.  
  14. main = Instance.new("Frame",sc)
  15. main.Size = UDim2.new(0.45,0,0.55,0)
  16. main.Position = UDim2.new(0.05,0,0.3,0)
  17. main.BackgroundColor3 = Color3.new(0.6,0.6,0.6)
  18.  
  19. main2 = Instance.new("Frame",main)
  20. main2.Size = UDim2.new(0.3,0,0.8,0)
  21. main2.Position = UDim2.new(0.01,0,0.18,0)
  22. main2.BackgroundColor3 = Color3.new(0.93,0.93,0.93)
  23.  
  24. main3 = Instance.new("Frame",main)
  25. main3.Size = UDim2.new(0.67,0,0.8,0)
  26. main3.Position = UDim2.new(0.32,0,0.18,0)
  27. main3.BackgroundColor3 = Color3.new(0.93,0.93,0.93)
  28.  
  29. path = Instance.new("TextLabel",main)
  30. path.Size = UDim2.new(0.98,0,0.06,0)
  31. path.Position = UDim2.new(0.01,0,0.11,0)
  32. path.BackgroundColor3 = Color3.new(0.93,0.93,0.93)
  33. path.TextXAlignment = "Left"
  34. path.TextColor3 = Color3.new(0,0,0)
  35. path.Font = "Arial"
  36. path.FontSize = "Size14"
  37. path.Name = "ROBLOX://"
  38. path.Text = path.Name
  39.  
  40. topbar = Instance.new("Frame",main)
  41. topbar.Size = UDim2.new(1,0,0.06,0)
  42. topbar.Position = UDim2.new(0,0,-0.01,0)
  43. topbar.BackgroundColor3 = Color3.new(0.1,0.3,0.8)
  44.  
  45. toptext = Instance.new("TextLabel",topbar)
  46. toptext.Text = "xS Productions: My ROBLOX"
  47. toptext.Size = UDim2.new(0.94,0,1,0)
  48. toptext.Position = UDim2.new(0.06,0,0,0)
  49. toptext.BackgroundTransparency = 1
  50. toptext.FontSize = "Size18"
  51. toptext.TextXAlignment = "Left"
  52.  
  53. img = Instance.new("ImageLabel",topbar)
  54. img.Size = UDim2.new(0.05,0,1.05,0)
  55. img.Position = UDim2.new(0.01,0,0,0)
  56. img.Image = "http://www.roblox.com/asset/?id=42339150"
  57. img.BackgroundTransparency = 1
  58.  
  59. robclick = Instance.new("TextButton",main2)
  60. robclick.Text = "ROBLOX"
  61. robclick.Size = UDim2.new(0.45,0,0.04,0)
  62. robclick.Name = robclick.Text
  63. robclick.Position = UDim2.new(0.1,0,0.02,0)
  64. robclick.TextColor3 = Color3.new(0,0,0)
  65. robclick.BorderSizePixel = 0
  66. robclick.TextXAlignment = "Left"
  67. robclick.BackgroundTransparency = 1
  68. robclick.BackgroundColor3 = Color3.new(0.08,0.2,0.7)
  69.  
  70. robimg = Instance.new("ImageLabel",robclick)
  71. robimg.Size = UDim2.new(0.2,0,1,0)
  72. robimg.Position = UDim2.new(-0.2,0,0,0)
  73. robimg.BackgroundTransparency = 1
  74. robimg.Image = "http://www.roblox.com/asset/?id=28914360"
  75.  
  76. robpos = Instance.new("NumberValue",robclick)
  77. robpos.Value = 1
  78. robpos.Name = "Pos"
  79.  
  80. selected = nil
  81.  
  82. function select(gui)
  83. if selected ~= nil or selected == gui then
  84. selected.BackgroundTransparency = 1
  85. selected = nil
  86. else
  87. selected = gui
  88. selected.BackgroundTransparency = 0
  89. end
  90. end
  91.  
  92. function permsel(gui)
  93. if selected ~= nil then
  94. selected.BackgroundTransparency = 1
  95. end
  96. selected = gui
  97. selected.BackgroundTransparency = 0
  98. end
  99.  
  100. function desel(gui)
  101. selected.BackgroundTransparency = 1
  102. selected = nil
  103. end
  104.  
  105. function open(gui,mood)
  106. for _,v in pairs(gui:GetChildren()) do
  107. local ok = v:findFirstChild("Folder")
  108. if ok then
  109. if mood then
  110. v.Visible = false
  111. mood = false
  112. else
  113. v.Visible = true
  114. mood = true
  115. end
  116. end
  117. end
  118. end
  119.  
  120. function edittxt(gui)
  121. end
  122.  
  123. function addtxt(gui, text, mode, pos, mo)
  124. local mod = false
  125. local txt = Instance.new("TextButton",gui)
  126. txt.Size = UDim2.new(1,0,1,0)
  127. txt.Position = UDim2.new(0.3,0,pos.Value,0)
  128. txt.Text = text
  129. txt.BackgroundColor3 = Color3.new(0.08,0.2,0.7)
  130. txt.BackgroundTransparency = 1
  131. txt.Name = text
  132. txt.TextXAlignment = "Left"
  133. local obj = Instance.new("ObjectValue",txt)
  134. obj.Name = "Text"
  135. local numb = Instance.new("NumberValue",txt)
  136. numb.Name = "Pos"
  137. numb.Value = 1
  138. local imm = Instance.new("ImageLabel",txt)
  139. imm.Size = UDim2.new(0.23,0,1.2,0)
  140. imm.Position = UDim2.new(-0.2,0,-0.1,0)
  141. if mode == "Text" then
  142. imm.Image = "http://www.roblox.com/asset/?id=42330895"
  143. obj.Name = "Text"
  144. txt.Visible = false
  145. else
  146. imm.Image = "http://www.roblox.com/asset/?id=42330863"
  147. obj.Name = "Folder"
  148. txt.MouseButton2Down:connect(function()
  149. props(txt,mod)
  150. permsel(txt)
  151. end)
  152. txt.MouseButton1Down:connect(function()
  153. select(txt)
  154. end)
  155. pos.Value = pos.Value + 1
  156. end
  157. imm.BackgroundTransparency = 1
  158. end
  159.  
  160. function addingtxt(gui, mode, pos, mod)
  161. local fram = Instance.new("Frame",main)
  162. fram.Size = UDim2.new(0.5,0,0.4,0)
  163. fram.Position = UDim2.new(0.25,0,0.2,0)
  164. fram.BackgroundColor3 = Color3.new(0.6,0.6,0.6)
  165. local moh = "Text"
  166. local tx = Instance.new("ImageButton",fram)
  167. tx.Size = UDim2.new(0.3,0,0.35,0)
  168. tx.Position = UDim2.new(0.05,0,0.02,0)
  169. tx.BackgroundTransparency = 1
  170. tx.Image = "http://www.roblox.com/asset/?id=42330895"
  171. tx.MouseButton1Down:connect(function()
  172. moh = "Text"
  173. end)
  174. local txf = Instance.new("ImageButton",fram)
  175. txf.Size = UDim2.new(0.3,0,0.35,0)
  176. txf.Position = UDim2.new(0.65,0,0.02,0)
  177. txf.BackgroundTransparency = 1
  178. txf.Image = "http://www.roblox.com/asset/?id=42330863"
  179. txf.MouseButton1Down:connect(function()
  180. moh = "Folder"
  181. end)
  182. local texx = Instance.new("TextBox",fram)
  183. texx.Size = UDim2.new(0.85,0,0.25,0)
  184. texx.Position = UDim2.new(0.07,0,0.35,0)
  185. texx.Text = "Name here"
  186. texx.BackgroundColor3 = Color3.new(0.93,0.93,0.93)
  187. local done = Instance.new("TextButton",fram)
  188. done.Text = "Done"
  189. done.Size = UDim2.new(0.5,0,0.25,0)
  190. done.Position = UDim2.new(0.25,0,0.7,0)
  191. done.BackgroundColor3 = Color3.new(0.7,0.7,0.7)
  192. done.MouseButton1Down:connect(function()
  193. addtxt(gui,texx.Text, moh, pos, mod)
  194. fram:remove()
  195. end)
  196. end
  197.  
  198. function props(gui,pos,mod)
  199. local propmain = Instance.new("Frame",gui)
  200. propmain.Size = UDim2.new(1.3,0,4,0)
  201. propmain.Position = UDim2.new(0.6,0,0.5,0)
  202. propmain.BackgroundTransparency = 1
  203. local ope = Instance.new("TextButton",propmain)
  204. ope.Size = UDim2.new(1,0,0.25,0)
  205. ope.Position = UDim2.new(0,0,0,0)
  206. ope.TextXAlignment = "Left"
  207. ope.Text = "Open"
  208. ope.MouseButton1Down:connect(function()
  209. open(gui,false)
  210. propmain:remove()
  211. desel(gui)
  212. end)
  213. local insert = Instance.new("TextButton",propmain)
  214. insert.Size = UDim2.new(1,0,0.25,0)
  215. insert.Position = UDim2.new(0,0,0.25,0)
  216. insert.TextXAlignment = "Left"
  217. insert.Text = "Insert File"
  218. insert.MouseButton1Down:connect(function()
  219. propmain:remove()
  220. addingtxt(gui,nil,gui.Pos,mod)
  221. end)
  222. local cancel = Instance.new("TextButton",propmain)
  223. cancel.Size = UDim2.new(1,0,0.25,0)
  224. cancel.Position = UDim2.new(0,0,0.5,0)
  225. cancel.TextXAlignment = "Left"
  226. cancel.Text = "Cancel"
  227. cancel.MouseButton1Down:connect(function()
  228. propmain:remove()
  229. end)
  230. end
  231.  
  232. robclick.MouseButton1Down:connect(function()
  233. select(robclick)
  234. end)
  235. robclick.MouseButton2Down:connect(function()
  236. permsel(robclick)
  237. props(robclick)
  238. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement