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: Weird Logic Error :P

Previous Thread :: Next Thread 
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
12 Oct 2013 01:06 PM
I made this little bomb tool and it's supposed to turn cancollide=false and transparecy=1 but it's only invisible and there's nothing in the output. It also keeps running. wut?
(This is only part of this script, everything is defined)
---
exploded.Event:connect(function()--exploded is a bindable event
coroutine.resume(coroutine.create(function()
for i=1.1,.1,-.2 do
wait(i)
bomb.BrickColor=BrickColor.new('Bright red')
wait(i/3)
bomb.BrickColor=BrickColor.new('Medium stone grey')
end--start ticking
for i=1,8 do
wait(.1)
bomb.BrickColor=BrickColor.new('Medium stone grey')
wait(.05)
bomb.BrickColor=BrickColor.new('Bright red')
end--warning explosion imminent
local explosion=bomb:Clone()
explosion.CFrame=lastCF
explosion.Parent=game:GetService('Workspace')
explosion.Anchored=true
Report Abuse
juzzbyXfalcon is not online. juzzbyXfalcon
Joined: 02 Feb 2011
Total Posts: 1311
12 Oct 2013 01:08 PM
Transparency = 1 = invisible
Transparency = 0 = visible

-Believe and you will achieve-
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
12 Oct 2013 01:09 PM
wtf is that, how does that help...
i already know that
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
12 Oct 2013 01:09 PM
ooh sorry i already put that, i forgot to include in the script
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