|
| 13 Apr 2014 07:47 PM |
| .I have try few model on catalog but no one work cause there are old script.So I need a scripter for make me a group door.Normally I can make script but I dont time for this cause I am working on a homework. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 13 Apr 2014 08:01 PM |
It would take less time to create a simple script like that than wait on the forums for someone to reply.. -shrugs-
- InternalSequence *Web Developer* |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 08:02 PM |
id = {id1,id2,id3} function groupdoor(hit) if hit.Parent:FindFirstChild("Humanoid") then nm = hit.Parent.Parent if nm:IsInGroup(id) then script.Parent.Transparency = 1 script.Parent.CanCollide = false end end end
script.Parent.Touched:connect(groupdoor) |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 08:02 PM |
| Guys, let's moooveee this party ova to my post. |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 08:19 PM |
| Cant tell if trolling, or if he is honestly that bad with typing. |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 08:25 PM |
| Are you serious? Yes, I know how to type.. |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 08:25 PM |
| That was directed at the OP, did you not read his post, I figured it was obvious I was talking about him.. .-. |
|
|
| Report Abuse |
|
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 13 Apr 2014 08:39 PM |
| Two words: Use :IsInGroup( int group id). |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 09:25 PM |
Im tired but I will do it anyways.
--Goes into a Script, in a brick
ID = --ID of your group goes there ting = 0 --Don't touch
function onHit(hit) player = game.Players:FindFirstChild(hit.Parent.Name) if player ~=nil then if player:IsInGroup(ID) then if ting == 0 then ting = 1 script.Parent.CanCollide = false script.Parent.Transparency = .6 wait(2) script.Parent.CanCollide = true script.Parent.Transparency = 0 wait(.5) ting = 0 end end end end script.Parent.Touched:connect(onHit)
Tell me if this works. Phew, tired
|
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 13 Apr 2014 09:34 PM |
Put this script in the door
local id = --Put the ID of your group here local db = false
script.Parent.Touched:connect(function(hit) db = true plr = game.Players:GetPlayerFromCharacter(hit.Parent) if (plr ~= nil) then if plr:IsInGroup(id) then for i = 1,10,1 do script.Parent.Transparency = i/10 wait(.1) end script.Parent.CanCollide = false wait(2) for i = 1,10,-1 do script.Parent.Transparency = i/10 wait(.1) end script.Parent.CanCollide = false db = false end end end) |
|
|
| Report Abuse |
|
|