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: Script for respawning an object

Previous Thread :: Next Thread 
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
18 Dec 2013 10:23 PM
I am making a ball for a sport that I'm making and I want admins to say "ball" or ":ball" and cause the ball to respawn. I have no idea how to go about doing that and the place will have khol's admin if that helps the command process at all. Thanks!
Report Abuse
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
18 Dec 2013 10:24 PM
And it is a tool if that changes anything
Report Abuse
crate109 is not online. crate109
Joined: 24 Nov 2010
Total Posts: 315
18 Dec 2013 10:32 PM
The respawn command could be:


if msg=":ball" then
{
game.Lighting.Ball:clone()
Ball.Parent = Workspace
}
end


--That is just a part of the script, not even sure it would work but it is an idea.
--Your ball would have to be in the Lighting tab (Do it on Edit mode)
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
18 Dec 2013 10:47 PM
What is with the brackets
do you even lua
Report Abuse
crate109 is not online. crate109
Joined: 24 Nov 2010
Total Posts: 315
18 Dec 2013 11:10 PM
My answer was still more pertinent than yours.
Report Abuse
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
18 Dec 2013 11:19 PM
thanks for the help crate, still have to learn Lua too so it'll help me somewhat
Report Abuse
crate109 is not online. crate109
Joined: 24 Nov 2010
Total Posts: 315
18 Dec 2013 11:23 PM
Sure! Lua was called an easy language, but still, we have to learn it. I will try to find a better answer for your problem.
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
18 Dec 2013 11:26 PM
[ Content Deleted ]
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
19 Dec 2013 02:07 AM
-_- if msg == "ball" then


Do you even kohl's admin, and do any of you use '=='
Make sure you help in Lua >_>
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
19 Dec 2013 08:33 AM
[ Content Deleted ]
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