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 » Scripters
Home Search
 

Re: Disable Character Collision

Previous Thread :: Next Thread 
Scripth is not online. Scripth
Joined: 23 Jun 2013
Total Posts: 1724
08 Sep 2015 08:53 PM
Made a script where you can disable collisions between Characters with or without Filtering Enabled!
Demo place: http://www.roblox.com/games/295085128/NoCollide-Characters

Localscript you place in startergui:
repeat wait()
for i,v in pairs(game.Players:children()) do local chr=v.Character
if v~=game.Players.LocalPlayer and chr and chr:findFirstChild('Torso') and chr.Torso.CanCollide then
for a,b in next,chr:children() do
if b:IsA('BasePart') then
b.Name=b.Name..'Fake'
end
end
for a,b in next,chr:children() do
if b:IsA('BasePart') then
b.Name=b.Name:gsub('Fake','')
b.CanCollide=false
end
end
end
end
until nil
Report Abuse
Aokz is not online. Aokz
Joined: 02 Aug 2009
Total Posts: 11284
08 Sep 2015 08:57 PM
nice

btw, what happened to ken?


Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
08 Sep 2015 08:58 PM
Why is your code so horrendously unreadable?
Report Abuse
Scripth is not online. Scripth
Joined: 23 Jun 2013
Total Posts: 1724
08 Sep 2015 09:05 PM
that's an opinion
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
08 Sep 2015 09:05 PM
No, it's a question.
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
08 Sep 2015 09:06 PM
ew
Report Abuse
popomcnuggets is not online. popomcnuggets
Joined: 26 Mar 2012
Total Posts: 3680
08 Sep 2015 09:14 PM
Why is your code so horrendously unreadable?[2]



MY SIDES HAVE LEFT THE GALAXY
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
08 Sep 2015 09:16 PM
its not u nobs
you can clearly understand what he's doing, if you can read
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
08 Sep 2015 09:16 PM
not u dermon i <3 u
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
08 Sep 2015 09:31 PM
i understand what he is doing, but it's ugly (imo)

no space in between = signs
lack of indentation (if the forums broke your indentation, then i understand)
mixing deprecated methods with non-deprecated methods
and i dunno why he is using a repeat loop instead of a while loop in this case but it would just be my preference to use a while loop here
Report Abuse
Scripth is not online. Scripth
Joined: 23 Jun 2013
Total Posts: 1724
08 Sep 2015 09:45 PM
'but it would just be my preference'
-deprecated methods i use are no different from their new counterparts
-i dislike whitespace
-no difference in the usage of a repeat/while loop here

i would change it to be easier for other people to read, but it would just be my preference to code this way ;)
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
08 Sep 2015 09:48 PM
while I dislike his admin this isnt a bad script and you shouldnt hate on him for that, I mean come on any moron could read his script just fine.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
08 Sep 2015 10:00 PM
Maybe I'm just blind but when he's got multiple single-letter variables and no indenting I find it really ugly and difficult to read.
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
08 Sep 2015 10:09 PM
well heres it indented

repeat wait()
for i,v in pairs(game.Players:children()) do local chr=v.Character
if v~=game.Players.LocalPlayer and chr and chr:findFirstChild('Torso') and chr.Torso.CanCollide then
for a,b in next,chr:children() do
if b:IsA('BasePart') then
b.Name=b.Name..'Fake'
end
end
for a,b in next,chr:children() do
if b:IsA('BasePart') then
b.Name=b.Name:gsub('Fake','')
b.CanCollide=false
end
end
end
end
until nil
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
08 Sep 2015 10:09 PM
"-deprecated methods i use are no different from their new counterparts"

ever hear of something called convention and consistency? i sorta don't understand why you are mixing deprecated and non-deprecated methods together. it just makes your coding style a bit inconsistent imo

"-i don't like whitespace"
to each their own, but why not indent it at least (unless the forum post unindented it of course)

Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
08 Sep 2015 10:12 PM
"-i don't like whitespace"
this is actually the first time i have heard that lol
Report Abuse
Scripth is not online. Scripth
Joined: 23 Jun 2013
Total Posts: 1724
08 Sep 2015 10:38 PM
its an example, as long as you get the concept and how it works the efficiency doesn't matter
i just put my code in a small loop for a quick n easy cheesy demo because i didn't want to bother with playeradded,childadded,waitforcharacter bs
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
20 Sep 2015 04:12 PM
Scripth you must update your admin commands so have anti-exploit like how EISS updates it 24/7 to stop exploits.
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
20 Sep 2015 04:20 PM
I made one a couple months ago, too, feel free to edit:

http://www.roblox.com/games/276854415/Non-collide-characters-using-FilteringEnabled
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
29 Oct 2015 04:36 AM
itt: fanboys defending an inefficient script
Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
29 Oct 2015 04:38 AM
wait nvm but still lots of noob fanboys here
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
14 Nov 2015 08:21 AM
except deprecated methods eventually break and that is why a lot of old games break
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
17 Jun 2016 08:44 AM
kk


#code R+ | local RAP = "R$616,651"; local robux = "R$2,164"
Report Abuse
MajorCrusader is not online. MajorCrusader
Joined: 09 Jun 2016
Total Posts: 396
17 Jun 2016 08:45 AM
Scripth is in my opinion not a very good scripter at all and over-rated because a poorly made creation of his is popular.




Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
17 Jun 2016 08:52 AM
'poorly made creation'

Are you saying his admin is poorly made? I think it's pretty good.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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