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: New Functions that may come in handy.

Previous Thread :: Next Thread 
robotic321 is not online. robotic321
Joined: 21 Mar 2008
Total Posts: 1193
14 Aug 2010 08:33 PM
These are a couple i made. They may come in handy for some. They work just fine too.

function gameMsg(MsgTextA,WaitA,MsgTextB,WaitB)
newMsg = Instance.new("Message")
newMsg.Parent = game.Workspace
newMsg.Text = MsgTextA
wait(WaitA)
newMsg.Text = MsgTextB
wait(WaitB)
newMsg:Remove()
end

function addTool(ToolName,GiveTo)
original = game.Lighting:findFirstChild(ToolName)
newOne = original:Clone()
newOne.Parent = GiveTo.Backpack
end

function ClearAllTools(player)
b = player.Backpack:GetChildren()
for j = 1,#b do
b[j]:Remove()
end
f = player.Character:GetChildren()
for l = 1,#f do
if f[l].className == "Tool" or f[l].className == "HopperBin" then
f[l]:Remove()
end
end
end

Trying to help some people.
Report Abuse
Jamie2992 is not online. Jamie2992
Joined: 01 Aug 2010
Total Posts: 416
14 Aug 2010 08:35 PM
_SPAM_
Report Abuse
robotic321 is not online. robotic321
Joined: 21 Mar 2008
Total Posts: 1193
14 Aug 2010 09:08 PM
How is this spam?
Report Abuse
Jamie2992 is not online. Jamie2992
Joined: 01 Aug 2010
Total Posts: 416
14 Aug 2010 09:09 PM
You just posted some script and didnt explain how and what they could be used for.
Report Abuse
Blaboblox is not online. Blaboblox
Joined: 12 Sep 2008
Total Posts: 8945
14 Aug 2010 09:35 PM
Hence the invention of 'inferring' things.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
14 Aug 2010 09:36 PM
Blab, you can't lock threads. LOLFAIL


Off Topic: How's your Scrabble game going?
Report Abuse
Blaboblox is not online. Blaboblox
Joined: 12 Sep 2008
Total Posts: 8945
14 Aug 2010 09:38 PM
Up 238 to 147. >:D
Report Abuse
robotic321 is not online. robotic321
Joined: 21 Mar 2008
Total Posts: 1193
14 Aug 2010 09:53 PM
The Name of the functions kinda give it away a little -_-
Report Abuse
MrSven is not online. MrSven
Joined: 22 Dec 2007
Total Posts: 3159
14 Aug 2010 10:02 PM
These are pretty much useless.
Report Abuse
oysi93 is not online. oysi93
Joined: 27 Apr 2008
Total Posts: 12469
14 Aug 2010 10:04 PM
I don't see why you can't just not use the functions, and just put the content
of the functions where you need to do what the functions do...?

Anyway, this aint spam, though you should add a description if you intend to
do this in the future. =)
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