Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.91 KB | None | 0 0
  1. -- DandiPradana#
  2.  
  3. local BoogaCraft = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local FrameDrag = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local itemname = Instance.new("TextBox")
  8. local buy = Instance.new("TextButton")
  9. local help = Instance.new("TextButton")
  10. local close = Instance.new("TextButton")
  11. local HelpFrame = Instance.new("Frame")
  12. local FrameDragHelp = Instance.new("Frame")
  13. local credit = Instance.new("TextLabel")
  14. local closehelp = Instance.new("TextButton")
  15. local helptitle = Instance.new("TextLabel")
  16. local helptext = Instance.new("TextLabel")
  17.  
  18. -- Properties
  19.  
  20. BoogaCraft.Name = "BoogaCraft"
  21. BoogaCraft.Parent = game.CoreGui
  22.  
  23. Main.Name = "Main"
  24. Main.Parent = BoogaCraft
  25. Main.Active = true
  26. Main.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  27. Main.BorderColor3 = Color3.new(0, 0, 0)
  28. Main.Position = UDim2.new(0, 304, 0, 135)
  29. Main.Size = UDim2.new(0, 264, 0, 139)
  30. Main.Draggable = true
  31.  
  32. FrameDrag.Name = "FrameDrag"
  33. FrameDrag.Parent = Main
  34. FrameDrag.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  35. FrameDrag.BorderColor3 = Color3.new(0, 0, 0)
  36. FrameDrag.BorderSizePixel = 0
  37. FrameDrag.Size = UDim2.new(0, 264, 0, 35)
  38.  
  39. title.Name = "title"
  40. title.Parent = Main
  41. title.BackgroundColor3 = Color3.new(1, 1, 1)
  42. title.BackgroundTransparency = 1
  43. title.BorderSizePixel = 0
  44. title.Position = UDim2.new(0, 65, 0, 0)
  45. title.Size = UDim2.new(0, 115, 0, 34)
  46. title.Font = Enum.Font.SciFi
  47. title.Text = "Booga Booga Craft MOJO | Onyx"
  48. title.TextColor3 = Color3.new(1, 1, 1)
  49. title.TextSize = 14
  50.  
  51. itemname.Name = "itemname"
  52. itemname.Parent = Main
  53. itemname.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  54. itemname.BorderColor3 = Color3.new(0, 0, 0)
  55. itemname.BorderSizePixel = 3
  56. itemname.Position = UDim2.new(0, 22, 0, 56)
  57. itemname.Size = UDim2.new(0, 200, 0, 28)
  58. itemname.Font = Enum.Font.SciFi
  59. itemname.PlaceholderColor3 = Color3.new(1, 1, 1)
  60. itemname.Text = "Mojo Item Name"
  61. itemname.TextColor3 = Color3.new(1, 1, 1)
  62. itemname.TextSize = 14
  63.  
  64. buy.Name = "buy"
  65. buy.Parent = Main
  66. buy.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  67. buy.BorderSizePixel = 0
  68. buy.Position = UDim2.new(0, 20, 0, 93)
  69. buy.Size = UDim2.new(0, 229, 0, 29)
  70. buy.Font = Enum.Font.SciFi
  71. buy.Text = "Craft"
  72. buy.TextColor3 = Color3.new(1, 1, 1)
  73. buy.TextSize = 14
  74.  
  75. help.Name = "help"
  76. help.Parent = Main
  77. help.BackgroundColor3 = Color3.new(1, 1, 1)
  78. help.BackgroundTransparency = 1
  79. help.BorderSizePixel = 0
  80. help.Position = UDim2.new(0, 226, 0, 56)
  81. help.Size = UDim2.new(0, 38, 0, 26)
  82. help.Font = Enum.Font.SciFi
  83. help.Text = "?"
  84. help.TextColor3 = Color3.new(1, 1, 0)
  85. help.TextSize = 20
  86. help.TextStrokeTransparency = 0
  87. help.TextWrapped = true
  88.  
  89. close.Name = "close"
  90. close.Parent = Main
  91. close.BackgroundColor3 = Color3.new(1, 1, 1)
  92. close.BackgroundTransparency = 1
  93. close.BorderSizePixel = 0
  94. close.Position = UDim2.new(0, 228, 0, 0)
  95. close.Size = UDim2.new(0, 36, 0, 33)
  96. close.Font = Enum.Font.SciFi
  97. close.Text = "X"
  98. close.TextColor3 = Color3.new(1, 0, 0)
  99. close.TextSize = 14
  100. close.TextStrokeTransparency = 0
  101.  
  102. HelpFrame.Name = "HelpFrame"
  103. HelpFrame.Parent = BoogaCraft
  104. HelpFrame.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  105. HelpFrame.BorderColor3 = Color3.new(0, 0, 0)
  106. HelpFrame.Position = UDim2.new(0, 585, 0, 134)
  107. HelpFrame.Size = UDim2.new(0, 163, 0, 140)
  108. HelpFrame.Visible = false
  109. HelpFrame.Active = true
  110. HelpFrame.Draggable = true
  111.  
  112. FrameDragHelp.Name = "FrameDragHelp"
  113. FrameDragHelp.Parent = HelpFrame
  114. FrameDragHelp.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  115. FrameDragHelp.BorderColor3 = Color3.new(0, 0, 0)
  116. FrameDragHelp.BorderSizePixel = 0
  117. FrameDragHelp.Size = UDim2.new(0, 163, 0, 35)
  118.  
  119. credit.Name = "credit"
  120. credit.Parent = HelpFrame
  121. credit.BackgroundColor3 = Color3.new(1, 1, 1)
  122. credit.BackgroundTransparency = 1
  123. credit.BorderSizePixel = 0
  124. credit.Position = UDim2.new(0, 28, 0, 100)
  125. credit.Size = UDim2.new(0, 108, 0, 40)
  126. credit.Font = Enum.Font.Fantasy
  127. credit.Text = "- DandiPradana"
  128. credit.TextColor3 = Color3.new(1, 1, 1)
  129. credit.TextScaled = true
  130. credit.TextSize = 14
  131. credit.TextStrokeTransparency = 0
  132. credit.TextWrapped = true
  133.  
  134. closehelp.Name = "closehelp"
  135. closehelp.Parent = HelpFrame
  136. closehelp.BackgroundColor3 = Color3.new(1, 1, 1)
  137. closehelp.BackgroundTransparency = 1
  138. closehelp.BorderSizePixel = 0
  139. closehelp.Position = UDim2.new(0, 125, 0, 0)
  140. closehelp.Size = UDim2.new(0, 38, 0, 37)
  141. closehelp.Font = Enum.Font.SciFi
  142. closehelp.Text = "X"
  143. closehelp.TextColor3 = Color3.new(1, 0, 0)
  144. closehelp.TextSize = 14
  145. closehelp.TextStrokeTransparency = 0
  146. closehelp.TextWrapped = true
  147.  
  148. helptitle.Name = "helptitle"
  149. helptitle.Parent = HelpFrame
  150. helptitle.BackgroundColor3 = Color3.new(1, 1, 1)
  151. helptitle.BackgroundTransparency = 1
  152. helptitle.BorderSizePixel = 0
  153. helptitle.Position = UDim2.new(0, 32, 0, 0)
  154. helptitle.Size = UDim2.new(0, 94, 0, 32)
  155. helptitle.Font = Enum.Font.SciFi
  156. helptitle.Text = "Help"
  157. helptitle.TextColor3 = Color3.new(1, 1, 1)
  158. helptitle.TextSize = 14
  159.  
  160. helptext.Name = "helptext"
  161. helptext.Parent = HelpFrame
  162. helptext.BackgroundColor3 = Color3.new(1, 1, 1)
  163. helptext.BackgroundTransparency = 1
  164. helptext.BorderSizePixel = 0
  165. helptext.Position = UDim2.new(0, 0, 0, 45)
  166. helptext.Size = UDim2.new(0, 163, 0, 55)
  167. helptext.Font = Enum.Font.Fantasy
  168. helptext.Text = "You Need a lot Gold bar & Crystal, you cant craft without gold bar / crystal"
  169. helptext.TextColor3 = Color3.new(1, 1, 1)
  170. helptext.TextScaled = true
  171. helptext.TextSize = 14
  172. helptext.TextStrokeTransparency = 0
  173. helptext.TextWrapped = true
  174.  
  175. buy.MouseButton1Down:connect(function()
  176. local Item = itemname.Text
  177. local Event = game:GetService("ReplicatedStorage").Events.CraftItem
  178. Event:FireServer(Item)
  179. end)
  180.  
  181. close.MouseButton1Down:connect(function()
  182. BoogaCraft:Destroy()
  183. end)
  184.  
  185. help.MouseButton1Down:connect(function()
  186. HelpFrame.Visible = true
  187. end)
  188.  
  189. closehelp.MouseButton1Down:connect(function()
  190. HelpFrame.Visible = false
  191. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement