Advertisement
2AreYouMental110

Cook Burgers Script Tp Delivery Truck

Apr 10th, 2021
1,022
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- original https://scriptsrbx.com/cook-burgers-teleport-delivery-truck-on-your-character
  2. -- may have to execute 2-3 times
  3. local Items = workspace.Truck:GetDescendants()
  4. for _, item in pairs(Items) do
  5.     if not item:IsA("ParticleEmitter") and item.ClassName:find("Part") or item.ClassName:find("Union")  then
  6.         local args = {
  7.             [1] = item,
  8.             [2] = game:GetService("Players").LocalPlayer
  9.         }
  10.  
  11.         game:GetService("ReplicatedStorage").Events.Network.SetNetworkOwnership:FireServer(unpack(args))
  12.  
  13.         item.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  14.       end
  15.    end
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement