ThraxPain
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 183 |
|
|
| 21 Sep 2015 09:45 PM |
local brick = script.Parent local plr = game.Players.LocalPlayer
function onTouch(brick) plr.PlayerGui.Spotted.SPOT.TextTransparency = 0 wait(5) plr.PlayerGui.Spotted.SPOT.TextTransparency = 1
end
brick.Touched:connect(onTouch)
~forks.exe has stopped working~ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
|
ThraxPain
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 183 |
|
|
| 21 Sep 2015 09:47 PM |
I dont know whats wrong
~forks.exe has stopped working~ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
|
ThraxPain
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 183 |
|
|
| 21 Sep 2015 09:49 PM |
I asked for help, not to read about it. I literally have NO IDEA what is wrong. Please, if you aren't going to be relevant then leave.
~forks.exe has stopped working~ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 21 Sep 2015 09:50 PM |
"Please, if you aren't going to be relevant then leave."
Sorry newbag. I cant leave
Back to the salt mines |
|
|
| Report Abuse |
|
|
ThraxPain
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 183 |
|
|
| 21 Sep 2015 09:52 PM |
I just want help.
~forks.exe has stopped working~ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
| |
|
ThraxPain
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 183 |
|
|
| 21 Sep 2015 09:57 PM |
I am here for a reason, to get help. Again, you aren't relevant.
~forks.exe has stopped working~ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 21 Sep 2015 09:59 PM |
"Again, you aren't relevant"
>165 posts |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 10:05 PM |
| Hey, are you sure that TextTransparency is a property of what you're trying to change? You could be linking it wrong. |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Sep 2015 10:55 PM |
texttransparency is not a property. the output would say texttransparency is a nil value
https://www.youtube.com/watch?v=-AvRvI9Klu0&t=159s |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 11:00 PM |
It is a property..
morashsPeasant is skrubbing |
|
|
| Report Abuse |
|
|
Aexura
|
  |
| Joined: 06 Aug 2015 |
| Total Posts: 265 |
|
|
| 21 Sep 2015 11:09 PM |
Why y'all so blind?
"plr" doesn't exist. You got the variable wrong.
local brick = script.Parent
function onTouch(BodyPart) -- BodyPart = Arms, Legs, etc. that touched the brick if game.Players:GetPlayerFromCharacter(BodyPart.Parent) then local plr = game.Players:GetPlayerFromCharacter(BodyPart.Parent) plr.PlayerGui.Spotted.SPOT.TextTransparency = 0 wait(5) plr.PlayerGui.Spotted.SPOT.TextTransparency = 1 end end
brick.Touched:connect(onTouch) |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 11:16 PM |
local player only works in local scripts onTouched only works in normal script. |
|
|
| Report Abuse |
|
|