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: FIX MEEEEEEEEEEEH!

Previous Thread :: Next Thread 
yelloball is not online. yelloball
Joined: 17 Feb 2010
Total Posts: 2749
16 Jul 2011 12:11 PM
Sorry for te caps, i really need dees

function onHit(Hit)
script.Parent.Transparent=1
script.Parent.Cancollide=true
wait(60)
script.Parent.Transparent=0
script.Parent.Cancollide=false
end
script.Parent.Hit:connect



The problem (I think) I sthe connection line
Im new to scripting :-)
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 12:12 PM
script.Parent.Touched:connect(function()
script.Parent.Transparency=1
script.Parent.CanCollide=true
wait(60)
script.Parent.Transparency=0
script.Parent.CanCollide=false
end)
Report Abuse
zeke505 is not online. zeke505
Joined: 26 May 2008
Total Posts: 15765
16 Jul 2011 12:12 PM
function onHit(Hit)
script.Parent.Transparent=1
script.Parent.CanCollide=true
wait(60) --This will wait a minute. Are you sure you want it that long?
script.Parent.Transparent=0
script.Parent.CanCollide=false
end
script.Parent.Touched:connect(onHit)
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 12:12 PM
@Zeke, Transparent, line 2 and 5
Report Abuse
yelloball is not online. yelloball
Joined: 17 Feb 2010
Total Posts: 2749
16 Jul 2011 12:12 PM
@Zeke im sure of it
Report Abuse
zeke505 is not online. zeke505
Joined: 26 May 2008
Total Posts: 15765
16 Jul 2011 12:12 PM
Crap. I forgot to change Transparent to Transparency. lol


**[[FLOODCHEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEECK]]**
Report Abuse
yelloball is not online. yelloball
Joined: 17 Feb 2010
Total Posts: 2749
16 Jul 2011 12:16 PM
If you could add this, It should check if the object wich hit the object is named Katana otherwise it wouldnt work.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
16 Jul 2011 12:17 PM
script.Parent.Touched:connect(function(hit)
if hit.Parent.Name == "Kantana" then
script.Parent.Transparency=1
script.Parent.CanCollide=true
wait(60)
script.Parent.Transparency=0
script.Parent.CanCollide=false
end
end)
Report Abuse
yelloball is not online. yelloball
Joined: 17 Feb 2010
Total Posts: 2749
16 Jul 2011 12:21 PM
Works fine! thanks!
Report Abuse
yelloball is not online. yelloball
Joined: 17 Feb 2010
Total Posts: 2749
16 Jul 2011 12:25 PM
Wait..It doesnt works with tools, Even when i chenge Katana to Handle.
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