Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GamePassService = game:GetService('GamePassService')
- local door = script.Parent
- local GamepassID = 10326802 -- edit id to your gamepass
- local function TeleportToOtherSide(character, hitPart)
- end
- LeftButton = Game:GetDescendants("ReplicatedStorage").Events.Pressing
- Friteto.GetFunction(ClickPerSecond,cps)
- cps = 1
- wait(60) - click every minute
- local function OnTouched(otherPart)
- if GamePassService:PlayerHasPass(player, GamepassID) then
- TeleportToOtherSide(player.Character, otherPart)
- end
- end
- door.Touched:Connect(LeftButton,cps = 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement