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

help me with text label script?

Asked by 9 years ago

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

01p = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent
02 
03function buy()
04            game.ReplicatedStorage["Cheezburger"]:clone().Parent = p.Backpack
05            wait(1)
06            script.Parent.Parent.Parent.Parent.Visible = false
07 
08            wait(1)
09 
10            game.startergui.Waiter.Frame.Visible = true
11            wait(0.1)
12            game.StarterGui.Waiter.Frame.TextLabel.Text = "H"
13            wait(0.1)
14            game.StarterGui.Waiter.Frame.TextLabel.Text = "Ho"
15            wait(0.1)
View all 53 lines...
0
Output please. And its the third time you ask the same question for the same script. TheBigCoder 25 — 9y

1 answer

Log in to vote
1
Answered by
Kyokamii 133
9 years ago

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.

01p = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent
02 
03local function buy()
04           local partToClone = game.ReplicatedStorage:FindFirstChild("Cheezburger")
05       local Clone = partToClone:Clone()
06       Clone.Parent = p.BackPack
07local gui = p.PlayerGui.Waiter
08            wait(1)
09            script.Parent.Parent.Parent.Parent.Visible = false
10            wait(1)
11           gui.Frame.Visible = true
12            wait(0.1)
13           gui.Frame.TextLabel.Text = "H"
14            wait(0.1)
15            gui.Frame.TextLabel.Text = "Ho"
View all 54 lines...

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

Ad

Answer this question