|
| 10 Nov 2011 09:10 PM |
no idea what the problem is.. :/
function onChatted(msg, recipient, speaker) MSG = string.lower(msg) if speaker.Name == "HoloEngineer" then if MSG == "!House" then local brick = Instance.new("Part", game.Workspace) brick.Name = "House" brick.Size = Vector3.new(4, 4, 4) brick.Anchored = true brick.Position = Vector3.new(-16, 6.4, 106) end end
|
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:11 PM |
You have no connection line.
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:12 PM |
| holy crap u psoed that like a second within me posting this |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:12 PM |
Dat's cause imma ninja. Rawr.
-[::ƧѡÎḾḠΰῩ::]- -[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:14 PM |
| so.. you still need the connection to the event xD |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:19 PM |
| ye and i cant believe a master scripter and famous guy is on my forum |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 09:48 PM |
lol this would complete and fix the function, but still missing the connection and i forgot how it was written o.o
function onChatted(msg, recipient, speaker) MSG = string.lower(msg) if speaker.Name == "HoloEngineer" then if MSG == "!house" then local brick = Instance.new("Part", game.Workspace) brick.Name = "House" brick.Size = Vector3.new(4, 4, 4) brick.Anchored = true brick.Position = Vector3.new(-16, 6.4, 106) end end end
|
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Nov 2011 10:09 PM |
>ye and i cant believe a master scripter and famous guy is on my forum
Trust me, I'm a master more than him, and I'm not famous. |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 10:11 PM |
| your pretty famous just not place wise |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 10:15 PM |
| lol literally nobody knows who I am |
|
|
| Report Abuse |
|
|
|
| 10 Nov 2011 11:35 PM |
| lol i just went down the path of making a good game xD, it doesnt require extremely complicated LUA for it, just the basics and some creative ideas to remake a game |
|
|
| Report Abuse |
|
|
|
| 11 Nov 2011 08:56 AM |
| you should explain further and maybe tell some the process you went through to make the game :D? it would be intresting like a behind the scenes bloopers |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 11 Nov 2011 08:59 AM |
function onChatted(msg, speaker) MSG = string.lower(msg) if speaker.Name == "HoloEngineer" then if MSG == "!House" then local brick = Instance.new("Part", game.Workspace) brick.Name = "House" brick.Size = Vector3.new(4, 4, 4) brick.Anchored = true brick.Position = Vector3.new(-16, 6.4, 106) end end
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(s) onChatted(s,player) end) end)
|
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Nov 2011 04:23 PM |
Try
MSG = string.find(string.lower(msg), string.lower("!House")) . |
|
|
| Report Abuse |
|
|
| |
|
| |
|
sharky99
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 3364 |
|
|
| 11 Nov 2011 06:26 PM |
@Su
You connected the wrong function! infact you made the function inside the parenthese |
|
|
| Report Abuse |
|
|
sharky99
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 3364 |
|
|
| 11 Nov 2011 06:28 PM |
function onChatted(msg, speaker) MSG = string.lower(msg) if speaker.Name == "HoloEngineer" then if MSG == "!House" then local brick = Instance.new("Part", game.Workspace) brick.Name = "House" brick.Size = Vector3.new(4, 4, 4) brick.Anchored = true brick.Position = Vector3.new(-16, 6.4, 106) end end
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(onChatted)
Im pretty sure this will work |
|
|
| Report Abuse |
|
|
sharky99
|
  |
| Joined: 18 Dec 2008 |
| Total Posts: 3364 |
|
|
| 11 Nov 2011 06:28 PM |
| Or wait, add this to the end of that ')' |
|
|
| Report Abuse |
|
|
|
| 11 Nov 2011 06:35 PM |
| how would i make it so selects a random person every 3 mins to be the person to have permission to ue this command then when there times up they removed from the list and a new person is selected and while that person is on that admin list whoever kills the person on the admin list at the time gets 100 points to the leader board and 1 ko ofc |
|
|
| Report Abuse |
|
|
|
| 11 Nov 2011 08:57 PM |
| yea the script itself isint working as it is im getting ahead ofmyself |
|
|
| Report Abuse |
|
|
| |
|
| |
|