I NEED HELP WITH THIS! I need to let the script know who is getting the sword and giving that person the sword when they press the button! Can someone help me, please?
My current script: (I need help with the "Player" part!)
local Button = script.Parent
local Sword = game.Lighting.ClassicSword
local Player = --Who is getting the sword
Button.MouseButton1Click:Connect(function()
Sword:Clone()
Sword.Name = "Starter Sword"
Sword.CanBeDropped = false
Sword.Parent = Player
end)
