Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clicked = false
- clicked3 = false
- block = owner.Character.HumanoidRootPart
- arm = Instance.new("Part",script)
- arm.Size = Vector3.new(0.75,2,0.75)
- owner.Character["Left Arm"]:Destroy()
- owner.Character["Right Arm"]:Destroy()
- local Socket = Instance.new("BallSocketConstraint")
- local a1 = Instance.new("Attachment")
- local a2 = Instance.new("Attachment")
- a1.Parent = block
- a2.Parent = arm
- Socket.Parent = block
- Socket.Attachment0 = a1
- Socket.Attachment1 = a2
- a1.WorldCFrame = a1.Parent.CFrame * CFrame.new(-1.5,0.5,0)
- a2.WorldCFrame = a2.Parent.CFrame * CFrame.new(0,1,0)
- arm3 = Instance.new("Part",script)
- arm3.Size = Vector3.new(0.75,2,0.75)
- local Socket3 = Instance.new("BallSocketConstraint")
- local a5 = Instance.new("Attachment")
- local a6 = Instance.new("Attachment")
- a5.Parent = arm
- a6.Parent = arm3
- Socket3.Parent = block
- Socket3.Attachment0 = a5
- Socket3.Attachment1 = a6
- a5.WorldCFrame = a5.Parent.CFrame * CFrame.new(0,-1,0)
- a6.WorldCFrame = a6.Parent.CFrame * CFrame.new(0,1,0)
- arm2 = Instance.new("Part",script)
- arm2.Size = Vector3.new(0.75,2,0.75)
- local Socket2 = Instance.new("BallSocketConstraint")
- local a3 = Instance.new("Attachment")
- local a4 = Instance.new("Attachment")
- a3.Parent = block
- a4.Parent = arm2
- Socket2.Parent = block
- Socket2.Attachment0 = a3
- Socket2.Attachment1 = a4
- a3.WorldCFrame = a3.Parent.CFrame * CFrame.new(1.5,0.5,0)
- a4.WorldCFrame = a4.Parent.CFrame * CFrame.new(0,1,0)
- arm4 = Instance.new("Part",script)
- arm4.Size = Vector3.new(0.75,2,0.75)
- local Socket4 = Instance.new("BallSocketConstraint")
- local a7 = Instance.new("Attachment")
- local a8 = Instance.new("Attachment")
- a7.Parent = arm2
- a8.Parent = arm4
- Socket4.Parent = block
- Socket4.Attachment0 = a7
- Socket4.Attachment1 = a8
- a7.WorldCFrame = a7.Parent.CFrame * CFrame.new(0,-1,0)
- a8.WorldCFrame = a8.Parent.CFrame * CFrame.new(0,1,0)
- hand = Instance.new("Part",owner.Character.Head)
- hand.Size = Vector3.new(1,1,1)
- hand.Name = "Hand"
- local Socket5 = Instance.new("BallSocketConstraint")
- local a9 = Instance.new("Attachment")
- local a10 = Instance.new("Attachment")
- a9.Parent = arm4
- a10.Parent = hand
- Socket5.Parent = block
- Socket5.Attachment0 = a9
- Socket5.Attachment1 = a10
- a9.WorldCFrame = a9.Parent.CFrame * CFrame.new(0,-1,0)
- hand2 = Instance.new("Part",owner.Character.Head)
- hand2.Size = Vector3.new(1,1,1)
- hand2.Name = "Hand2"
- local Socket6 = Instance.new("BallSocketConstraint")
- local a11 = Instance.new("Attachment")
- local a12 = Instance.new("Attachment")
- a11.Parent = arm3
- a12.Parent = hand2
- Socket6.Parent = block
- Socket6.Attachment0 = a11
- Socket6.Attachment1 = a12
- a11.WorldCFrame = a11.Parent.CFrame * CFrame.new(0,-1,0)
- hand.Anchored = true
- hand2.Anchored = true
- arm.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,0)
- arm2.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,0)
- arm3.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,-2)
- arm4.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,-2)
- hand.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1,-2)
- hand2.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1,-2)
- for i,v in pairs(script:GetDescendants()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v:SetNetworkOwner(owner)
- end
- end
- hand.CanCollide = false
- hand2.CanCollide = false
- local hit = Instance.new("Sound", owner.Character.Head)
- hit.SoundId = "rbxassetid://7242037470"
- hit.Volume = 2.75
- E = Instance.new("RemoteEvent",owner.Character)
- E.Name = "The"
- cangrab = false
- cangrab2 = false
- count = 0
- count2 = 0
- held = nil
- held2 = nil
- oldowner = nil
- oldowner2 = nil
- E.OnServerEvent:Connect(function(plr,action,target)
- pcall(function()
- if action == "grab" then
- count = count + 1
- clicked = true
- hit:Play()
- wait(0.5)
- clicked = false
- if count == 1 then
- wait()
- if (owner.Character.Torso.CFrame.Position - target.CFrame.Position).magnitude <= 10 then
- target:SetNetworkOwner(owner)
- alignposition = Instance.new("Weld")
- alignposition.Parent = hand2
- alignposition.Part0 = hand2
- alignposition.Part1 = target
- end
- elseif count == 2 then
- alignposition:Destroy()
- wait()
- count = 0
- end
- elseif action == "grab2" then
- count2 = count2 + 1
- clicked2 = true
- hit:Play()
- wait(0.5)
- clicked2 = false
- if count2 == 1 then
- wait()
- if (owner.Character.Torso.CFrame.Position - target.CFrame.Position).magnitude <= 10 then
- target:SetNetworkOwner(owner)
- alignposition2 = Instance.new("Weld")
- alignposition2.Parent = hand
- alignposition2.Part0 = hand
- alignposition2.Part1 = target
- end
- elseif count2 == 2 then
- alignposition2:Destroy()
- wait()
- count2 = 0
- end
- end
- end)
- end)
- NLS([[
- remote2 = owner.Character:WaitForChild("lookremote2")
- E = owner.Character:WaitForChild("The")
- hand = owner.Character.Head:WaitForChild("Hand")
- hand2 = owner.Character.Head:WaitForChild("Hand2")
- mouse = owner:GetMouse()
- clicked1 = false
- clicked2 = false
- mouse.KeyDown:Connect(function(key)
- key = key:lower()
- if key == "q" then
- clicked2 = true
- E:FireServer("grab",mouse.Target)
- wait(0.75)
- clicked2 = false
- E:FireServer("stop")
- elseif key == "e" then
- clicked1 = true
- E:FireServer("grab2",mouse.Target)
- wait(0.75)
- clicked1 = false
- E:FireServer("stop")
- end
- end)
- ]],owner.PlayerGui)
- weight = Instance.new("Part", owner.Character)
- weight.CanCollide = false
- weight.Transparency = 1
- weight.Size = Vector3.new(20,20,20)
- weight.CanTouch = false
- weight.CFrame = owner.Character.Torso.CFrame
- owner.Character.Torso.Anchored = true
- weightweld = Instance.new("Weld")
- weightweld.Parent = owner.Character.Torso
- weightweld.Part0 = owner.Character.Torso
- weightweld.Part1 = weight
- weightweld.C1 = CFrame.new(0,50,0)
- task.wait()
- owner.Character.Torso.Anchored = false
- NLS([[ -- thank rufus for head look and stuf
- owner = game:GetService("Players").LocalPlayer
- owner.Character:WaitForChild("Head")
- mouse = owner:GetMouse()
- local remote = owner.Character:WaitForChild("lookremote")
- local part = Instance.new("Part", owner.Character.Head)
- part.Size = Vector3.new(0.1,0.1,0.1)
- part.Transparency = 1
- part.CanCollide = false
- part.Name = "camera"
- part:BreakJoints()
- local weld = Instance.new("Weld", part)
- weld.Part0 = owner.Character.Head
- weld.Part1 = part
- weld.C0 = CFrame.new(0,0,-1)
- while game:GetService("RunService").RenderStepped:wait() do
- remote:FireServer(mouse.Hit.p, mouse.Origin.p, workspace.CurrentCamera.CFrame)
- if (workspace.CurrentCamera.CFrame.p - part.Position).magnitude <= 1.7 then
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position,Vector3.new(mouse.Hit.p.x,game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.y,mouse.Hit.p.z))
- workspace.CurrentCamera.FieldOfView = 100
- for i,v in pairs(owner.Character:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" and v.Name ~= "Head" then
- v.LocalTransparencyModifier = 0
- end
- if v.ClassName == "Accessory" then
- v.Handle.Transparency = 1
- end
- end
- if owner.Character.Head:findFirstChildOfClass("Decal") then
- owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 1
- end
- owner.Character.Head.Transparency = 1
- workspace.CurrentCamera.CameraSubject = part
- else
- for i,v in pairs(owner.Character:GetChildren()) do
- if v.ClassName == "Accessory" then
- v.Handle.Transparency = 0
- end
- end
- workspace.CurrentCamera.FieldOfView = 70
- owner.Character.Head.Transparency = 0
- if owner.Character.Head:findFirstChildOfClass("Decal") then
- owner.Character.Head:findFirstChildOfClass("Decal").Transparency = 0
- end
- workspace.CurrentCamera.CameraSubject = owner.Character
- end
- end
- ]], owner.Character)
- local remote = Instance.new("RemoteEvent", owner.Character)
- remote.Name = "lookremote"
- local remote2 = Instance.new("RemoteEvent", owner.Character)
- remote2.Name = "lookremote2"
- local headd = Instance.new("Weld", owner.Character.Torso)
- headd.Part0 = owner.Character.Torso
- headd.Part1 = owner.Character.Head
- headd.C0 = CFrame.new(0,1,0)
- headd.Name = "HeaddWeld"
- function look(plr, where, origin, cameracf)
- if plr == owner then
- local lookvector = owner.Character.Torso.CFrame:toObjectSpace(cameracf).lookVector.unit
- headd.C0 = CFrame.new(0,1,0) * CFrame.Angles(lookvector.y,0,0)
- headd.C0 = headd.C0 * CFrame.Angles(0,-lookvector.x,0)
- headd.C0 = headd.C0 * CFrame.new(0,0.5,0)
- end
- end
- remote.OnServerEvent:connect(look)
- function arms(plr,where1,where2)
- hand3.CFrame = where1
- hand4.CFrame = where2
- end
- remote2.OnServerEvent:connect(arms)
- while true do
- wait(game:GetService("RunService").Heartbeat)
- remote2:FireServer(hand3.CFrame,hand4.CFrame)
- if not clicked and not clicked3 then
- hand.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1.5,-2.5)
- hand2.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1.5,-2.5)
- elseif clicked then
- hand.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1.5,-4)
- hand2.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1.5,-2.5)
- elseif clicked3 then
- hand.CFrame = owner.Character.Head.CFrame * CFrame.new(1.5,-1.5,-2.5)
- hand2.CFrame = owner.Character.Head.CFrame * CFrame.new(-1.5,-1.5,-4)
- end
- end
Add Comment
Please, Sign In to add comment