|
| 07 Nov 2011 10:30 PM |
Finally, after who knows how long, I have completed F.E.A.R.'s newest weapon!
Zombie Ducks!!
I'm still trying to get them more bloodthirsty and not to attack F.E.A.R. members, but so far they're coming along nicely.
Here's the current testing place:
http://www.roblox.com/Building-place-place?id=29911782
As for why I'm back, I was resurrected from the dead by boredom and the need to make Zombie Ducks on ROBLOX.
I was going to post that on TD's thread, but it got deleted for some reason before I could. |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Nov 2011 10:34 PM |
ex: Player = game.Players:GetPlayerFromCharacter(hit.Parent) if Player:IsInGroup(FEAR'S ID)==true then return end
Yeah, I'm an ex scripting helper. :P |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 10:35 PM |
| Yeah I know, that makes me sad. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 10:38 PM |
Although, if you'd like it to be filled out to a more understandable format, it'd be like this.
function onTouched(hit) --J00R stuff Player = game.Players:GetPlayerFromCharacter(hit.Parent) if Player:IsInGroup(FEAR's ID)==true then return end end script.Parent.Touched:connect(onTouched)
Anonymous function: script.Parent.Touched:connect(function(hit) --J00R stuff Player = game.Players:GetPlayerFromCharacter(hit.Parent) if Player:IsInGroup(FEAR's ID)==true then return end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Nov 2011 10:43 PM |
| lol Nah, I'll probably put them in my pit and then feed hapless F.E.A.R. members who do something wrong or spam. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 10:45 PM |
| I'm a prosauce scripter, show me the code, I'll give you a show |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 10:46 PM |
| Actually, I don't generally work with onKeyDown(), but I'll give it a shot. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 10:56 PM |
function onSelected(mouse) function onKeyDown(key) if key == "r" then --BRICK is your stuff that you previously have down, like mouse.Hit. :P BRICK.Transparency = 0.3 elseif key == "t" then BRICK.Transparency = 0 end end end script.Parent.Selected:connect(onSelected) mouse.KeyDown:connect(onKeyDown)
Anonymous function:
script.Parent.Selected:connect(function(mouse) mouse.KeyDown:connect(function() if key == "r" then --BRICK is your stuff that you previously have down, like mouse.Hit. :P BRICK.Transparency = 0.3 elseif key == "t" then BRICK.Transparency = 0 end end) end)
|
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Nov 2011 10:58 PM |
Hevy, I feel good to be a retired SHer. :3 It makes me seem somewhat useful for technical issues on C&G. |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2011 11:02 PM |
| The only thing we have to do is make it not track FEAR... not don't hurt FEAR. |
|
|
| Report Abuse |
|
|