Dark_EccentricYT

Untitled

Jan 28th, 2021 (edited)
94,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. --[[ Hats to wear:
  2. Will work with any color of the car
  3. https://www.roblox.com/catalog/4585144193/Elitoria-RN750
  4. https://www.roblox.com/catalog/5460317836/E-G-G-D-O-G
  5. credits: Terminated Egg#4125​ and Agility#1000
  6. ]]--
  7. if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Egg DogAccessory") and game:GetService("Players").LocalPlayer.Character:FindFirstChild("MeshPartAccessory") then
  8.  
  9. local plr = game:GetService("Players").LocalPlayer
  10. local char = plr.Character
  11. local egg = char["Egg DogAccessory"]
  12. local car = char["MeshPartAccessory"]
  13.  
  14. egg.Handle.AccessoryWeld:Destroy()
  15. local att0 = Instance.new("Attachment",egg.Handle)
  16. att0.Orientation = Vector3.new(0, 180, 0)
  17. att0.Position = Vector3.new(0, -0.3, 0.4)
  18.  
  19. local att1 = Instance.new("Attachment",car.Handle)
  20.  
  21. local ap = Instance.new("AlignPosition",egg.Handle)
  22. ap.Attachment0 = att0
  23. ap.Attachment1 = att1
  24. ap.RigidityEnabled = true
  25.  
  26.  
  27. local ao = Instance.new("AlignOrientation",egg.Handle)
  28. ao.Attachment0 = att0
  29. ao.Attachment1 = att1
  30. ao.RigidityEnabled = true
  31.  
  32. car.Handle.AccessoryWeld:Destroy()
  33.  
  34. local BP = Instance.new("BodyPosition", car.Handle)
  35. local BG = Instance.new("BodyGyro", car.Handle)
  36. game:GetService("RunService").Stepped:Connect(function()
  37. BP.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  38. BP.Position = char["HumanoidRootPart"].Position + Vector3.new(5, -2, 3)
  39. BG.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  40. BG.CFrame = char["HumanoidRootPart"].CFrame
  41. end)
  42. end
Add Comment
Please, Sign In to add comment