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: TANKSHELL IGNORE CERTAIN PARTS IN THE WORKSPACE

Previous Thread :: Next Thread 
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:04 PM
function EEE(hit) --IMPORTANT-"EEE= dehcuoTno spelled backwards"
if hit:GGG() > 200 then --IMPORTANT-"GGG = ssaMteG spelled backwards"
--Script line "too graphic for your eyes to see according to roblox rules."
wait(1)
script.Parent.Anchored = false
end
if not HHH(hit) then --IMPORTANT-"HHH= tiHsI spelled backwards"
HitTotal = HitTotal + 1
--Script line "too graphic for your eyes to see according to roblox rules."
wait(0.8)
--Script line "too graphic for your eyes to see according to roblox rules."
wait(1)
script.Parent:Remove()
end

__________________________________________________________________


Is there a way to have this script when it does GGG, to ignore certain named bricks in the work space?

Like, If it hits a brick called "Explosion" then it will not get its mass, and will keep on going with the script when it hits something not named explosion?
--
#Don't you hate it when you have to look through your ENTIRE script to see what word is breaking the roblox rules?

#Filters are stupid
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:05 PM
It finally let me post it. ;~;
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:15 PM
Bump
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:26 PM
Bamp
Report Abuse
Ptwisted is not online. Ptwisted
Joined: 13 Feb 2013
Total Posts: 568
09 Jul 2015 07:35 PM
Just make a table with parts that are excluded
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:44 PM
Ok but how do I write that?
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 07:50 PM
Bump
Report Abuse
Ptwisted is not online. Ptwisted
Joined: 13 Feb 2013
Total Posts: 568
09 Jul 2015 07:52 PM
excluded = {"Explosion", "etc"}

You might want to check this out also:
http://wiki.roblox.com/index.php?title=How_to_Script_Anything/Chapter3#Tables
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 09:27 PM
So do I put that under the GetMass or what?
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 09:45 PM
Bump
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 10:07 PM
Bump
Report Abuse
litalela is not online. litalela
Joined: 30 Mar 2010
Total Posts: 6267
09 Jul 2015 10:13 PM
Look around game>StarterPLayer>StarterPlayerScipts>ControlScript

You should be able to delete the jump function there

ᴍʏ ɴɪɢᴀ ғʀᴏᴍ ᴀɴᴏᴛʜᴇʀ ᴡɪɢᴀ
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 10:20 PM
Wrong post m8
Report Abuse
litalela is not online. litalela
Joined: 30 Mar 2010
Total Posts: 6267
09 Jul 2015 10:21 PM
i realize this now, how the hell did that happen.

wtf

ᴍʏ ɴɪɢᴀ ғʀᴏᴍ ᴀɴᴏᴛʜᴇʀ ᴡɪɢᴀ
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 11:04 PM
Bump
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
09 Jul 2015 11:25 PM
Bump
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
10 Jul 2015 12:24 AM
BUMP
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
10 Jul 2015 12:37 AM
if hit:IsA("Explosion") or hit.Name=="Whatever" then
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
10 Jul 2015 12:44 AM
local excluded = {yo table full of parts/instances to be ignored
for example

game.Workspace.Part1
}

function onhit(hit)
for i, v in pairs(excluded) do

if hit == v then
return nil
end

end

-- get mass stuff
end


end

try something like that?
Report Abuse
pawnz is not online. pawnz
Joined: 22 Feb 2010
Total Posts: 286
10 Jul 2015 02:18 AM
This random badword filter is hindering my request for help so much.

I put it on an notepad here: http://mbcurl.me/138B8

I added the script line and it does not seem to be going through with the rest of the script still.
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