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 » Scripting Helpers
Home Search
 

Re: help pl0x.

Previous Thread :: Next Thread 
shadowcrafter80 is not online. shadowcrafter80
Joined: 24 Mar 2013
Total Posts: 1240
29 Oct 2014 11:01 AM
Image = script.Parent.BillboardGui.ImageLabel

IT = Image.ImageTransparency

function show()
repeat
Image.ImageTransparency = math (IT - .1)
until IT == 0
end

function dissap()
repeat
Image.ImageTransparency = math (IT + .1)
until IT == 1
end

function hit()
script.Parent:connect(show)
wait(3)
script.Parent:connect(dissap)
end

while true do
wait()
script.ParentTouched:connect(hit)
end


why doesnt this work?

You silly bum.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
29 Oct 2014 11:11 AM
I don't know why it doesn't work, why don't you tell us.
Tell us the output, if any, what it does, and what it is supposed to do.


"script.Parent:connect(show)"
You mean
show()?
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
29 Oct 2014 11:31 AM
math (IT - .1)

Something tells me that math isn't a function here.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
29 Oct 2014 11:32 AM
function hit()
script.Parent:connect(show)
wait(3)
script.Parent:connect(dissap)
end

while true do
wait()
script.ParentTouched:connect(hit)
end

These all suck too.

ParentTouched is not an event.
Do script.Parent.Touched:connect(hit) instead
script.Parent is not an event,
If you need to call a function just do show() or dissap() instead
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
29 Oct 2014 01:36 PM
You don't call math to do math lol
You can just subtract it, the math methods aren't required to be called.
-=Robo=-
Report Abuse
shadowcrafter80 is not online. shadowcrafter80
Joined: 24 Mar 2013
Total Posts: 1240
31 Oct 2014 10:46 AM
Here, I removed all of the math thingys. Now here is what I got. http://prntscr.com/51mmnn

You silly bum.
Report Abuse
shadowcrafter80 is not online. shadowcrafter80
Joined: 24 Mar 2013
Total Posts: 1240
31 Oct 2014 01:31 PM
Bump

You silly bum.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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