Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help me with this script i want to make a cashier with a submit screengui?

Asked by 7 years ago

script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.Reason.Visible = false script.Parent.Parent.TypeName.Visible = false script.Parent.Visible = false script.Parent.Parent.Wait.Visible = true wait(3) local Reason = script.Parent.Parent.Reason.Text game.ServerStorage.IDCard:Clone() game.ServerStorage.IDCard.Handle.SurfaceGui.Reason.Text = Reason local Nameofplayer = script.Parent.Parent.TypeName.Text <-- the local game.ServerStorage.IDCard.Parent = game.Players.Nameofplayer <-- I want this to be the local because when they type in the name in the textbox the script will give it to the player

script.Parent.Parent.Wait.Visible = false script.Parent.Parent.Done.Visible = true script.Parent.Parent.Visible = false script.Parent.Parent.Reason.Visible = true script.Parent.Parent.TypeName.Visible = true script.Parent.Visible = true end)

This is a ScreenGui and the script is in StarterGui.Frame.Submit Thanks

0
Should've posted this in a code block since it's hard to read. What exactly are you trying to do? What is the "Submit" button actually ment to do. Venetrix 0 — 7y
0
It's ment to give a card with the reason on it to the player that they typed in the Name box thoricelli 0 — 7y
0
Please format your code using the code block for us viewers to read it easier. Discern 1007 — 7y
0
Please format your code using the code block for us viewers to read it easier. Discern 1007 — 7y

Answer this question