Advertisement
3DCreator

teleport

Dec 22nd, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. local module = {}
  2.  
  3. module.run = function(player, message, arguments)
  4.     local target = require(_G.fetchplayer)(player, arguments[2])
  5.     local target2 = require(_G.fetchplayer)(player, arguments[3])[1]
  6.    
  7.     for _, v in pairs(target) do
  8.         local character = v.Character or v.CharacterAdded:Wait()
  9.        
  10.         character:SetPrimaryPartCFrame(target2.Character.PrimaryPart.CFrame)
  11.     end
  12. end
  13.  
  14. return module
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement