generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I need scripter for group door....

Previous Thread :: Next Thread 
iRoBLoLego is not online. iRoBLoLego
Joined: 01 Jul 2012
Total Posts: 1309
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
TheDominantLord is not online. TheDominantLord
Joined: 23 Aug 2011
Total Posts: 7866
13 Apr 2014 07:57 PM
.....
Report Abuse
WickedSiege is not online. WickedSiege
Joined: 03 Oct 2011
Total Posts: 3039
13 Apr 2014 07:59 PM
no scripter for U
Report Abuse
InternalSequence is not online. InternalSequence
Joined: 01 Nov 2012
Total Posts: 744
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
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
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
WickedSiege is not online. WickedSiege
Joined: 03 Oct 2011
Total Posts: 3039
13 Apr 2014 08:02 PM
Guys, let's moooveee this party ova to my post.
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
13 Apr 2014 08:19 PM
Cant tell if trolling, or if he is honestly that bad with typing.
Report Abuse
WickedSiege is not online. WickedSiege
Joined: 03 Oct 2011
Total Posts: 3039
13 Apr 2014 08:25 PM
Are you serious? Yes, I know how to type..
Report Abuse
MainDirectory is not online. MainDirectory
Joined: 20 Dec 2012
Total Posts: 1834
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 is not online. CWRA0444
Joined: 14 Jan 2010
Total Posts: 6013
13 Apr 2014 08:39 PM
Two words: Use :IsInGroup( int group id).
Report Abuse
WickedSiege is not online. WickedSiege
Joined: 03 Oct 2011
Total Posts: 3039
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image