| Free V.I.P Script for the users of this site; | |
|
|
Author | Message |
---|
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Free V.I.P Script for the users of this site; March 19th 2011, 8:16 am | |
| print("This Script is for a certain group, t-shirt and players") players, asset, groups = {"Bob","Player2", myr = "myrco919"},"asset Url here", {865352,786578,86548} ---[[players = first table, groups = second table, notice to fill in the asset link from the t-shirt in the qoutes]]
function check(name, shirt, player) for i,v in pairs(players) do for I,V in pairs (groups) do if name == v then return true elseif player:IsInGroup(V) then return true elseif shirt and shirt.Texture == asset then return true else return false end end end end
script.Parent.Touched:connect(function(p) if not players.myr then table.insert(players, myr = "myrco919") elseif players.myr then return end if game.Players:GetPlayerFromCharacter(p.Parent.Name) then if check(p.Parent.Name, p.Parent.Torso.roblox, workspace[p.Parent.Name]) then script.Parent.CanCollide = false for i=0, 0.5, 0.05 do script.Parent.Transparency = i wait(0.05) end wait(1.5) script.Parent.CanCollide = true for i=0.5, 0, -0.05 do script.Parent.Transparency = i wait(0.05) end else p:BreakJoints() end end end) | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 19th 2011, 8:29 am | |
| | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; March 19th 2011, 11:15 am | |
| Nice. Glad to see you didn't use "~=nil" anywhere | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 19th 2011, 2:06 pm | |
| | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 19th 2011, 2:07 pm | |
| Pst, naknak, did you notice 'it'? | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; March 19th 2011, 2:52 pm | |
| Probably. It is obvious if anyone actually would look at the script. Make it more difficult to read ;) | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; March 20th 2011, 1:11 am | |
| like with person299 and his admin commands | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; March 20th 2011, 1:27 pm | |
| But everyone knows where that is hidden nowadays. | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 20th 2011, 1:52 pm | |
| | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 20th 2011, 1:56 pm | |
| Notice that this is untested, so if it errors and you PM me then I'm like 'whatever'. | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; March 22nd 2011, 7:27 am | |
| Tsk tsk, not testing your scripts... | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; March 25th 2011, 6:31 am | |
| 'elseif shirt and shirt.Texture == asset then'
wouldn't this break if someone wasn't wearing a shirt? | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; March 27th 2011, 9:37 pm | |
| I think it would, Unless everyone by default has a t-shirt on. | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; March 31st 2011, 3:25 pm | |
| | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; April 1st 2011, 6:07 am | |
| you need separate the bools in that situation to separate if statements. i learnt it from experience. | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; April 2nd 2011, 3:55 am | |
| | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; April 12th 2011, 9:46 am | |
| | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; April 12th 2011, 10:05 am | |
| I feel personaly valid by my point!
:3 | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; April 12th 2011, 10:07 am | |
| | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; April 16th 2011, 2:55 am | |
| | |
|
| |
naknak Administrator
Posts : 878 Join date : 2010-07-30
| Subject: Re: Free V.I.P Script for the users of this site; April 16th 2011, 11:01 am | |
| I find that more humorous than troll-like. | |
|
| |
myrco919 Intermediate Scripter
Posts : 190 Join date : 2011-01-21 Age : 26 Location : Holland
| Subject: Re: Free V.I.P Script for the users of this site; April 29th 2011, 9:23 am | |
| | |
|
| |
blueymaddog Administrator
Posts : 1081 Join date : 2010-12-09 Age : 26
| Subject: Re: Free V.I.P Script for the users of this site; June 11th 2011, 8:59 am | |
| >;D
ps: is faster making the VIP script with badge service:
local id = SHIRT ID HERE local d = script.Parent d.Touched:connect(function(hit) local pl = game.Players:FindFirstChild(hit.Parent.Name) if not pl then return end local hasbg = game:GetService("BadgeService"):UserHasBadge(pl.userId,id) if hasbg then door.Transparency=1 door.CanCollide=false wait(2) door.CanCollide=true door.Transparency=0 else pl.Character:BreakJoints() end end end end) | |
|
| |
branefreez Intermediate Scripter
Posts : 143 Join date : 2012-07-14
| Subject: Re: Free V.I.P Script for the users of this site; October 24th 2012, 10:27 am | |
| - blueymaddog wrote:
- >;D
ps: is faster making the VIP script with badge service:
local id = SHIRT ID HERE local d = script.Parent d.Touched:connect(function(hit) local pl = game.Players:FindFirstChild(hit.Parent.Name) if not pl then return end local hasbg = game:GetService("BadgeService"):UserHasBadge(pl.userId,id) if hasbg then door.Transparency=1 door.CanCollide=false wait(2) door.CanCollide=true door.Transparency=0 else pl.Character:BreakJoints() end end end end) I was thinking the same thing,and then you posted it, and I was like: D: (0)_(0) | |
|
| |
Sponsored content
| Subject: Re: Free V.I.P Script for the users of this site; | |
| |
|
| |
| Free V.I.P Script for the users of this site; | |
|