superj9Join Date: 2007-12-20 Post Count: 1476 |
ok i want a script that when you say sink the brick gets removed (plz make) |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
pwease |
|
randomrobotTop 100 PosterJoin Date: 2007-07-02 Post Count: 11636 |
What's the brick's name?
|
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
pole |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
anyone!?!?!?! |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
i will explain why i need that ok i have a ship place and i want to have when you say sink it sinks very easy i just stick a pole under the ship and when u say sink it destroys the pole making the ship fall down |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
anyone......... |
|
FlashJoeWTop 100 PosterJoin Date: 2007-12-24 Post Count: 4886 |
why don't you just get a quiz door, then edit the script in it to make it remove the pole... |
|
JustoutJoin Date: 2008-01-06 Post Count: 878 |
I was going to suggest that. =P |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
thats...... i cant script but i will try then you can correct it |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
function onChatted(msg, recipient, speaker)
-- convert to all lower case
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if (msg == "sink") then
game.workspace:pole.remove
------------------------------------------------------------------
fix it plz |
|
|
function onChatted(msg, recipient, speaker)
-- convert to all lower case
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if (msg == "sink") then
game.workspace.pole:remove()
function onPlayerEntered(newPlayer)
newPlayer.Chatted:connect(function(msg) onChatted(msg) end)
newPlayer.Changed:connect(function (property)
if (property == "Character") then
onPlayerEntered(newPlayer)
end
game.Players.ChildAdded:connect(onPlayerEntered) |
|
FlashJoeWTop 100 PosterJoin Date: 2007-12-24 Post Count: 4886 |
how 'bout that, just edited it out of a quiz door
pole = game.Workspace.pole
function onChatted(msg, recipient, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if (msg == "sink") then
pole:Remove()
end
end
function onPlayerEntered(newPlayer)
newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
end
game.Players.ChildAdded:connect(onPlayerEntered)
|
|
|
Use that one, Mine has alot of errors. |
|
|
game.workspace.YOURNAMEHERE.Remove:head() |
|
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
pianoplayer we know that that script is a trap im not a noob |
|
superj9Join Date: 2007-12-20 Post Count: 1476 |
the end of this flashjoew got it |
|