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: Would this work?

Previous Thread :: Next Thread 
blackknight37 is not online. blackknight37
Joined: 11 Aug 2010
Total Posts: 1054
03 Sep 2011 09:27 PM
function oT(hit)
if hit.Parent ~= "Workspace" then
repeat
wait(0.1)
script.Parent.Transparency = script.Parent.Transparency + 0.1
until hit == nil or script.Parent.Transparency = 1
end
end

script.Parent.Touched:connect(oT)

Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
03 Sep 2011 09:28 PM
TEST IT YOURSELF
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:29 PM
I. AM. GOING, TO. RAGEQUIT.
STOP. POSTING. THESE. THREADS.
TEST. IT.
IMADBRO.
HOW WOULD YOU LIKE IT IF I TOOK SOME FLAMING WIRE AND SHOVED IT DOWN YOUR THROAT? THAT'S WHAT IT FEELS LIKE FOR ME.
Report Abuse
blackknight37 is not online. blackknight37
Joined: 11 Aug 2010
Total Posts: 1054
03 Sep 2011 09:32 PM
"Test it yourself"

This forum is for help fixing scripts.

So no.
Report Abuse
superior is not online. superior
Joined: 13 Apr 2008
Total Posts: 1662
03 Sep 2011 09:33 PM
Well, if you don't test it, how would you know it's broken? >.>
Report Abuse
PenutButtar is not online. PenutButtar
Joined: 28 Aug 2011
Total Posts: 194
03 Sep 2011 09:33 PM
Give them the output...

Oh wait you cant without testing it so you wont be able to tell the whats wrong


Stubborn little BOI
Report Abuse
blackknight37 is not online. blackknight37
Joined: 11 Aug 2010
Total Posts: 1054
03 Sep 2011 09:38 PM
No output.
Report Abuse
PenutButtar is not online. PenutButtar
Joined: 28 Aug 2011
Total Posts: 194
03 Sep 2011 09:45 PM
Ok Bois we can fix it
Report Abuse
piemario is not online. piemario
Joined: 17 Jul 2009
Total Posts: 1379
03 Sep 2011 09:50 PM
first of all test it first, if it doesnt work change it to this:

while true do
print("Lol i just crashed your game with this, try and fix it yourself next time.")
end
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
03 Sep 2011 09:53 PM
No, it would not work how you would want it to. The new event that is being tested would help..

function onTouched(hit)
while (script.Parent.Position-hit.Position).magnitude < (script.Parent:GetMass()/3)/3 and script.Parent.Transparency <= 1 do
script.Parent.Transparency = script.Parent.Transparency + 0.1
wait(0.1)
end
end

script.Parent.Touched:connect(onTouched)

Something like this?
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:55 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=54204954
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
03 Sep 2011 09:57 PM
No, no. You're a cheerful guy, DrS.
Report Abuse
DrSprinkles is not online. DrSprinkles
Joined: 27 Aug 2011
Total Posts: 457
03 Sep 2011 09:58 PM
No, no.
Shut. The. Hell. Up.
Jk lol
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