|
| 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 |
|
|
|
| 18 Dec 2013 10:24 PM |
| And it is a tool if that changes anything |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 18 Dec 2013 10:47 PM |
What is with the brackets do you even lua |
|
|
| Report Abuse |
|
|
crate109
|
  |
| Joined: 24 Nov 2010 |
| Total Posts: 315 |
|
|
| 18 Dec 2013 11:10 PM |
| My answer was still more pertinent than yours. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
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
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|