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: who here knows how to disable scripting?

Previous Thread :: Next Thread 
HEAT507 is not online. HEAT507
Joined: 31 Aug 2012
Total Posts: 429
02 Apr 2013 07:52 PM
ok look I know how but like I dont want to disable animate :/
can somone help out?
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
02 Apr 2013 07:54 PM
wat
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
02 Apr 2013 07:56 PM
"Disable animate"

game.Players["Player"].Character.Animate.Disabled = true

... e-e is that really impossible?

~ Moo logic = logical logic ~
Report Abuse
TheCrunchyMuffin is not online. TheCrunchyMuffin
Joined: 05 Jun 2011
Total Posts: 449
02 Apr 2013 07:57 PM
Are you talking about using ScriptsDisabled?
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
02 Apr 2013 08:23 PM
Create a recursive function that finds every object with the class Script and then set the Disabled property to true. Add in a condition to check for any script name you don't want to disable.I don't see why you would need to disable scripts on a scale like that unless you were exploiting, though. In Studio, you can just toggle off any Scripts you don't want to be running by clicking on the Disabled checkbox in the properties tab.
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
02 Apr 2013 08:51 PM
@Solo do you know HEAT at all...?

~ Moo logic = logical logic ~
Report Abuse
Maradar is not online. Maradar
Joined: 06 Mar 2012
Total Posts: 4478
02 Apr 2013 08:53 PM
@18cwatford
who?

@OP
Assuming your model is a person, game.Workspace.[person model's name goes here].Animate.Disabled = true
end) -- end the post here
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
02 Apr 2013 08:55 PM
Ohhhh, he doesn't want animate disabled. Aslo maradar, the following would error;

game.Workspace.18cwatford.Animate.Disabled = true

And for heat, cause I have nothing rather to do

function c(o)
if o:IsA("BaseScript") and o.Name:lower() ~= "Animate" then
o.Disabled = true
end
for i,v in pairs(o:GetChildren()) do c(v) end
end

c(game)

~ Moo logic = logical logic ~
Report Abuse
Maradar is not online. Maradar
Joined: 06 Mar 2012
Total Posts: 4478
02 Apr 2013 09:01 PM
@18cwatford
Once again, 2-3 days later, bad at Lua.
I'm more in the web engineering world at the moment until maybe September of this year, maybe, where I'll actually learn programming. So, meh.

end) -- end the post here
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
02 Apr 2013 09:04 PM
Your script was fine, unless you're using it one someone wit a name like mine.

~ Moo logic = logical logic ~
Report Abuse
HEAT507 is not online. HEAT507
Joined: 31 Aug 2012
Total Posts: 429
02 Apr 2013 09:14 PM
ok leme fix this up
I DONT WANT TO DISABLE ANIMATION
Just new scripts that get created local/serversided
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
02 Apr 2013 09:19 PM
@18,

nope
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
02 Apr 2013 09:21 PM
"ok leme fix this up
I DONT WANT TO DISABLE ANIMATION
Just new scripts that get created local/serversided"

You could use DescendantAdded and then check to see if something added is a script, and, if so, disable it. I doubt that is the best way though, especially if you would need to go and do so for all of the parts/models/other items in the game as well.
Report Abuse
TheCrunchyMuffin is not online. TheCrunchyMuffin
Joined: 05 Jun 2011
Total Posts: 449
02 Apr 2013 09:27 PM
So basically he wants what I said, but he does not want it to disable animate, Idk if an if statement would work
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
02 Apr 2013 09:30 PM
scrptng.disabld = tru
Report Abuse
UnknownScripterOfSB is not online. UnknownScripterOfSB
Joined: 01 Apr 2013
Total Posts: 9
02 Apr 2013 10:16 PM
[ Content Deleted ]
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
02 Apr 2013 10:22 PM
for _, descendant in next, get_descendants(Workspace) do
if descendant:IsA('BaseScript') and descendant.Name ~= 'Animate' then
descendant.Disabled = true
end
end
Report Abuse
invaderzimfan1233 is not online. invaderzimfan1233
Joined: 20 Jan 2012
Total Posts: 138
02 Apr 2013 10:22 PM
local Services = {Game.Players;
Workspace;
Game.StarterPack;
Game.StarterGui;
Game.Lighting
}
for i,v in pairs(Services)do
v.DescendantAdded:connect(function(Obj)
if Obj:IsA("LocalScript")or Obj:IsA("Script")then
if Obj.Name == "Animate" then return end
pcall(function()Obj.Disabled = true end)
end end)end
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
02 Apr 2013 10:25 PM
Not sure why you people would bother using DescendantAdded. If you disable all the scripts, I don't see how new scripts could be inserted. If they're inserted because of a script you didn't disable, then you didn't disable all the scripts anyway.
Report Abuse
invaderzimfan1233 is not online. invaderzimfan1233
Joined: 20 Jan 2012
Total Posts: 138
02 Apr 2013 10:26 PM
^ That's what he wanted,isn't it?
Report Abuse
Merely is not online. Merely
Joined: 07 Dec 2010
Total Posts: 17266
02 Apr 2013 11:12 PM
He wants this so he can disable localscripts that would prevent him from exploiting.
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
03 Apr 2013 04:43 AM
This thread belongs in SH
Report Abuse
TheCrunchyMuffin is not online. TheCrunchyMuffin
Joined: 05 Jun 2011
Total Posts: 449
03 Apr 2013 10:41 AM
lold at merely
Report Abuse
bob3joe is not online. bob3joe
Joined: 01 Aug 2009
Total Posts: 1147
03 Apr 2013 10:46 AM
Hippo = 1
if Hippo == 1:
print('There seems to be a hippo infestation')
Identity = 2
if Identity = 2
print('April 1st 2013 was an inside job')

http://www.roblox.com/Forum/ShowPost.aspx?PostID=93727387
Report Abuse
bob3joe is not online. bob3joe
Joined: 01 Aug 2009
Total Posts: 1147
03 Apr 2013 10:48 AM
I messed that up ^^ suppose to be two == where if Identity = 2
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