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: Fencing Script

Previous Thread :: Next Thread 
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:04 PM
you know when you touch the mats and it only deals on damage only on the mats.. I need help with that.. working on a game that needs this really bad for this game to work properly
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:06 PM
Basic math
Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:07 PM
Thanks for the help..
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
31 Dec 2013 06:09 PM
The reason why cnt is being quiet on this is because lots of people ask this question. Try searching for past threads with the same question, or if that doesn't help, make an attempt using the wiki, and post any lines of code you're having problems with.
Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:09 PM
That is explains a lot haha.. ;) thanks
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:10 PM
Plus, it's the wrong forum since we don't give scripts here, only fix.

Anyway, you want to compare the position coordinates of the character's torso (or head or whatever you want) relative to the position of the "floor" and its size
Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:11 PM
ok thanks
Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:16 PM
one guy told me about Boolean value on everything.. would that work?
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
31 Dec 2013 06:17 PM
I have no idea what that means.

Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:17 PM
oh
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
31 Dec 2013 06:21 PM
If you mean something like StillTouching, then theoretically, yes. You could. I've never attempted this, so I can't be certain.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
31 Dec 2013 06:21 PM
No, booleanvalues would be stupid.
Here's a hint.

local maxRight = base.Position + (base.Size.X / 2)
if torso.Position <= maxRight then
print("They are somewhere left of the mostRight point of the base")
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
31 Dec 2013 06:22 PM
Oh, that's good.
Report Abuse
IntenseSF is not online. IntenseSF
Joined: 29 Nov 2012
Total Posts: 15
31 Dec 2013 06:24 PM
well damn. Haha!
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