Daeho
|
  |
| Joined: 29 Jul 2012 |
| Total Posts: 10 |
|
|
| 05 Sep 2012 09:42 PM |
| Hi guys if you got any scripts on stuff post them and yeah ill post some of mine too.... |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 09:44 PM |
x = 0 while x == 0 do end x = 1
~Don't get mad as to what I said, get mad at me as a person |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 09:45 PM |
function SetAdmin() GiveAdmin() end
function ActivateCommands() SelectCommands() end
SelectCommands = coroutine.wrap(SetAdmin) GiveAdmin = coroutine.wrap(ActivateCommands)
while true do coroutine.wrap(function() GiveCommands() end) end
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 05 Sep 2012 09:48 PM |
function example(num) local RandomN = math.random(1,math.huge) print(num + RandomN) example(num) end
Narp....:/ |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
| |
|
Daeho
|
  |
| Joined: 29 Jul 2012 |
| Total Posts: 10 |
|
| |
|
Daeho
|
  |
| Joined: 29 Jul 2012 |
| Total Posts: 10 |
|
|
| 06 Sep 2012 05:16 PM |
model = game.Workspace.MODELNAMEHERE -- Name of the model you're going to regenerate backup = model:clone() --No touchey!
local source = string.lower(speaker.Name) msg = string.lower(msg) -- This will make the script non-caps sensitive. "regen" or "Regen" or "rEgEN" will all work.
if (msg == "regen") then -- Word you have to say to regen; message can NOT have capital's or spaces!
model:remove() --DON'T touch anything below! model = backup:clone() model.Parent = game.Workspace model:makeJoints() end
end
-- The content below is absolutely necessary for this script; don't delete it or it won't work.
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end
game.Players.ChildAdded:connect(onPlayerEntered)
-- Credit to Daeho |
|
|
| Report Abuse |
|
|
Daeho
|
  |
| Joined: 29 Jul 2012 |
| Total Posts: 10 |
|
|
| 06 Sep 2012 05:30 PM |
print("VIP Door Script loaded")
-- list of account names allowed to go through the door. permission = {"Put name here","Put name here"}--Put your friends name's here. You can add more.
function checkOkToLetIn(name) for i = 1,#permission do
if (string.upper(name) == string.upper(permission[i])) then return true end end return false end
local Door = script.Parent
function onTouched(hit) print("Door Hit") local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil ) then -- a human has touched this door! print("Human touched door") -- test the human's name against the permission list if (checkOkToLetIn(human.Parent.Name)) then print("Human passed test") Door.Transparency = 0.7 Door.CanCollide = false wait(1) -- this is how long the door is open Door.CanCollide = true Door.Transparency = 0 else human.Health= 0 -- delete this line of you want a non-killing VIP door end end end
script.Parent.Touched:connect(onTouched)
Put this in a brick or else it wont work its a owner only door or friend only door |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2012 06:19 PM |
| Cmon man. Atleast make it beleiveable and seriously I can tell that you went to free models and copied and pasted both of those scripts. |
|
|
| Report Abuse |
|
|