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 » Scripting Helpers
Home Search
 

Re: Sharing Scripts

Previous Thread :: Next Thread 
Daeho is not online. 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
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
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
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
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 is not online. 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 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
05 Sep 2012 10:21 PM
while true do
end
Report Abuse
Daeho is not online. Daeho
Joined: 29 Jul 2012
Total Posts: 10
06 Sep 2012 05:10 PM
Wait ill post a script
Report Abuse
Daeho is not online. 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 is not online. 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
UberGiantBuilder is not online. UberGiantBuilder
Joined: 08 Jul 2012
Total Posts: 1233
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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