How to make a Gui Button that gives players items (Roblox Studio)

Опубликовано: 16 Июль 2026
на канале: Martearo
2,612
31

Any Problems? Just comment your problem down with it's error code.

Today We made Gui Button that gives players certain items.
Don't forget to write the name of your tool in the script, Enjoy :D

script:

local Item = game.ReplicatedStorage.ClassicSword
local player = game.Players.LocalPlayer
local Backpack = player.Backpack

script.Parent.MouseButton1Down:Connect(function()
local clone = Item:Clone()
clone.Parent = Backpack
end)