I have a gui so when you write in it, it puts it onto a brick. This works normally when its on startergui but its for everyone so i made a script which clones it only to my inventory when i press a button.
Gui Script:
a = game.Workspace.part1.SurfaceGui.Frame.TextBox
b = game.Workspace.part1.SurfaceGui.Frame.TextBox2
c = game.Workspace.part1.SurfaceGui.Frame.TextBox3
text1 = script.Parent.Parent.line1
text2 = script.Parent.Parent.line2
text3 = script.Parent.Parent.line3
script.Parent.MouseButton1Click:connect(function()
a.Text = text1.Text
b.Text = text2.Text
c.Text = text3.Text
end)
Clone Script:
function onClicked(playerWhoClicked)
game.ServerStorage.ScreenGui:Clone().Parent = game.Players.littelbigblox.PlayerGui
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
It clones alright but it doesnt put text onto the brick, can anyone fiquare out why?

4 comments
What does output say?
Line 2 is not a valid member of frame
then line 2 isn't a valid member of 'frame'
But line2 is a member of frame!!!!!