Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

help me with text label script?

this is a script when you buy an item an label will pop up and it does not help me please.

p = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent

function buy()
			game.ReplicatedStorage["Cheezburger"]:clone().Parent = p.Backpack
			wait(1)
			script.Parent.Parent.Parent.Parent.Visible = false
			
			wait(1)
			
			game.startergui.Waiter.Frame.Visible = true
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "H"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Ho"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hop"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope y"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope yo"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you e"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you en"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enj"
			wait(0.1)
		    game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjo"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy t"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy th"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy the"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy the m"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy the me"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy the mea"
			wait(0.1)
			game.StarterGui.Waiter.Frame.TextLabel.Text = "Hope you enjoy the meal"
			wait(1)
			game.StarterGui.Waiter.Frame.Visible = false
end

script.Parent.MouseButton1Click:connect(buy)

1 comment

0

Output please. And its the third time you ask the same question for the same script.

1 answer

Im gonna try to fix it, if it does not work, it probably means something is missing. Post the output if it stills does not work.

p = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent

local function buy()
           local partToClone = game.ReplicatedStorage:FindFirstChild("Cheezburger")
	   local Clone = partToClone:Clone()
	   Clone.Parent = p.BackPack
local gui =	p.PlayerGui.Waiter
            wait(1)
            script.Parent.Parent.Parent.Parent.Visible = false
            wait(1)
           gui.Frame.Visible = true
            wait(0.1)
           gui.Frame.TextLabel.Text = "H"
            wait(0.1)
            gui.Frame.TextLabel.Text = "Ho"
            wait(0.1)
            gui.Frame.TextLabel.Text = "Hop"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope"
            wait(0.1)
          gui.Frame.TextLabel.Text = "Hope y"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope yo"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you"
            wait(0.1)
          gui.Frame.TextLabel.Text = "Hope you e"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you en"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enj"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjo"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy t"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy th"
            wait(0.1)
            gui.Frame.TextLabel.Text = "Hope you enjoy the"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy the m"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy the me"
            wait(0.1)
            gui.Frame.TextLabel.Text = "Hope you enjoy the mea"
            wait(0.1)
           gui.Frame.TextLabel.Text = "Hope you enjoy the meal"
            wait(1)
           gui.Frame.Visible = false
end

script.Parent.MouseButton1Click:connect(buy)

I think the problem was the fact that you tried to change the gui IN the starter gui and not in the player gui.

This discussion is preserved as it was. New answers, comments, and votes are closed.