this script isn't doing anything. No errors and nothing in the output.
strength = script.Parent.TextBox
script.Parent.MouseButton1Down:connect(function()
strength.Text = math.random(1,10)
end)
stumped on this...
this script isn't doing anything. No errors and nothing in the output.
strength = script.Parent.TextBox
script.Parent.MouseButton1Down:connect(function()
strength.Text = math.random(1,10)
end)
stumped on this...
Try this one
local Gui = script.Parent
function onClicked()
if script.Parent.Frame.Visible == false then
script.Parent.Frame.Visible = true
script.Parent.Frame.TextLabel.Visible = true
else
script.Parent.Frame.Visible = false
script.Parent.Frame.TextLabel.Visible = false
end
end
Gui.MouseButton1Click:connect(onClicked)
This discussion is preserved as it was. New answers, comments, and votes are closed.