Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local teleportService = game:GetService("TeleportService")
  2. local placeId = 7722517
  3. local instanceId = 8891240
  4.  
  5. script.Parent.MouseButton1Click:connect(function()
  6. if script.Parent.TargetPlayerBar.Text == "" then
  7. teleportService:TeleportToPlaceInstance(placeId, instanceId, game.Players.LocalPlayer)
  8. end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement