Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Kidnap(Plr)
- coroutine.resume(coroutine.create(function()
- local van = GetResource("Clowns"):Clone()
- local char = Plr.Character
- local torso = Plr.Character:FindFirstChild("HumanoidRootPart")
- local humanoid = Plr.Character:FindFirstChild("Humanoid")
- local p = Plr
- local function check()
- if not van or not van.Parent or not p or p.Parent ~= Services.Players or not torso or not humanoid or not torso.Parent or not humanoid.Parent or not char or not char.Parent then
- return false
- else
- return true
- end
- end
- local driver = van.Driver
- local grabber = van.Clown
- local primary = van.Primary
- local door = van.Door
- local tPos = torso.CFrame
- local sound = Instance.new("Sound",primary)
- sound.SoundId = "rbxassetid://258529216"
- sound.Looped = true
- sound:Play()
- local chuckle = Instance.new("Sound",primary)
- chuckle.SoundId = "rbxassetid://164516281"
- chuckle.Looped = true
- chuckle.Volume = 0.25
- chuckle:Play()
- van.Name = "ADONIS_VAN"
- van.Parent = workspace
- humanoid.Name = "NoResetForYou"
- humanoid.WalkSpeed = 0
- sound.Pitch = 1.3
- local sdsd = Instance.new("Sound", GetPlayerGui(Plr))
- sdsd.SoundId = 'rbxassetid://421358540'
- sdsd.Volume = 2
- sdsd:Play()
- for i = 1,200 do
- if not check() then
- break
- else
- van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
- wait(0.001*(i/5))
- end
- end
- sound.Pitch = 0.9
- wait(0.5)
- if check() then
- door.Transparency = 1
- end
- wait(0.5)
- if check() then
- torso.CFrame = primary.CFrame*(CFrame.new(0,2.5,0)*CFrame.Angles(0,math.rad(90),0))
- end
- wait(0.5)
- if check() then
- door.Transparency = 0
- end
- wait(0.5)
- sound.Pitch = 1.3
- p.CameraMaxZoomDistance = 0.5
- for i = 1,400 do
- if not check() then
- break
- else
- van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
- torso.CFrame = primary.CFrame*(CFrame.new(0,2.5,0)*CFrame.Angles(0,math.rad(90),0))
- wait(0.1/(i*5))
- if i == 270 then
- --server.Remote.FadeAudio(p,421358540,nil,nil,0.5)
- end
- end
- end
- local gui = Instance.new("ScreenGui",Services.ReplicatedStorage)
- local bg = Instance.new("Frame", gui)
- bg.BackgroundTransparency = 0
- bg.BackgroundColor3 = Color3.new(0,0,0)
- bg.Size = UDim2.new(2,0,2,0)
- bg.Position = UDim2.new(-0.5,0,-0.5,0)
- gui.Parent = GetPlayerGui(Plr)
- wait(2)
- --if p and p.Parent == game.Players then service.TeleportService:Teleport(527443962,p,nil,bg) end
- wait(0.5)
- p.CameraMaxZoomDistance = 400
- p.Character:BreakJoints()
- sdsd:Stop()
- pcall(function() van:Destroy() end)
- pcall(function() gui:Destroy() end)
- end))
- end
- _G.Kid = Kidnap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement