i need a script that when you touch a part it changes TextBox3(Thats the accual name of the TextBox in the GUI) to 1/3 and if you already touched 2 different pigs(Its Part of the quest) it does nothing, same with 3 pigs

Join http://www.roblox.com/Sky-World-20-DONE-place?id=146403789 to see what im talking about

i tried

player = game.Players:GetPlayerFromCharacter(charater)

function onTouched(Part) player.PlayerGui.ScreenGui.Frame.TextBox3.Text = ("1/3") end script.Parent.Touched:connect(onTouched)

because the GUI is in PlayerGui thanks for any help

1 comment

0

Scripting Helpers is not a place for advertising or requests. Please ask your question again in a more detailed way.