Advertisement
Meliodas0_0

Untitled

Sep 18th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. local a=Instance.new('LocalScript')a.Parent=CarTeleports;local b=a.Parent;local function c()if workspace:FindFirstChild(game:GetService("Players").LocalPlayer.Name).InVehicle then else game:GetService("StarterGui"):SetCore("SendNotification",{Title="No Vehicle Found!",Text="Enter a vehicle to use this command!",Duration=3})end end;c()local d=workspace.Vehicles:GetChildren()local e=game:GetService('Players').LocalPlayer.Name;for f,g in pairs(d)do local h=g:GetChildren()for f,i in pairs(h)do if i.Name=="Seat"then local j=i:GetChildren()for f,k in pairs(j)do if k.Value==e then k.Parent.Parent.Model.Body.Anchored=true;k.Parent.Parent.Model.Body.CFrame=CFrame.new(-13,21,782)k.Parent.Parent.Model.Body.Anchored=false end end end end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement