Advertisement
nguyenjimbo

Untitled

Jul 16th, 2015
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. --[[
  2. --//Scripted by AnimeWiki
  3. --//06.29.2015
  4. --//http://www.roblox.com/User.aspx?ID=71436898
  5. ]]
  6.  
  7. local datastore = game:GetService("DataStoreService"):GetDataStore("sb_executer")
  8.  
  9.  
  10.  
  11. local player = owner or game:GetService("Players").LocalPlayer
  12.  
  13. if not datastore:GetAsync(player.Name) then
  14. data = datastore:SetAsync(player.Name,{})
  15. else
  16. data = datastore:GetAsync(player.Name)
  17. end
  18.  
  19. player.Character:WaitForChild("Humanoid")
  20.  
  21.  
  22. local q1 = Instance.new('ScreenGui',player:FindFirstChild("PlayerGui"))
  23. q1.Name = 'ScreenGui'
  24. q1.Archivable = true
  25. local q2 = Instance.new('Frame',q1)
  26. q2.BackgroundColor3 = Color3.new(1, 1, 1)
  27. q2.BackgroundTransparency = 1
  28. q2.BorderColor3 = Color3.new(1, 1, 1)
  29. q2.BorderSizePixel = 1
  30. q2.Name = 'Frame'
  31. q2.Position = UDim2.new(0,0,0.60000002384186,0)
  32. q2.Rotation = 0
  33. q2.Size = UDim2.new(1,0,0.40000000596046,0)
  34. q2.SizeConstraint = Enum.SizeConstraint.RelativeXY
  35. q2.Style = Enum.FrameStyle.Custom
  36. q2.Visible = true
  37. q2.ZIndex = 1
  38. q2.Archivable = true
  39. q2.ClipsDescendants = false
  40. q2.Draggable = false
  41. q2.Active = true
  42. local q3 = Instance.new('ScrollingFrame',q2)
  43. q3.BackgroundColor3 = Color3.new(1, 1, 1)
  44. q3.BackgroundTransparency = 0
  45. q3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  46. q3.BorderSizePixel = 1
  47. q3.Name = 'ScrollingFrame'
  48. q3.Position = UDim2.new(0,0,0.050000000745058,0)
  49. q3.Rotation = 0
  50. q3.Size = UDim2.new(1,0,0.94999998807907,0)
  51. q3.SizeConstraint = Enum.SizeConstraint.RelativeXY
  52. q3.Visible = true
  53. q3.ZIndex = 1
  54. q3.Archivable = true
  55. q3.ClipsDescendants = true
  56. q3.Draggable = false
  57. q3.Active = false
  58. q3.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  59. q3.CanvasPosition = Vector2.new(0, 0)
  60. q3.CanvasSize = UDim2.new(1,0,2,0)
  61. q3.ScrollBarThickness = 15
  62. q3.TopImage = 'rbxasset://textures/blackBkg_square.png'
  63. q3.MidImage = 'rbxasset://textures/blackBkg_square.png'
  64. q3.ScrollingEnabled = true
  65. local q4 = Instance.new('TextBox',q3)
  66. q4.BackgroundColor3 = Color3.new(1, 1, 1)
  67. q4.BackgroundTransparency = 1
  68. q4.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  69. q4.BorderSizePixel = 0
  70. q4.Name = 'TextBox'
  71. q4.Position = UDim2.new(0,65,0,0)
  72. q4.Rotation = 0
  73. q4.Size = UDim2.new(0.91000002622604,0,1,0)
  74. q4.SizeConstraint = Enum.SizeConstraint.RelativeXY
  75. q4.Visible = true
  76. q4.ZIndex = 1
  77. q4.Archivable = true
  78. q4.ClipsDescendants = false
  79. q4.Draggable = false
  80. q4.ClearTextOnFocus = false
  81. q4.MultiLine = true
  82. q4.Font = Enum.Font.SourceSans
  83. q4.FontSize = Enum.FontSize.Size18
  84. q4.Text = 'Hello world'
  85. q4.TextColor3 = Color3.new(0, 0, 0)
  86. q4.TextScaled = false
  87. q4.TextStrokeColor3 = Color3.new(0, 0, 0)
  88. q4.TextStrokeTransparency = 1
  89. q4.TextTransparency = 0
  90. q4.TextWrapped = true
  91. q4.TextXAlignment = Enum.TextXAlignment.Left
  92. q4.TextYAlignment = Enum.TextYAlignment.Top
  93. q4.Active = true
  94. local q5 = Instance.new('Frame',q3)
  95. q5.BackgroundColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  96. q5.BackgroundTransparency = 0
  97. q5.BorderColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  98. q5.BorderSizePixel = 1
  99. q5.Name = 'First'
  100. q5.Position = UDim2.new(0,0,0,0)
  101. q5.Rotation = 0
  102. q5.Size = UDim2.new(0,18,1,0)
  103. q5.SizeConstraint = Enum.SizeConstraint.RelativeXY
  104. q5.Style = Enum.FrameStyle.Custom
  105. q5.Visible = true
  106. q5.ZIndex = 3
  107. q5.Archivable = true
  108. q5.ClipsDescendants = false
  109. q5.Draggable = false
  110. q5.Active = false
  111. local q6 = Instance.new('Frame',q3)
  112. q6.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  113. q6.BackgroundTransparency = 0
  114. q6.BorderColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  115. q6.BorderSizePixel = 1
  116. q6.Name = 'Frame'
  117. q6.Position = UDim2.new(0,18,0,0)
  118. q6.Rotation = 0
  119. q6.Size = UDim2.new(0,16,1,0)
  120. q6.SizeConstraint = Enum.SizeConstraint.RelativeXY
  121. q6.Style = Enum.FrameStyle.Custom
  122. q6.Visible = true
  123. q6.ZIndex = 2
  124. q6.Archivable = true
  125. q6.ClipsDescendants = false
  126. q6.Draggable = false
  127. q6.Active = false
  128. local q7 = Instance.new('Frame',q3)
  129. q7.BackgroundColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  130. q7.BackgroundTransparency = 0
  131. q7.BorderColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  132. q7.BorderSizePixel = 1
  133. q7.Name = 'Frame'
  134. q7.Position = UDim2.new(0,36,0,0)
  135. q7.Rotation = 0
  136. q7.Size = UDim2.new(0,18,1,0)
  137. q7.SizeConstraint = Enum.SizeConstraint.RelativeXY
  138. q7.Style = Enum.FrameStyle.Custom
  139. q7.Visible = true
  140. q7.ZIndex = 1
  141. q7.Archivable = true
  142. q7.ClipsDescendants = false
  143. q7.Draggable = false
  144. q7.Active = false
  145. local q8 = Instance.new('Frame',q2)
  146. q8.BackgroundColor3 = Color3.new(0.470588, 0.470588, 0.470588)
  147. q8.BackgroundTransparency = 0
  148. q8.BorderColor3 = Color3.new(0.25098, 0.25098, 0.25098)
  149. q8.BorderSizePixel = 1
  150. q8.Name = 'Frame'
  151. q8.Position = UDim2.new(0,0,0,0)
  152. q8.Rotation = 0
  153. q8.Size = UDim2.new(1,0,0.050000000745058,0)
  154. q8.SizeConstraint = Enum.SizeConstraint.RelativeXY
  155. q8.Style = Enum.FrameStyle.Custom
  156. q8.Visible = true
  157. q8.ZIndex = 3
  158. q8.Archivable = true
  159. q8.ClipsDescendants = false
  160. q8.Draggable = false
  161. q8.Active = false
  162. local q9 = Instance.new('TextButton',q8)
  163. q9.BackgroundColor3 = Color3.new(0.215686, 0.592157, 0.0588235)
  164. q9.BackgroundTransparency = 0
  165. q9.BorderColor3 = Color3.new(0.215686, 0.592157, 0.0588235)
  166. q9.BorderSizePixel = 1
  167. q9.Name = 'TextButton'
  168. q9.Position = UDim2.new(0.89999997615814,0,0,0)
  169. q9.Rotation = 0
  170. q9.Size = UDim2.new(0.10000000149012,0,1,0)
  171. q9.SizeConstraint = Enum.SizeConstraint.RelativeXY
  172. q9.Style = Enum.ButtonStyle.Custom
  173. q9.Visible = true
  174. q9.ZIndex = 3
  175. q9.Archivable = true
  176. q9.ClipsDescendants = false
  177. q9.Draggable = false
  178. q9.Font = Enum.Font.SourceSans
  179. q9.FontSize = Enum.FontSize.Size14
  180. q9.Text = 'RUN'
  181. q9.TextColor3 = Color3.new(1, 1, 1)
  182. q9.TextScaled = false
  183. q9.TextStrokeColor3 = Color3.new(0, 0, 0)
  184. q9.TextStrokeTransparency = 1
  185. q9.TextTransparency = 0
  186. q9.TextWrapped = true
  187. q9.TextXAlignment = Enum.TextXAlignment.Center
  188. q9.TextYAlignment = Enum.TextYAlignment.Center
  189. q9.AutoButtonColor = true
  190. q9.Active = true
  191. q9.Modal = false
  192. q9.Selected = false
  193.  
  194.  
  195.  
  196.  
  197. local part = Instance.new("Part", player.Character)
  198. part.FormFactor = "Custom"
  199. part.Size = Vector3.new(26,16,.1)
  200. part.BrickColor = BrickColor.new("Institutional white")
  201. part.Locked = true
  202. part.Anchored = true
  203. part.CFrame = player.Character:FindFirstChild("Torso").CFrame *CFrame.new(0,5,-10) *CFrame.fromEulerAnglesXYZ(math.pi,0,math.pi)
  204. part.BottomSurface = "Smooth"
  205. part.TopSurface = "Smooth"
  206. part.Transparency = 1
  207. part.CanCollide = false
  208.  
  209. local surface = Instance.new("SurfaceGui", part)
  210. surface.CanvasSize = Vector2.new(1920,1080)
  211. surface.Enabled = true
  212. surface.Face = "Front"
  213. local backsurface = surface:Clone()
  214. backsurface.Face = "Back"
  215. backsurface.Parent = part
  216. local bframe = Instance.new("Frame", backsurface)
  217. bframe.BackgroundColor3 = Color3.new(255/255,255/255,255/255)
  218. bframe.BorderColor3 = Color3.new(255/255,255/255,255/255)
  219. bframe.Size = UDim2.new(1,0,1,0)
  220. local frame = q2:Clone()
  221. frame.Parent = surface
  222. frame.Size = UDim2.new(1,0,1,0)
  223. frame.Position = UDim2.new(0,0,0,0)
  224. frame.Frame:remove()
  225. frame.ScrollingFrame.Size = UDim2.new(1,0,1,0)
  226. frame.ScrollingFrame.Position = UDim2.new(0,0,0,0)
  227. frame.ScrollingFrame.TextBox.FontSize = "Size36"
  228. frame.ScrollingFrame.ScrollBarThickness = 0
  229. frame.ScrollingFrame.TextBox.Text = q4.Text
  230.  
  231.  
  232.  
  233. q9.MouseButton1Click:connect(function()
  234. loadstring(q4.Text)()
  235. end)
  236.  
  237. q4.Text = tostring(datastore:GetAsync(player.Name)[1])
  238. frame.ScrollingFrame.TextBox.Text = q4.Text
  239.  
  240. --print(datastore:GetAsync(player.Name)[1])
  241.  
  242.  
  243.  
  244.  
  245. q4.Changed:connect(function(v)
  246. if v == "Text" then
  247. frame.ScrollingFrame.TextBox.Text = q4.Text
  248. end
  249. end)
  250.  
  251. q3.Changed:connect(function(v)
  252. if v == "CanvasPosition" then
  253. frame.ScrollingFrame.CanvasPosition = q3.CanvasPosition
  254. end
  255. end)
  256.  
  257. coroutine.wrap(function()
  258. while wait(5) do
  259. ypcall(function()
  260. datastore:SetAsync(player.Name,{q4.Text})
  261. print("Saving..")
  262. end)
  263. end
  264. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement