Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local BoogaCraftingGui = Instance.new("ScreenGui")
- local form1 = Instance.new("Frame")
- local bar1 = Instance.new("Frame")
- local bar2 = Instance.new("Frame")
- local craftbtn = Instance.new("TextButton")
- local itemname = Instance.new("TextBox")
- local title = Instance.new("TextLabel")
- -- Properties
- BoogaCraftingGui.Name = "BoogaCraftingGui"
- BoogaCraftingGui.Parent = game.Players.LocalPlayer.PlayerGui
- form1.Name = "form1"
- form1.Parent = BoogaCraftingGui
- form1.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.333333)
- form1.BorderSizePixel = 0
- form1.Position = UDim2.new(0.39852941, 0, 0.312811971, 0)
- form1.Size = UDim2.new(0, 275, 0, 225)
- form1.Active = true
- form1.Draggable = true
- bar1.Name = "bar1"
- bar1.Parent = form1
- bar1.BackgroundColor3 = Color3.new(0.807843, 0.537255, 0)
- bar1.BorderSizePixel = 0
- bar1.Size = UDim2.new(0, 275, 0, 25)
- bar2.Name = "bar2"
- bar2.Parent = form1
- bar2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- bar2.BorderSizePixel = 0
- bar2.Position = UDim2.new(0, 0, 0.060126584, 0)
- bar2.Size = UDim2.new(0, 275, 0, 50)
- craftbtn.Name = "craftbtn"
- craftbtn.Parent = form1
- craftbtn.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- craftbtn.BorderColor3 = Color3.new(0.690196, 0.458824, 0)
- craftbtn.BorderSizePixel = 5
- craftbtn.Position = UDim2.new(0.13454546, 0, 0.683361471, 0)
- craftbtn.Size = UDim2.new(0, 200, 0, 50)
- craftbtn.Font = Enum.Font.SciFi
- craftbtn.Text = "Craft Item"
- craftbtn.TextColor3 = Color3.new(0, 0, 0)
- craftbtn.TextSize = 30
- craftbtn.TextWrapped = true
- craftbtn.MouseButton1Down:connect(function()
- local item = itemname.Text
- local CI = item
- local Event = game:GetService("ReplicatedStorage").Events.CraftItem
- Event:FireServer(CI)
- end)
- itemname.Name = "itemname"
- itemname.Parent = form1
- itemname.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- itemname.BorderColor3 = Color3.new(0.737255, 0.490196, 0)
- itemname.BorderSizePixel = 5
- itemname.Position = UDim2.new(0.13454546, 0, 0.352686346, 0)
- itemname.Size = UDim2.new(0, 200, 0, 50)
- itemname.Font = Enum.Font.SciFi
- itemname.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
- itemname.Text = "Item name Here"
- itemname.TextColor3 = Color3.new(0, 0, 0)
- itemname.TextSize = 20
- title.Name = "title"
- title.Parent = form1
- title.BackgroundColor3 = Color3.new(1, 1, 1)
- title.BackgroundTransparency = 1
- title.Position = UDim2.new(0.0218181815, 0, 0.0844444484, 0)
- title.Size = UDim2.new(0, 134, 0, 39)
- title.Text = "Item Crafter"
- title.TextColor3 = Color3.new(1, 1, 1)
- title.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement