|
| 17 Jul 2015 12:10 PM |
local plr = game.Players.LocalPlayer wait(1) if game:GetService("GamePassService"):PlayerHasPass(plr,271255908) then local door = game.Workspace:findFirstChild'VIP Door' if(door~=nil)then door:Destroy() end end
It's a local script in the StarterPack
There's no error
The outcome is that I can still see the door even though I have the gamepass
And yes I do have FilteringEnabled set to true
just your average noobling OTer |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2015 12:11 PM |
| FilteringEnabled has nothing to do with this, you just fail horribly at scripting. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2015 12:12 PM |
...
I'm glad I don't have over 2.9K posts and still wearing the default package
just your average noobling OTer |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 17 Jul 2015 12:16 PM |
Shut up OP, nQ is a better scripter than you.
Why in hell are you running this from a localscript?
trying to learn to hack on windows is like trying to play football in a body cast |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 17 Jul 2015 12:17 PM |
Do you even know what FilteringEnabled is?
I honestly don't think you're good enough to be utilizing it.
trying to learn to hack on windows is like trying to play football in a body cast |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2015 12:17 PM |
Put this in StarterPlayerScripts:
local hasPassFunction = game.ReplicatedStorage:WaitForChild("HasPassRemoteFunction") local canUseDoor = hasPassFunction:InvokeServer()
if canUseDoor then workspace:WaitForChild("VIP Door"):Destroy() end
Serverscript in ServerScriptService:
local hasPassFunction = Instance.new("RemoteFunction") hasPassFunction.Name = "HasPassRemoteFunction" hassPassFunction.Parent = game.ReplicatedStorage
local assetId = 271255908
local marketPlaceService = game:GetService("MarketplaceService")
hasPassFunction.OnServerInvoke = function(player) return marketPlaceService:PlayerOwnsAsset(player, assetId) end
|
|
|
| Report Abuse |
|
|
| |
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 17 Jul 2015 12:19 PM |
okay, I see what you're trying to do destroying it on th client, but your script still sucks major ass.
trying to learn to hack on windows is like trying to play football in a body cast |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 17 Jul 2015 12:19 PM |
@nQ I don't LMaD numbnuts.
The hats I have were payment from scripting.
trying to learn to hack on windows is like trying to play football in a body cast |
|
|
| Report Abuse |
|
|
ash877
|
  |
| Joined: 18 Feb 2008 |
| Total Posts: 5142 |
|
|
| 17 Jul 2015 12:29 PM |
| Isosta what program do you use to render your CG stuff. |
|
|
| Report Abuse |
|
|
Roblok1
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 2019 |
|
|
| 17 Jul 2015 12:41 PM |
| Here, let's try to run this in a server script instead of a local script. I guarantee that you will get better results. And also if this is a VIP door, you might want to try and put the script inside of the door itself. I don't know why you would want to run a local script inside of the player rather than running it in a server script instead? Oh well. |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 17 Jul 2015 01:22 PM |
@Ash,
what CG stuff?
trying to learn to hack on windows is like trying to play football in a body cast |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2015 01:31 PM |
... Do I seriously have to explain your stupidity.
apple maps: turn into the ditch over there |
|
|
| Report Abuse |
|
|