generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Error on line 5

Previous Thread :: Next Thread 
ThraxPain is not online. 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 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:46 PM
So fix it
Report Abuse
ThraxPain is not online. 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 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:48 PM
So look in wiki
Report Abuse
ThraxPain is not online. 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 is not online. 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 is not online. 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 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:53 PM
Fix it ur self

JUST DO IT
Report Abuse
ThraxPain is not online. 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 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
21 Sep 2015 09:59 PM
"Again, you aren't relevant"


>165 posts
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
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
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
21 Sep 2015 10:33 PM
What is the error?
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
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
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
21 Sep 2015 11:00 PM
It is a property..

morashsPeasant is skrubbing
Report Abuse
Aexura is not online. 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
ToasterCoder is not online. ToasterCoder
Joined: 28 Aug 2015
Total Posts: 137
21 Sep 2015 11:16 PM
local player only works in local scripts
onTouched only works in normal script.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image