chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 07:05 AM |
Needing help so I can make a vip area
thanks
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 28 Jul 2017 07:14 AM |
| why would anyone want that |
|
|
| Report Abuse |
|
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 07:15 AM |
ok what would you like?
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 07:18 AM |
ok
*feeds food to LaeMVP*
former atrer |
|
|
| Report Abuse |
|
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 28 Jul 2017 07:35 AM |
local PassId local Door = script.Parent local PS = game:GetService("PhysicsService") PS:CreateCollisionGroup("VIPPlayers") PS:CreateCollisionGroup("Door") PS:CollisionGroupSetCollidable("VIPPlayers","Door",false) PS:SetPartCollisionGroup(Door,"Door") local CGS = {} game.Players.PlayerAdded:Connect(function(plr) if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,PassId) then plr.CharacterAdded:Connect(function(char) local function SetCollisionGroup(Object) for i,v in pairs(char:GetChildren()) do if v:IsA("BasePart") then CGS[v] = v.CollisionGroupId game:GetService("PhysicsService"):SetPartCollisionGroup(v,"VIPPlayers") end end end SetCollisionGroup() char.DescendantAdded:Connect(SetCollisionGroup) end) end end) |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
| |
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 07:38 AM |
*gives food to laeMVP*
is this good
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 08:04 AM |
it doesnt seem to work for me, do i need to add anything else? local PassId = 942958061 local Door = script.Parent local PS = game:GetService("PhysicsService") PS:CreateCollisionGroup("VIPPlayers") PS:CreateCollisionGroup("Door") PS:CollisionGroupSetCollidable("VIPPlayers","Door",false) PS:SetPartCollisionGroup(Door,"Door") local CGS = {} game.Players.PlayerAdded:Connect(function(plr) if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,PassId) then plr.CharacterAdded:Connect(function(char) local function SetCollisionGroup(Object) for i,v in pairs(char:GetChildren()) do if v:IsA("BasePart") then CGS[v] = v.CollisionGroupId game:GetService("PhysicsService"):SetPartCollisionGroup(v,"VIPPlayers") end end end SetCollisionGroup() char.DescendantAdded:Connect(SetCollisionGroup) end) end end)
or if you can, make me a model? after all i gave you the food
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 28 Jul 2017 08:09 AM |
| just put that in a script in the door part |
|
|
| Report Abuse |
|
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 08:10 AM |
i put it in a script inside of a part I want them to walk through, it still doesn't work
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
Alcaras
|
  |
| Joined: 21 Oct 2014 |
| Total Posts: 1586 |
|
|
| 28 Jul 2017 08:27 AM |
laemvp, sent a FR.
got a paid project for you if you want
stay frosty |
|
|
| Report Abuse |
|
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
|
| 28 Jul 2017 08:28 AM |
Could you make it a model so I can take it?
former atrer |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 28 Jul 2017 09:01 AM |
| https://www.roblox.com/library/944627683/feed-ples |
|
|
| Report Abuse |
|
|
chloeb1
|
  |
| Joined: 28 Sep 2012 |
| Total Posts: 2460 |
|
| |
|
|
| 28 Jul 2017 09:24 AM |
| VipID = 232311; deb = false; script.Parent.Touched:connect(function(hit); if hit.Parent then if not deb then deb == true local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, VipID) then script.Parent.Transparency = ### #################### ########################## = 0 -- edit self deb = false end end end end end) -- should work. |
|
|
| Report Abuse |
|
|