|
| 03 Jul 2012 01:43 AM |
Hello,
I've suffered experiences where people have stolen my buildings and models, and have been looking for a value that checks the creator ID.
Is anyone able to source this value? And use it in such a way that if this certain value isn't detected (i.e. the wrong creator), it deletes the workspace or crashes the game?
I was hoping I could hide 4 or 5 of these scripts around within the game, in models where a person isn't likely to look, and will have a hard time finding them; just to ensure nobody uses some kind of exploit to steal my place and is unable to claim it as their own, because it deletes their workspace!
This should be a relatively simple script, but I don't really know where to start. If you are able to conjur up such a thing, I thank you greatly, and if it's good enough and works there may be a reward in it if you really want it.
Thank you. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 01:48 AM |
Just came up with this:
if game.CreatorId ~= 390939 then ch = game.Workspace:GetChildren() for i = 1, #ch do ch[i]:Destroy() end end
Try it. If it doesn't work I might know the reason. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:01 AM |
It should work. I've seen that scirpt before already.
ALL HAIL THE FLOODCHECK! |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:03 AM |
if game.CreatorId ~= "390939" then ch = game.Workspace:GetChildren() for i = 1, #ch do if ch[i]:IsA("Part") or ch[i]:IsA("Model") or ch[i]:IsA("Script") then ch[i]:Destroy() end end end
If the first one doesn't work. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:05 AM |
| Well yea, that should be better. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:06 AM |
| Main problem would be the id. I think it has to be in quotes. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:07 AM |
Propably.
ALL HAIL THE FLOODCHECK! |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:08 AM |
| I want to know where diddleshot went >__> |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 02:09 AM |
| Type in free models:Anti DLL script,it's a very simple script that prevent players from using Roblox Studio.You should add conditions so it allow YOU to use studio(if you use Build mode) |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:09 AM |
| For a big conference on the toilet maybe. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:10 AM |
| Or ping, you can use a secure one from the forums. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 02:13 AM |
| Thankyou! I really wasn't expecting such a quick reply, I went to work on the place's elevator system (To be precise hehe) I shall give it a go, i'm going to place it ino 5 seperate scripts and dot it about the place. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:15 AM |
| And we didn't expect such a late reply. ._. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:15 AM |
| Make sure to try the second one. What it will do is remove all the Models, Scripts, and Parts from the Workspace if the creator isn't you. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 02:16 AM |
| Brilliant, and they wont conflict with eachother or cause too much lag? They don't constantly run? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:17 AM |
| How does the script look like... |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:17 AM |
| Only runs once. Unless you put it in a regening model. Then it will run when the thing gets regened. No. 6 lines won't cause any lag at all. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 02:18 AM |
gah here's the script then Put this is StarterPack
function banhaxers() if script.Parent.Parent.Name~="Diddleshot" and script.Parent.Parent.Name~="Player" then while true do end game.Selection.SelectionChanged:connect(banhaxers) |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|
|
| 03 Jul 2012 02:21 AM |
| Dude if you don't put this people can use Dll |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 02:22 AM |
function banhaxers() if script.Parent.Parent.Name~="Diddleshot" and script.Parent.Parent.Name~="Player" then while true do end end end game.Selection.SelectionChanged:connect(banhaxers)
I forgot ends XD |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 03 Jul 2012 02:23 AM |
| ^---Don't use this either. |
|
|
| Report Abuse |
|
|
dddylan98
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 1497 |
|
|
| 03 Jul 2012 02:23 AM |
dude! you're a fail.
Sorry if I'm harsh... |
|
|
| Report Abuse |
|
|