i made a script to have a gui give me an item called 'good build', which is in ReplicatedStorage. `local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent

local textButton = Instance.new("TextButton") textButton.Parent = screenGui textButton.Position = UDim2.new(0, 300, 0, 650) textButton.Size = UDim2.new(0, 150, 0, 100) textButton.BackgroundColor3 = BrickColor.White().Color textButton.Style = 3 textButton.Text = "builder" MouseButton1Click ( ) if not game.Players.theCJarmy7.Backpack:FindFirstChild("good build") then print("Giving "..game.Players.theCJarmy7.Name.." the builder.") good = game.ReplicatedStorage:FindFirstChild("good build"):Clone() good = good build.Parent = game.Players.theCJarmy7.Backpack elseif game.Players.theCJarmy7:FindFirstChild("good build") then print(game.Players.theCJarmy7.Name.." You dont need it.") end```

this is what im trying to use. please help.

2 comments

1

code box please

0

sorry, first post