Advertisement
Grantrookie

booga booga craft gui

Jul 8th, 2018
14,643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. -- Objects
  2.  
  3. local BoogaCraftingGui = Instance.new("ScreenGui")
  4. local form1 = Instance.new("Frame")
  5. local bar1 = Instance.new("Frame")
  6. local bar2 = Instance.new("Frame")
  7. local craftbtn = Instance.new("TextButton")
  8. local itemname = Instance.new("TextBox")
  9. local title = Instance.new("TextLabel")
  10.  
  11. -- Properties
  12.  
  13. BoogaCraftingGui.Name = "BoogaCraftingGui"
  14. BoogaCraftingGui.Parent = game.Players.LocalPlayer.PlayerGui
  15.  
  16. form1.Name = "form1"
  17. form1.Parent = BoogaCraftingGui
  18. form1.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.333333)
  19. form1.BorderSizePixel = 0
  20. form1.Position = UDim2.new(0.39852941, 0, 0.312811971, 0)
  21. form1.Size = UDim2.new(0, 275, 0, 225)
  22. form1.Active = true
  23. form1.Draggable = true
  24.  
  25. bar1.Name = "bar1"
  26. bar1.Parent = form1
  27. bar1.BackgroundColor3 = Color3.new(0.807843, 0.537255, 0)
  28. bar1.BorderSizePixel = 0
  29. bar1.Size = UDim2.new(0, 275, 0, 25)
  30.  
  31. bar2.Name = "bar2"
  32. bar2.Parent = form1
  33. bar2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  34. bar2.BorderSizePixel = 0
  35. bar2.Position = UDim2.new(0, 0, 0.060126584, 0)
  36. bar2.Size = UDim2.new(0, 275, 0, 50)
  37.  
  38. craftbtn.Name = "craftbtn"
  39. craftbtn.Parent = form1
  40. craftbtn.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  41. craftbtn.BorderColor3 = Color3.new(0.690196, 0.458824, 0)
  42. craftbtn.BorderSizePixel = 5
  43. craftbtn.Position = UDim2.new(0.13454546, 0, 0.683361471, 0)
  44. craftbtn.Size = UDim2.new(0, 200, 0, 50)
  45. craftbtn.Font = Enum.Font.SciFi
  46. craftbtn.Text = "Craft Item"
  47. craftbtn.TextColor3 = Color3.new(0, 0, 0)
  48. craftbtn.TextSize = 30
  49. craftbtn.TextWrapped = true
  50. craftbtn.MouseButton1Down:connect(function()
  51. local item = itemname.Text
  52. local CI = item
  53. local Event = game:GetService("ReplicatedStorage").Events.CraftItem
  54. Event:FireServer(CI)
  55. end)
  56.  
  57. itemname.Name = "itemname"
  58. itemname.Parent = form1
  59. itemname.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  60. itemname.BorderColor3 = Color3.new(0.737255, 0.490196, 0)
  61. itemname.BorderSizePixel = 5
  62. itemname.Position = UDim2.new(0.13454546, 0, 0.352686346, 0)
  63. itemname.Size = UDim2.new(0, 200, 0, 50)
  64. itemname.Font = Enum.Font.SciFi
  65. itemname.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
  66. itemname.Text = "Item name Here"
  67. itemname.TextColor3 = Color3.new(0, 0, 0)
  68. itemname.TextSize = 20
  69.  
  70. title.Name = "title"
  71. title.Parent = form1
  72. title.BackgroundColor3 = Color3.new(1, 1, 1)
  73. title.BackgroundTransparency = 1
  74. title.Position = UDim2.new(0.0218181815, 0, 0.0844444484, 0)
  75. title.Size = UDim2.new(0, 134, 0, 39)
  76. title.Text = "Item Crafter"
  77. title.TextColor3 = Color3.new(1, 1, 1)
  78. title.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement