Ok, I need some help, first of all, heres the script:
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.PLO.Text = game.Workspace.Values.One.Value
script.Parent.Parent.PLT.Text = game.Workspace.Values.Two.Value
script.Parent.Parent.PLR.Text = game.Workspace.Values.Three.Value
local number1 = script.Parent.Parent.PLO.Text
local number2 = script.Parent.Parent.PLT.Text
local number3 = script.Parent.Parent.PLR.Text
local num = number1+number2+number3
print(num)
script.Parent.Parent.ValuePL.Value = num
script.Parent.Text = "Wait 5"
wait(1)
script.Parent.Text = "Wait 4"
wait(1)
script.Parent.Parent.COO.Text = game.Workspace.Values.One.Value
script.Parent.Parent.COT.Text = game.Workspace.Values.Two.Value
script.Parent.Parent.COR.Text = game.Workspace.Values.Three.Value
script.Parent.Text = "Wait 3"
wait(1)
script.Parent.Text = "Wait 2"
wait(1)
script.Parent.Text = "Wait 1"
wait(1)
script.Parent.Text = "Roll"
wait(1)
end)
so the line where it says
local number1 = script.Parent.Parent.PLO.Text
local number2 = script.Parent.Parent.PLT.Text
local number3 = script.Parent.Parent.PLR.Text
local num = number1+number2+number3
print(num)
script.Parent.Parent.ValuePL.Value = num
it will print num, but it wont change the value of ValuePL, please help!

3 comments
16-37 is not what i'm working on right now.
Is the script a local script or a regular script?
regular