I made some GUIS, and then I put in a Local Script. I don't know where to start, but here is my code:
local frame = script.Parent
local TextButton = frame.TextButton
TextButton.MouseButton1Click:Connect(function(player)
game.ServerStorage.IronSword.Parent = player.Backpack
end)
Can someone help?

1 comment
prooheckcp I know about remote events, but I want to do it directly, Not though a Remote event/function.