Advertisement
subaru112g

car script broken for now

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