|
| 31 Jan 2016 04:33 PM |
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" textButton.MouseButton1Down:connect(function() script.Parent.MouseButton1Click:connect(function() 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 end) end)
im trying to use this to give me an item called 'good build' which is in replicated storage. any fixes? |
|
|
| Report Abuse |
|
| |
| |