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: Is it possible to make tools not go through other bricks?

Previous Thread :: Next Thread 
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
27 Jul 2014 03:18 PM
Even when set to true, the CanCollide property of a tool's Handle always behaves as if it is set to false. I was wondering if there was a way to make a handle stop when it hits another object. This would allow me to program swords with different block and parry moves that would actually prevent the opponent's sword from reaching you. Any answers are appreciated, and if there's a way to replicate this without actually making the CanCollide behave as if it was set to true, that would be fine as well.
Report Abuse
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
27 Jul 2014 03:45 PM
Anyone?
Report Abuse
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
27 Jul 2014 04:14 PM
bumpers
Report Abuse
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
27 Jul 2014 04:40 PM
bump again... .-.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
27 Jul 2014 04:43 PM
Challenge accepted.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
27 Jul 2014 05:09 PM
After a lot of welding bricks onto the handle and stuff I realized
Its as simple as


script.Parent.Equipped:connect(function()
script.Parent:WaitForChild("Handle").CanCollide = true
end)
Report Abuse
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
28 Jul 2014 09:40 AM
Huh.. so the CanCollide is automatically set to false when you equip a tool. Funny. Well, thanks.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
28 Jul 2014 09:41 AM
Don't do that. There are better ways to block.
Report Abuse
XMLinjecting is not online. XMLinjecting
Joined: 17 Jul 2014
Total Posts: 29
28 Jul 2014 10:23 AM
If you're up to it, just duplicate the handle and rename it and weld it into the same position and have it set to CanCollide = true.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
28 Jul 2014 10:33 AM
@cml
Thats what I tried to do before I realized I could just do what I did instead
Report Abuse
Perci1 is not online. Perci1
Joined: 24 Jan 2011
Total Posts: 1027
28 Jul 2014 04:43 PM
Well, Notunknown, what are those other ways?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
28 Jul 2014 06:09 PM
Whilst blocking, ignore all incoming damage dealt at a certain angle (Lets say 30 degrees) to the lookVector of the defenders Torso.
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