of     1   

IncaderZim
#205880Thursday, October 25, 2007 1:05 AM GMT

I need someone to make me a script for a block that will allow it to increase or decrease size when a certain voice command is said... and possibly when a button is pushed
cruckshank
Top 100 Poster
#206423Thursday, October 25, 2007 4:16 PM GMT

umm im not 2 sure
Stealth Pilot
Top 100 Poster
#206446Thursday, October 25, 2007 4:27 PM GMT

I don't have a script ready, but to change brick size by script, do this: Brick.Size = Vector3.new(#, #, #) Just pop that principle inside a command line. >Pilot<
IncaderZim
#207307Friday, October 26, 2007 12:03 AM GMT

I want to be able to change its size during a match so i can extend a bridge to my friends so they can use a shortcut
lavamaster
#207368Friday, October 26, 2007 12:25 AM GMT

1. its possible 2. the brick will move on its own no matter wat (unlles u use CFrame or position) 3. do u want the command for every1 or just u?
IncaderZim
#207604Friday, October 26, 2007 2:33 AM GMT

just me.... or if you could, add a permission line into the code... so i can choose who can use it
getkoed
#72023382Tuesday, July 10, 2012 5:37 PM GMT

allowed = {"IncaderZim", "otherplayerhere", "ormaybeevenanotherplayer", "trululu"} function chat(msg) if (msg == "command here") then local brick = workspace["BrickNameHere"] for i = 1, 50 do --[[ change 50 to the amount of studs it should increase in size ]] brick.Size = brick.Size * Vector3.new(1, 0, 0) --[[ if it goes the wrong way, put the 1 in the end of the Vector3 value, so (0, 0, 1) ]] wait() end if (msg == "other command here") then -- this will decrease the size again local brick = workspace["BrickNameHere"] for i = 1, 50 do brick.Size = brick.Size * Vector3.new(-1, 0, 0) wait() end end end function checkIfPlrIsAllowed(obj) -- check if the speaker is in the allowed list for i = 1, #allowed do if (allowed[i] == obj.Name) then return true end end return false end game.Players.PlayerAdded:connect(function(plr) local c = checkIfPlrIsAllowed(plr) if (c == true) then plr.Chatted:connect(function(msg) chat(msg) end) end end) -- This will probably work. -- Woot, I just helped a 2007'er :D
getkoed
#72023574Tuesday, July 10, 2012 5:40 PM GMT

-- Sorry o_o, change the chat function to this: function chat(msg) if (msg == "command here") then local brick = workspace["BrickNameHere"] for i = 1, 50 do --[[ change 50 to the amount of studs it should increase in size ]] brick.Size = brick.Size * Vector3.new(1, 0, 0) --[[ if it goes the wrong way, put the 1 in the end of the Vector3 value, so (0, 0, 1) ]] wait() end end if (msg == "other command here") then -- this will decrease the size again local brick = workspace["BrickNameHere"] for i = 1, 50 do brick.Size = brick.Size * Vector3.new(-1, 0, 0) wait() end end end
Signaller
#72026572Tuesday, July 10, 2012 6:14 PM GMT

This is from 2007, getkoed lol.
getkoed
#72026766Tuesday, July 10, 2012 6:17 PM GMT

I know, I'm so kind, trying to help everyone in here o_e

    of     1