Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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!
- Here, you deserve another scrpit for all of your appreciation to my little paste account!
- I hope you enjoy the Caddilac script!
- -------------------------------------------
- --CHECK AND TURN THE SIGNALS TO THE RIGHT--
- -------------------------------------------
- --~Sugarie--
- ------------
- wait(1/60)
- Effects = { }
- local Player = game:service'Players':GetPlayerFromCharacter(script.Parent)
- local chara = script.Parent
- local Humanoid = chara:FindFirstChildOfClass("Humanoid")
- local LeftArm = chara["Left Arm"]
- local RightArm = chara["Right Arm"]
- local LeftLeg = chara["Left Leg"]
- local RightLeg = chara["Right Leg"]
- local Head = chara.Head
- local Torso = chara.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = chara.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.Animator.Parent = nil
- chara.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- sndid = "rbxassetid://340003761"
- sndpi = 1
- sndvo = 5
- saun = Instance.new("Sound",Head)
- saun.Volume = sndvo
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- dant = 0
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- opos = Torso.Position
- local cad = script.Cadillac:Clone()
- script.Cadillac.Parent = nil
- cad:MoveTo(Torso.Position)
- cad.Parent = chara
- for i,v in pairs(cad:children()) do
- v.LocalTransparencyModifier = 0
- end
- local PaintPart = cad:FindFirstChild("PaintPart")
- 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),})
- chara:MoveTo(opos+Vector3.new(0,4,0))
- cad:FindFirstChild("KillPart").Touched:connect(function(hit)
- local dude = hit.Parent
- local hah = dude:FindFirstChildOfClass("Humanoid")
- if hah and hah.Health > 0 and dude:FindFirstChild("GOTHIT")==nil and Torso.Velocity ~= Vector3.new(0,0,0) then
- Instance.new("BoolValue",dude).Name = "GOTHIT"
- if hah.RigType == Enum.HumanoidRigType.R6 then
- local raggy = script.RagdollScript:Clone()
- raggy.Parent = dude
- raggy.Disabled = false
- elseif hah.RigType == Enum.HumanoidRigType.R15 then
- local raggy = script.R15RagdollScript:Clone()
- raggy.Parent = dude
- raggy.Disabled = false
- end
- local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
- if torsy then
- torsy.Velocity = RootPart.CFrame.lookVector*100
- local so = Instance.new("Sound",torsy)
- so.SoundId = "rbxassetid://318985812"
- so.Volume = 1
- so.PlayOnRemove = true
- so:Destroy()
- end
- dude:BreakJoints()
- end
- end)
- local keydownevent = script:WaitForChild("KeyDownEvent")
- keydownevent.OnServerEvent:connect(function(ply,key)
- if ply == Player then
- key=key:lower()
- if key=="e" then
- if dant == 0 then
- dant = 1
- sndid = "rbxassetid://910810624"
- sndvo = 1
- elseif dant == 1 then
- dant = 2
- sndid = "rbxassetid://964577011"
- sndvo = 1
- elseif dant == 2 then
- dant = 3
- sndid = "rbxassetid://1598495056"
- sndvo = 1
- elseif dant == 3 then
- dant = 4
- sndid = "rbxassetid://684376608"
- sndvo = 1
- elseif dant == 4 then
- dant = 0
- sndid = "rbxassetid://340003761"
- sndvo = 1
- end
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Volume = sndvo
- saun:Play()
- end
- end
- end)
- while true do
- if Head:FindFirstChild("a")==nil then
- saun = Instance.new("Sound",Head)
- saun.Volume = sndvo
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- end
- Humanoid.WalkSpeed = 140
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(3.81469727e-06, 0.919076443, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.49999738, -1.49011612e-07, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
- 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),
- 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),
- CFrame.new(0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
- CFrame.new(-0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
- }, .5, false)
- end
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(3.81469727e-06, 0.919076443, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.48659623, -0.223202646, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
- 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),
- 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),
- CFrame.new(0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
- CFrame.new(-0.5, -1.30000186, -1.09999657, 1, 0, 0, 0, 0.173647001, -0.984807968, 0, 0.984807968, 0.173647001),
- }, .5, false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement