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

Script works in studio but on Ingame. Change tool name, and color?

Asked by 6 years ago

script.Parent.MouseButton1Down:connect(function(player) script.Parent.Parent.Parent.Parent.Parent.ScriptPart.Flavor.Value = script.Parent.Flavor.Value script.Parent.Parent.Parent.Parent.Parent.ScriptPart.Colors.Value = script.Parent.Colors.Value script.Parent.Parent.Parent.Parent.Parent.Text.Text.TextLabel.Text = "Chocolate" end)

The script works just fine in studio! It is a normal script located in a TextButton

0
Use a localScript theCJarmy7 1293 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Is it a GUI as they need Local Scripts

Ad

Answer this question