of     1   

Banlio
#139264575Saturday, July 05, 2014 12:36 AM GMT

script.Parent.Touched:connect(function(TestingPart) --h = game.Workspace.TestingPartScript.Parent:findFirstChild("Humanoid") local humanoid = part.Parent:findFirstChild("Humanoid") if h then wait (1) game.StarterGui.ScreenGui.TextLabel.Visible = true wait(1) game.StarterGui.ScreenGui.TextLabel.Text = "I am behind you!" --game.StarterGui.ScreenGui.Test.Sound:play() wait(1) game.StarterGui.TextLabel.Visible = false end end)
AnonyAnonymous
#139264718Saturday, July 05, 2014 12:38 AM GMT

Could you explain with more detail the problem you're having with the script?.
Frostglacier
#139264736Saturday, July 05, 2014 12:38 AM GMT

I don't know, what IS wrong with it? We can't fix something without knowing the error. Is it not running? Is something not showing up? Please do tell.
Banlio
#139264813Saturday, July 05, 2014 12:39 AM GMT

Not showing up. I also did this, but you can't make Locals stand for something. script.Parent.Touched:connect(function(TestingPart) --h = game.Workspace.TestingPartScript.Parent:findFirstChild("Humanoid") h =local humanoid = part.Parent:findFirstChild("Humanoid") if h then wait (1) game.StarterGui.ScreenGui.TextLabel.Visible = true wait(1) game.StarterGui.ScreenGui.TextLabel.Text = "I am behind you!" --game.StarterGui.ScreenGui.Test.Sound:play() wait(1) game.StarterGui.TextLabel.Visible = false end end)
wish_z
#139264832Saturday, July 05, 2014 12:39 AM GMT

it updates the startergui instead of the playergui.
AnonyAnonymous
#139264856Saturday, July 05, 2014 12:39 AM GMT

Add a variable to find the player in "Players" and change game.Starter to Player.PlayerGui and inform us of the result.
Typocrite
#139265016Saturday, July 05, 2014 12:41 AM GMT

Why are there 2 lines that are commented out? Remove the "--"'s
Banlio
#139265226Saturday, July 05, 2014 12:44 AM GMT

still isn't working.
Frostglacier
#139265514Saturday, July 05, 2014 12:47 AM GMT

script.Parent.Touched:connect(function(part) local humanoid = part.Parent:findFirstChild("Humanoid") if h then wait (1) character = part.Parent player = game.Players:GetPlayerFromCharacter(character) player.ScreenGui.TextLabel.Visible = true player.ScreenGui.TextLabel.Text = "I am behind you!" wait(1) player.TextLabel.Visible = false end end)
AnonyAnonymous
#139266148Saturday, July 05, 2014 12:55 AM GMT

Change player.ScreenGui to, player.PlayerGui.ScreenGui
Frostglacier
#139266305Saturday, July 05, 2014 12:57 AM GMT

Ah, yes. Do that.
Banlio
#139284153Saturday, July 05, 2014 4:36 AM GMT

it doesn't work I want the local to stand for h
Banlio
#139392777Sunday, July 06, 2014 4:55 AM GMT

I also tried this. But doesn't work and ice that script doesn't work. script.Parent.Touched:connect(function(part) local humanoid = part.Parent:findFirstChild("Humanoid") if humanoid then wait (1) character = part.Parent player = game.Players:GetPlayerFromCharacter(character) player.ScreenGui.TextLabel.Visible = true player.ScreenGui.TextLabel.Text = "I am behind you!" wait(1) player.TextLabel.Visible = false end end) Is it this? No right?
Sasayaki
#139392993Sunday, July 06, 2014 4:58 AM GMT

script.Parent.Touched:connect(function(part) local humanoid = part.Parent:findFirstChild("Humanoid") if humanoid then wait (1) character = part.Parent player = game.Players:GetPlayerFromCharacter(character) if player then player.PlayerGui.ScreenGui.TextLabel.Visible = true player.PlayerGui.ScreenGui.TextLabel.Text = "I am behind you!" wait(1) player.PlayerGui.ScreenGui.TextLabel.Visible = false end end end)

    of     1