Advertisement
Freightus2

Cadillac Leak Void Script Builder

May 6th, 2019
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. Hey, sorry for not uploading a new paste in a while. I see that we have 700 hits, and I am very proud of it!
  2. Here, you deserve another scrpit for all of your appreciation to my little paste account!
  3. I hope you enjoy the Caddilac script!
  4. -------------------------------------------
  5. --CHECK AND TURN THE SIGNALS TO THE RIGHT--
  6. -------------------------------------------
  7. --~Sugarie--
  8. ------------
  9.  
  10. wait(1/60)
  11. Effects = { }
  12. local Player = game:service'Players':GetPlayerFromCharacter(script.Parent)
  13. local chara = script.Parent
  14. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  15. local LeftArm = chara["Left Arm"]
  16. local RightArm = chara["Right Arm"]
  17. local LeftLeg = chara["Left Leg"]
  18. local RightLeg = chara["Right Leg"]
  19. local Head = chara.Head
  20. local Torso = chara.Torso
  21. local Camera = game.Workspace.CurrentCamera
  22. local RootPart = chara.HumanoidRootPart
  23. local RootJoint = RootPart.RootJoint
  24. local attack = false
  25. local Anim = 'Idle'
  26. local attacktype = 1
  27. local delays = false
  28. local play = true
  29. local targetted = nil
  30. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  31. local velocity = RootPart.Velocity.y
  32. local sine = 0
  33. local change = 1
  34. local doe = 0
  35. local Create = LoadLibrary("RbxUtility").Create
  36.  
  37. Humanoid.Animator.Parent = nil
  38. chara.Animate.Parent = nil
  39.  
  40. local newMotor = function(part0, part1, c0, c1)
  41. local w = Create('Motor'){
  42. Parent = part0,
  43. Part0 = part0,
  44. Part1 = part1,
  45. C0 = c0,
  46. C1 = c1,
  47. }
  48. return w
  49. end
  50.  
  51. function clerp(a, b, t)
  52. return a:lerp(b, t)
  53. end
  54.  
  55. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  56. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  57.  
  58. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  59. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  60. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  61. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  62. RootJoint.C1 = CFrame.new(0, 0, 0)
  63. RootJoint.C0 = CFrame.new(0, 0, 0)
  64. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  65. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  66.  
  67. local rarmc1 = RW.C1
  68. local larmc1 = LW.C1
  69. local rlegc1 = RH.C1
  70. local llegc1 = LH.C1
  71.  
  72. local resetc1 = false
  73.  
  74. function PlayAnimationFromTable(table, speed, bool)
  75. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  76. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  77. RW.C0 = clerp(RW.C0, table[3], speed)
  78. LW.C0 = clerp(LW.C0, table[4], speed)
  79. RH.C0 = clerp(RH.C0, table[5], speed)
  80. LH.C0 = clerp(LH.C0, table[6], speed)
  81. if bool == true then
  82. if resetc1 == false then
  83. resetc1 = true
  84. RootJoint.C1 = RootJoint.C1
  85. Torso.Neck.C1 = Torso.Neck.C1
  86. RW.C1 = rarmc1
  87. LW.C1 = larmc1
  88. RH.C1 = rlegc1
  89. LH.C1 = llegc1
  90. end
  91. end
  92. end
  93.  
  94. ArtificialHB = Instance.new("BindableEvent", script)
  95. ArtificialHB.Name = "Heartbeat"
  96. script:WaitForChild("Heartbeat")
  97. frame = 0.03333333333333
  98. tf = 0
  99. allowframeloss = false
  100. tossremainder = false
  101. lastframe = tick()
  102. script.Heartbeat:Fire()
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.Heartbeat:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.Heartbeat:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122. function swait(num)
  123. if num == 0 or num == nil then
  124. ArtificialHB.Event:wait()
  125. else
  126. for i = 0, num do
  127. ArtificialHB.Event:wait()
  128. end
  129. end
  130. end
  131.  
  132. function RemoveOutlines(part)
  133. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  134. end
  135.  
  136. sndid = "rbxassetid://340003761"
  137. sndpi = 1
  138. sndvo = 5
  139. saun = Instance.new("Sound",Head)
  140. saun.Volume = sndvo
  141. saun.Pitch = sndpi
  142. saun.SoundId = sndid
  143. saun.Name = "a"
  144. saun.Looped = true
  145. saun:Play()
  146.  
  147. dant = 0
  148.  
  149. New = function(Object, Parent, Name, Data)
  150. local Object = Instance.new(Object)
  151. for Index, Value in pairs(Data or {}) do
  152. Object[Index] = Value
  153. end
  154. Object.Parent = Parent
  155. Object.Name = Name
  156. return Object
  157. end
  158.  
  159. opos = Torso.Position
  160. local cad = script.Cadillac:Clone()
  161. script.Cadillac.Parent = nil
  162. cad:MoveTo(Torso.Position)
  163. cad.Parent = chara
  164. for i,v in pairs(cad:children()) do
  165. v.LocalTransparencyModifier = 0
  166. end
  167. local PaintPart = cad:FindFirstChild("PaintPart")
  168. Weld = New("ManualWeld",PaintPart,"Weld",{Part0 = PaintPart,Part1 = Torso,C1 = CFrame.new(1.71775818, -0.83713603, 1.37174606, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  169. chara:MoveTo(opos+Vector3.new(0,4,0))
  170.  
  171. cad:FindFirstChild("KillPart").Touched:connect(function(hit)
  172. local dude = hit.Parent
  173. local hah = dude:FindFirstChildOfClass("Humanoid")
  174. if hah and hah.Health > 0 and dude:FindFirstChild("GOTHIT")==nil and Torso.Velocity ~= Vector3.new(0,0,0) then
  175. Instance.new("BoolValue",dude).Name = "GOTHIT"
  176. if hah.RigType == Enum.HumanoidRigType.R6 then
  177. local raggy = script.RagdollScript:Clone()
  178. raggy.Parent = dude
  179. raggy.Disabled = false
  180. elseif hah.RigType == Enum.HumanoidRigType.R15 then
  181. local raggy = script.R15RagdollScript:Clone()
  182. raggy.Parent = dude
  183. raggy.Disabled = false
  184. end
  185. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  186. if torsy then
  187. torsy.Velocity = RootPart.CFrame.lookVector*100
  188. local so = Instance.new("Sound",torsy)
  189. so.SoundId = "rbxassetid://318985812"
  190. so.Volume = 1
  191. so.PlayOnRemove = true
  192. so:Destroy()
  193. end
  194. dude:BreakJoints()
  195. end
  196. end)
  197.  
  198. local keydownevent = script:WaitForChild("KeyDownEvent")
  199.  
  200. keydownevent.OnServerEvent:connect(function(ply,key)
  201. if ply == Player then
  202. key=key:lower()
  203. if key=="e" then
  204. if dant == 0 then
  205. dant = 1
  206. sndid = "rbxassetid://910810624"
  207. sndvo = 1
  208. elseif dant == 1 then
  209. dant = 2
  210. sndid = "rbxassetid://964577011"
  211. sndvo = 1
  212. elseif dant == 2 then
  213. dant = 3
  214. sndid = "rbxassetid://1598495056"
  215. sndvo = 1
  216. elseif dant == 3 then
  217. dant = 4
  218. sndid = "rbxassetid://684376608"
  219. sndvo = 1
  220. elseif dant == 4 then
  221. dant = 0
  222. sndid = "rbxassetid://340003761"
  223. sndvo = 1
  224. end
  225. saun.Pitch = sndpi
  226. saun.SoundId = sndid
  227. saun.Volume = sndvo
  228. saun:Play()
  229. end
  230. end
  231. end)
  232.  
  233. while true do
  234. if Head:FindFirstChild("a")==nil then
  235. saun = Instance.new("Sound",Head)
  236. saun.Volume = sndvo
  237. saun.Pitch = sndpi
  238. saun.SoundId = sndid
  239. saun.Name = "a"
  240. saun.Looped = true
  241. saun:Play()
  242. end
  243. Humanoid.WalkSpeed = 140
  244. for i = 0, 1, 0.2 do
  245. swait()
  246. PlayAnimationFromTable({
  247. CFrame.new(3.81469727e-06, 0.919076443, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  248. CFrame.new(0, 1.49999738, -1.49011612e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  249. CFrame.new(1.20946515, 0.193248183, -0.58490479, 0.939692736, 0.342019916, -4.25223249e-07, -0.171009958, 0.469845295, -0.866025984, -0.296197951, 0.813798487, 0.499998957),
  250. CFrame.new(-1.26339209, 0.195092499, -0.581699014, 0.866025269, -0.500000358, 1.65622282e-07, 0.250000089, 0.433012068, -0.866025686, 0.433013141, 0.750000119, 0.499999493),
  251. CFrame.new(0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
  252. CFrame.new(-0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
  253. }, .5, false)
  254. end
  255. for i = 0, 1, 0.2 do
  256. swait()
  257. PlayAnimationFromTable({
  258. CFrame.new(3.81469727e-06, 0.919076443, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  259. CFrame.new(0, 1.48659623, -0.223202646, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
  260. CFrame.new(1.20946515, 0.193248183, -0.58490479, 0.939692736, 0.342019916, -4.25223249e-07, -0.171009958, 0.469845295, -0.866025984, -0.296197951, 0.813798487, 0.499998957),
  261. CFrame.new(-1.26339209, 0.195092499, -0.581699014, 0.866025269, -0.500000358, 1.65622282e-07, 0.250000089, 0.433012068, -0.866025686, 0.433013141, 0.750000119, 0.499999493),
  262. CFrame.new(0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
  263. CFrame.new(-0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
  264. }, .5, false)
  265. end
  266. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement