subaru112g

car script

Nov 5th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local char = plr.Character
  3.  
  4. local seat = Instance.new("Part",char)
  5. seat.Size = Vector3.new(1,0.1,1)
  6. seat.Position = char.Torso.Position
  7. seat.Transparency = 1
  8.  
  9. local st = Instance.new("Weld",char)
  10. st.C0 = CFrame.new(0,-1,-4)
  11. st.Part0 = char.Torso
  12. st.Part1 = seat
  13.  
  14. local cm = Instance.new("SpecialMesh",char.Torso)
  15. cm.Scale = Vector3.new(2,2,2)
  16. cm.MeshType = "FileMesh"
  17. cm.MeshId = "http://www.roblox.com/asset/?id=334652521"
  18. cm.TextureId = "http://www.roblox.com/asset/?id=334652792"
  19. cm.Offset = Vector3.new(0,-1.3,0)
  20.  
  21. char.Animate:Destroy()
  22.  
  23. for _, child in pairs(char:GetChildren()) do
  24. if child.ClassName == 'Accessory' then
  25. child.Handle.Transparency = 1
  26. end
  27. end
  28.  
  29. char.Humanoid.WalkSpeed = 40
  30. char.Humanoid.MaxHealth = 400
  31. char.Humanoid.Health = 400
  32. char.Head.face.Transparency = 1
  33.  
  34. char.Head.Transparency = 1
  35. char["Right Leg"].Transparency = 1
  36. char["Right Arm"].Transparency = 1
  37. char["Left Leg"].Transparency = 1
  38. char["Left Arm"].Transparency = 1
  39.  
  40. char.Torso.roblox:Destroy()
  41.  
  42. local died = Instance.new("BoolValue",char)
  43. died.Value = false
  44.  
  45. chats = {"Crash!"}
  46.  
  47. plr.Character.Humanoid.Died:connect(function()
  48. died.Value = true
  49.  
  50. char.Torso.Anchored = true
  51. char.Head.Anchored = true
  52. char.Part.Anchored = true
  53. char["Left Leg"].Anchored = true
  54. char["Left Arm"].Anchored = true
  55. char["Right Leg"].Anchored = true
  56. char["Right Arm"].Anchored = true
  57.  
  58. local cef = Instance.new("Fire",char.Part)
  59. char.Humanoid:Destroy()
  60. game.Workspace.CurrentCamera.CameraSubject = char.Torso
  61. wait(0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)
  62. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character.Head, chats[math.random(1, #chats)], Enum.ChatColor.Red)
  63.  
  64. local ce = Instance.new("Sound",char.Part)
  65. ce.Volume = 1
  66. ce.SoundId = "rbxassetid://144699494"
  67. ce:Play()
  68.  
  69. local cee = Instance.new("Explosion",char.Part)
  70. cee.DestroyJointRadiusPercent = 2
  71. cee.Position = char.Part.Position
  72.  
  73. char.Torso.Mesh.TextureId = "http://www.roblox.com/asset/?id=1539341292"
  74. end)
Add Comment
Please, Sign In to add comment