SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local crac = Instance.new("Sound", owner.Character.Head)
|
| 1 | + | |
| 2 | - | crac.SoundId = "rbxassetid://535681058" |
| 2 | + | for i,v in pairs(owner.Character:GetDescendants()) do |
| 3 | - | crac.Volume = 1 |
| 3 | + | if v:IsA("Motor6D") then
|
| 4 | local Socket = Instance.new("BallSocketConstraint")
| |
| 5 | - | for i,v in pairs(owner.Character:GetDescendants()) do |
| 5 | + | |
| 6 | - | if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
|
| 6 | + | |
| 7 | - | local Socket = Instance.new("BallSocketConstraint")
|
| 7 | + | |
| 8 | a2.Parent = v.Part1 | |
| 9 | Socket.Parent = v.Parent | |
| 10 | Socket.Attachment0 = a1 | |
| 11 | Socket.Attachment1 = a2 | |
| 12 | a1.CFrame = v.C0 | |
| 13 | a2.CFrame = v.C1 | |
| 14 | Socket.LimitsEnabled = true | |
| 15 | v:Destroy() | |
| 16 | end | |
| 17 | - | Socket.LimitsEnabled = true |
| 17 | + | |
| 18 | - | Socket.TwistLimitsEnabled = true |
| 18 | + | |
| 19 | owner.Character.Humanoid.RequiresNeck = false | |
| 20 | killfunction() | |
| 21 | ||
| 22 | local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
| |
| 23 | owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics) | |
| 24 | - | owner.Character.Humanoid.PlatformStand = true |
| 24 | + | |
| 25 | pcall(function() | |
| 26 | - | if v:IsA("BasePart") then
|
| 26 | + | v.CanCollide = false |
| 27 | - | v.Touched:connect(killfunction) |
| 27 | + | end) |
| 28 | end | |
| 29 | pcall(function() | |
| 30 | - | local hitforce = 35 |
| 30 | + | workspace.CurrentCamera.CameraSubject = owner.Character.Torso |
| 31 | - | function hit(hitp) |
| 31 | + | workspace.CurrentCamera.CameraSubject = owner.Character.UpperTorso |
| 32 | - | if hitp.Velocity.x <= -20 or hitp.Velocity.x >= 20 or hitp.Velocity.z <= -20 or hitp.Velocity.z >= 20 or hitp.Velocity.y <= -20 or hitp.Velocity.y >= 20 then |
| 32 | + | end) |
| 33 | - | for i,v in pairs(owner.Character:GetDescendants()) do |
| 33 | + | local Mouse = owner:GetMouse() |
| 34 | - | if v:IsA("BallSocketConstraint") and v.Parent.Name ~= "HumanoidRootPart" then
|
| 34 | + | function KeyDown(key) |
| 35 | - | if v.Parent == hitp then |
| 35 | + | key = key:lower() |
| 36 | - | local Socket = Instance.new("BallSocketConstraint")
|
| 36 | + | if key:byte() == 32 then |
| 37 | local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
| |
| 38 | Up.MaxForce = Vector3.new(0,1000000,0) | |
| 39 | - | a1.Parent = v.Attachment0.Parent |
| 39 | + | Up.Velocity = Vector3.new(0,25,0) |
| 40 | - | a2.Parent = v.Attachment1.Parent |
| 40 | + | wait(0.25) |
| 41 | Up:Destroy() | |
| 42 | end | |
| 43 | end | |
| 44 | - | a1.CFrame = v.Attachment0.CFrame |
| 44 | + | Mouse.KeyDown:Connect(KeyDown) |
| 45 | - | a2.CFrame = v.Attachment1.CFrame |
| 45 | + | ]],owner.PlayerGui)) |
| 46 | - | Socket.LimitsEnabled = false |
| 46 | + | |
| 47 | - | Socket.TwistLimitsEnabled = false |
| 47 | + | local Velocity = Instance.new("BodyAngularVelocity")
|
| 48 | - | v:Destroy() |
| 48 | + | Velocity.Parent = owner.Character.HumanoidRootPart |
| 49 | - | crac:Play() |
| 49 | + | |
| 50 | while true do | |
| 51 | wait() | |
| 52 | Velocity.AngularVelocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 10,0,owner.Character.Humanoid.MoveDirection.x * -10) | |
| 53 | Velocity.MaxTorque = Vector3.new(5000,5000,5000) | |
| 54 | if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then | |
| 55 | Velocity.MaxTorque = Vector3.new(0,0,0) | |
| 56 | - | if v:IsA("BasePart") then
|
| 56 | + | end |
| 57 | - | v.Touched:connect(hit) |
| 57 | + | end |