whats meant to be happening is when you click on a button its meant to change the text in a text box. When ever i press the button i get an error saying "Attempt to index string with 'Text'"
local button = script.Parent
local name = script.Parent.Parent.Parent.Parent.Abilities.Frame.Name
local description = script.Parent.Parent.Parent.Parent.Abilities.Frame.Description
local req = script.Parent.Parent.Parent.Parent.Abilities.Frame.Requirements
function leftClick()
name.Text = "FireBall"
description.Text = "Shoot out a small ball of fire from your palm"
req.Text = "Level - 1"
end
button.MouseButton1Click:Connect(leftClick)

2 comments
still getting the same error
Nvm i got it