Advertisement
SmokeDelsin

testclone

May 15th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. mouse.KeyDown:connect(function(key)
  2. print("Key Pressed : "..key)
  3. if key == "e" then
  4. if msg:lower():sub(1,6) == "place " then
  5. local chk1 = msg:lower():sub(7):find(" ") + 6
  6. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  7. for i, v in pairs(plrz) do
  8. coroutine.resume(coroutine.create(function()
  9. if v and v:findFirstChild("PlayerGui") then
  10. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  11. end
  12. end))
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement