Advertisement
FriskyYoutube

Tutorial GUI

Feb 28th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.38 KB | None | 0 0
  1. -- Tutorial GUI
  2. -- Version: 1.0
  3.  
  4. -- Instances:
  5.  
  6. local VexGUI = Instance.new("ScreenGui")
  7. local OpenFrame = Instance.new("Frame")
  8. local Open = Instance.new("TextButton")
  9. local MainFrame = Instance.new("Frame")
  10. local BeautyA = Instance.new("Frame")
  11. local Close = Instance.new("TextButton")
  12. local CreditsButton = Instance.new("TextButton")
  13. local Null = Instance.new("TextButton")
  14. local Null_2 = Instance.new("TextButton")
  15. local Null_3 = Instance.new("TextButton")
  16. local BeautyB = Instance.new("Frame")
  17. local BeautyC = Instance.new("Frame")
  18. local TutorialGUI = Instance.new("TextLabel")
  19. local CreditsFrame = Instance.new("Frame")
  20. local CreditsClose = Instance.new("TextButton")
  21. local Credits = Instance.new("TextLabel")
  22. local CreditsGUIName = Instance.new("TextLabel")
  23.  
  24. --Properties:
  25.  
  26. VexGUI.Name = "VexGUI"
  27. VexGUI.Parent = game.CoreGui
  28. VexGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29.  
  30. OpenFrame.Name = "OpenFrame"
  31. OpenFrame.Parent = VexGUI
  32. OpenFrame.Active = true
  33. OpenFrame.BackgroundColor3 = Color3.fromRGB(174, 33, 255)
  34. OpenFrame.BorderSizePixel = 0
  35. OpenFrame.Position = UDim2.new(0, 0, 0.629126191, 0)
  36. OpenFrame.Size = UDim2.new(0, 138, 0, 31)
  37.  
  38. Open.Name = "Open"
  39. Open.Parent = OpenFrame
  40. Open.BackgroundColor3 = Color3.fromRGB(255, 0, 243)
  41. Open.BorderSizePixel = 0
  42. Open.Position = UDim2.new(0.0579711199, 0, 0.0967741907, 0)
  43. Open.Size = UDim2.new(0, 122, 0, 24)
  44. Open.Font = Enum.Font.Cartoon
  45. Open.Text = "Open"
  46. Open.TextColor3 = Color3.fromRGB(0, 0, 0)
  47. Open.TextScaled = true
  48. Open.TextSize = 14.000
  49. Open.TextWrapped = true
  50. Open.MouseButton1Down:Connect(function()
  51.     OpenFrame.Visible = false
  52.     CreditsFrame.Visible = false
  53.     MainFrame.Visible = true
  54. end)
  55.  
  56. MainFrame.Name = "MainFrame"
  57. MainFrame.Parent = VexGUI
  58. MainFrame.Active = true
  59. MainFrame.BackgroundColor3 = Color3.fromRGB(194, 39, 255)
  60. MainFrame.BorderSizePixel = 0
  61. MainFrame.Position = UDim2.new(0.337914318, 0, 0.0466019362, 0)
  62. MainFrame.Size = UDim2.new(0, 400, 0, 252)
  63. MainFrame.Visible = false
  64. MainFrame.Draggable = true
  65.  
  66. BeautyA.Name = "BeautyA"
  67. BeautyA.Parent = MainFrame
  68. BeautyA.BackgroundColor3 = Color3.fromRGB(226, 0, 255)
  69. BeautyA.BorderSizePixel = 0
  70. BeautyA.Size = UDim2.new(0, 400, 0, 35)
  71.  
  72. Close.Name = "Close"
  73. Close.Parent = MainFrame
  74. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  75. Close.BackgroundTransparency = 1.000
  76. Close.Position = UDim2.new(0.902500033, 0, 0.00793650746, 0)
  77. Close.Size = UDim2.new(0, 39, 0, 33)
  78. Close.Font = Enum.Font.SourceSans
  79. Close.Text = "X"
  80. Close.TextColor3 = Color3.fromRGB(255, 0, 0)
  81. Close.TextScaled = true
  82. Close.TextSize = 14.000
  83. Close.TextWrapped = true
  84. Close.MouseButton1Down:Connect(function()
  85.     MainFrame.Visible = false
  86.     OpenFrame.Visible = true
  87.     CreditsFrame.Visible = false
  88. end)
  89.  
  90. CreditsButton.Name = "CreditsButton"
  91. CreditsButton.Parent = MainFrame
  92. CreditsButton.BackgroundColor3 = Color3.fromRGB(149, 0, 255)
  93. CreditsButton.BorderSizePixel = 0
  94. CreditsButton.Position = UDim2.new(0.282499999, 0, 0.900793672, 0)
  95. CreditsButton.Size = UDim2.new(0, 174, 0, 25)
  96. CreditsButton.Font = Enum.Font.Code
  97. CreditsButton.Text = "Credits"
  98. CreditsButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  99. CreditsButton.TextScaled = true
  100. CreditsButton.TextSize = 14.000
  101. CreditsButton.TextWrapped = true
  102. CreditsButton.MouseButton1Down:Connect(function()
  103.     CreditsFrame.Visible = true
  104.     MainFrame.Visible = true
  105.     OpenFrame.Visible = false
  106. end)
  107.  
  108. Null.Name = "Null"
  109. Null.Parent = MainFrame
  110. Null.BackgroundColor3 = Color3.fromRGB(247, 0, 255)
  111. Null.BorderSizePixel = 0
  112. Null.Position = UDim2.new(0.3125, 0, 0.18650794, 0)
  113. Null.Size = UDim2.new(0, 149, 0, 42)
  114. Null.Font = Enum.Font.SourceSans
  115. Null.Text = "Null"
  116. Null.TextColor3 = Color3.fromRGB(0, 0, 0)
  117. Null.TextScaled = true
  118. Null.TextSize = 14.000
  119. Null.TextWrapped = true
  120.  
  121. Null_2.Name = "Null"
  122. Null_2.Parent = MainFrame
  123. Null_2.BackgroundColor3 = Color3.fromRGB(247, 0, 255)
  124. Null_2.BorderSizePixel = 0
  125. Null_2.Position = UDim2.new(0.3125, 0, 0.416666687, 0)
  126. Null_2.Size = UDim2.new(0, 149, 0, 42)
  127. Null_2.Font = Enum.Font.SourceSans
  128. Null_2.Text = "Null"
  129. Null_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  130. Null_2.TextScaled = true
  131. Null_2.TextSize = 14.000
  132. Null_2.TextWrapped = true
  133.  
  134. Null_3.Name = "Null"
  135. Null_3.Parent = MainFrame
  136. Null_3.BackgroundColor3 = Color3.fromRGB(247, 0, 255)
  137. Null_3.BorderSizePixel = 0
  138. Null_3.Position = UDim2.new(0.314999998, 0, 0.65476191, 0)
  139. Null_3.Size = UDim2.new(0, 149, 0, 42)
  140. Null_3.Font = Enum.Font.SourceSans
  141. Null_3.Text = "Null"
  142. Null_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. Null_3.TextScaled = true
  144. Null_3.TextSize = 14.000
  145. Null_3.TextWrapped = true
  146.  
  147. BeautyB.Name = "BeautyB"
  148. BeautyB.Parent = MainFrame
  149. BeautyB.BackgroundColor3 = Color3.fromRGB(106, 0, 136)
  150. BeautyB.BorderSizePixel = 0
  151. BeautyB.Position = UDim2.new(0, 0, 0.138888896, 0)
  152. BeautyB.Size = UDim2.new(0, 26, 0, 217)
  153.  
  154. BeautyC.Name = "BeautyC"
  155. BeautyC.Parent = MainFrame
  156. BeautyC.BackgroundColor3 = Color3.fromRGB(106, 0, 136)
  157. BeautyC.BorderSizePixel = 0
  158. BeautyC.Position = UDim2.new(0.935000002, 0, 0.138888896, 0)
  159. BeautyC.Size = UDim2.new(0, 26, 0, 217)
  160.  
  161. TutorialGUI.Name = "TutorialGUI"
  162. TutorialGUI.Parent = MainFrame
  163. TutorialGUI.BackgroundColor3 = Color3.fromRGB(162, 0, 255)
  164. TutorialGUI.BorderSizePixel = 0
  165. TutorialGUI.Position = UDim2.new(0.205000013, 0, 0.00793650839, 0)
  166. TutorialGUI.Size = UDim2.new(0, 235, 0, 33)
  167. TutorialGUI.Font = Enum.Font.Cartoon
  168. TutorialGUI.Text = "Tutorial GUI"
  169. TutorialGUI.TextColor3 = Color3.fromRGB(0, 0, 0)
  170. TutorialGUI.TextScaled = true
  171. TutorialGUI.TextSize = 14.000
  172. TutorialGUI.TextWrapped = true
  173.  
  174. CreditsFrame.Name = "CreditsFrame"
  175. CreditsFrame.Parent = VexGUI
  176. CreditsFrame.Active = true
  177. CreditsFrame.BackgroundColor3 = Color3.fromRGB(255, 0, 221)
  178. CreditsFrame.Position = UDim2.new(0.381568313, 0, 0.588349521, 0)
  179. CreditsFrame.Size = UDim2.new(0, 293, 0, 100)
  180. CreditsFrame.Visible = false
  181. CreditsFrame.Draggable = true
  182.  
  183. CreditsClose.Name = "CreditsClose"
  184. CreditsClose.Parent = CreditsFrame
  185. CreditsClose.BackgroundColor3 = Color3.fromRGB(217, 0, 255)
  186. CreditsClose.BorderSizePixel = 0
  187. CreditsClose.Position = UDim2.new(0.897610903, 0, 0, 0)
  188. CreditsClose.Size = UDim2.new(0, 30, 0, 24)
  189. CreditsClose.Font = Enum.Font.SourceSans
  190. CreditsClose.Text = "X"
  191. CreditsClose.TextColor3 = Color3.fromRGB(255, 0, 0)
  192. CreditsClose.TextScaled = true
  193. CreditsClose.TextSize = 14.000
  194. CreditsClose.TextWrapped = true
  195. CreditsClose.MouseButton1Down:Connect(function()
  196.     MainFrame.Visible = true
  197.     CreditsFrame.Visible = false
  198.     OpenFrame.Visible = false
  199. end)
  200.  
  201. Credits.Name = "Credits"
  202. Credits.Parent = CreditsFrame
  203. Credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  204. Credits.BackgroundTransparency = 1.000
  205. Credits.Position = UDim2.new(0.180887371, 0, 0.25999999, 0)
  206. Credits.Size = UDim2.new(0, 187, 0, 47)
  207. Credits.Font = Enum.Font.SourceSans
  208. Credits.Text = "GUI Made by Frisky"
  209. Credits.TextColor3 = Color3.fromRGB(0, 0, 0)
  210. Credits.TextScaled = true
  211. Credits.TextSize = 14.000
  212. Credits.TextWrapped = true
  213.  
  214. CreditsGUIName.Name = "CreditsGUIName"
  215. CreditsGUIName.Parent = CreditsFrame
  216. CreditsGUIName.BackgroundColor3 = Color3.fromRGB(234, 0, 255)
  217. CreditsGUIName.BorderSizePixel = 0
  218. CreditsGUIName.Position = UDim2.new(0, 0, 0.829999983, 0)
  219. CreditsGUIName.Size = UDim2.new(0, 293, 0, 17)
  220. CreditsGUIName.Font = Enum.Font.Code
  221. CreditsGUIName.Text = "Tutorial GUI"
  222. CreditsGUIName.TextColor3 = Color3.fromRGB(0, 0, 0)
  223. CreditsGUIName.TextScaled = true
  224. CreditsGUIName.TextSize = 14.000
  225. CreditsGUIName.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement