Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- --|| Controls:
- -- [ R2 ] - Sprint
- -- [ L2 ] - Crouch
- -- [ L2 TAP ] - Chat HUD
- -- [ Y ] - Point Walk -- movement joystick works -- may or may not be mixed up with the Teleport button
- -- [ B ] - Point Teleport -- may or may not be mixed up with the Walk button
- -- [ X ] - RagdollEnabled die
- -- [ C ] - Non-VR Teleport
- -- [ LSHIFT ] - Non-VR Sprint
- -- [ LCTRL ] - Non-VR Crouch
- -- Default Roblox VR controls are included
- --|| Settings:
- local mas = script
- local Humanoid = Instance.new("Humanoid")
- local face_2 = Instance.new("Decal")
- local OriginalSize_17 = Instance.new("Vector3Value")
- local Neck = Instance.new("Motor6D")
- local face = Instance.new("Decal")
- local OriginalPosition_46 = Instance.new("Vector3Value")
- local NeckRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_45 = Instance.new("Vector3Value")
- local HatAttachment = Instance.new("Attachment")
- local OriginalPosition_44 = Instance.new("Vector3Value")
- local HairAttachment = Instance.new("Attachment")
- local OriginalPosition_43 = Instance.new("Vector3Value")
- local FaceFrontAttachment = Instance.new("Attachment")
- local OriginalPosition_42 = Instance.new("Vector3Value")
- local FaceCenterAttachment = Instance.new("Attachment")
- local OriginalSize_16 = Instance.new("Vector3Value")
- local Mesh = Instance.new("SpecialMesh")
- local Head = Instance.new("Part")
- local OriginalSize_15 = Instance.new("Vector3Value")
- local Root = Instance.new("Motor6D")
- local OriginalPosition_41 = Instance.new("Vector3Value")
- local WaistBackAttachment = Instance.new("Attachment")
- local OriginalPosition_40 = Instance.new("Vector3Value")
- local WaistFrontAttachment = Instance.new("Attachment")
- local OriginalPosition_39 = Instance.new("Vector3Value")
- local WaistCenterAttachment = Instance.new("Attachment")
- local OriginalPosition_38 = Instance.new("Vector3Value")
- local RightHipRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_37 = Instance.new("Vector3Value")
- local LeftHipRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_36 = Instance.new("Vector3Value")
- local WaistRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_35 = Instance.new("Vector3Value")
- local RootRigAttachment_2 = Instance.new("Attachment")
- local LowerTorso = Instance.new("MeshPart")
- local HipAlignment_2 = Instance.new("AlignOrientation")
- local HipConstraint_2 = Instance.new("AlignPosition")
- local OriginalSize_14 = Instance.new("Vector3Value")
- local RightHip = Instance.new("Motor6D")
- local OriginalPosition_34 = Instance.new("Vector3Value")
- local RightKneeRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_33 = Instance.new("Vector3Value")
- local RightHipRigAttachment = Instance.new("Attachment")
- local RightUpperLeg = Instance.new("MeshPart")
- local KneeConstraint_2 = Instance.new("BallSocketConstraint")
- local AnkleConstraint_2 = Instance.new("BallSocketConstraint")
- local OriginalSize_13 = Instance.new("Vector3Value")
- local RightKnee = Instance.new("Motor6D")
- local OriginalPosition_32 = Instance.new("Vector3Value")
- local RightAnkleRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_31 = Instance.new("Vector3Value")
- local RightKneeRigAttachment = Instance.new("Attachment")
- local RightLowerLeg = Instance.new("MeshPart")
- local BodyGyro_2 = Instance.new("BodyGyro")
- local BodyPosition_2 = Instance.new("BodyPosition")
- local OriginalSize_12 = Instance.new("Vector3Value")
- local RightAnkle = Instance.new("Motor6D")
- local OriginalPosition_30 = Instance.new("Vector3Value")
- local RightAnkleRigAttachment = Instance.new("Attachment")
- local RightFoot = Instance.new("MeshPart")
- local HipAlignment = Instance.new("AlignOrientation")
- local HipConstraint = Instance.new("AlignPosition")
- local OriginalSize_11 = Instance.new("Vector3Value")
- local LeftHip = Instance.new("Motor6D")
- local OriginalPosition_29 = Instance.new("Vector3Value")
- local LeftKneeRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_28 = Instance.new("Vector3Value")
- local LeftHipRigAttachment = Instance.new("Attachment")
- local LeftUpperLeg = Instance.new("MeshPart")
- local AnkleConstraint = Instance.new("BallSocketConstraint")
- local KneeConstraint = Instance.new("BallSocketConstraint")
- local OriginalSize_10 = Instance.new("Vector3Value")
- local LeftKnee = Instance.new("Motor6D")
- local OriginalPosition_27 = Instance.new("Vector3Value")
- local LeftAnkleRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_26 = Instance.new("Vector3Value")
- local LeftKneeRigAttachment = Instance.new("Attachment")
- local LeftLowerLeg = Instance.new("MeshPart")
- local BodyGyro = Instance.new("BodyGyro")
- local BodyPosition = Instance.new("BodyPosition")
- local OriginalSize_9 = Instance.new("Vector3Value")
- local LeftAnkle = Instance.new("Motor6D")
- local OriginalPosition_25 = Instance.new("Vector3Value")
- local LeftAnkleRigAttachment = Instance.new("Attachment")
- local LeftFoot = Instance.new("MeshPart")
- local WaistConstraint = Instance.new("HingeConstraint")
- local NeckConstraint = Instance.new("BallSocketConstraint")
- local OriginalSize_8 = Instance.new("Vector3Value")
- local Waist = Instance.new("Motor6D")
- local OriginalPosition_24 = Instance.new("Vector3Value")
- local NeckAttachment = Instance.new("Attachment")
- local OriginalPosition_23 = Instance.new("Vector3Value")
- local RightCollarAttachment = Instance.new("Attachment")
- local OriginalPosition_22 = Instance.new("Vector3Value")
- local LeftCollarAttachment = Instance.new("Attachment")
- local OriginalPosition_21 = Instance.new("Vector3Value")
- local BodyBackAttachment = Instance.new("Attachment")
- local OriginalPosition_20 = Instance.new("Vector3Value")
- local BodyFrontAttachment = Instance.new("Attachment")
- local OriginalPosition_19 = Instance.new("Vector3Value")
- local RightShoulderRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_18 = Instance.new("Vector3Value")
- local LeftShoulderRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_17 = Instance.new("Vector3Value")
- local NeckRigAttachment = Instance.new("Attachment")
- local OriginalPosition_16 = Instance.new("Vector3Value")
- local WaistRigAttachment = Instance.new("Attachment")
- local UpperTorso = Instance.new("MeshPart")
- local ShoulderAlignment_2 = Instance.new("AlignOrientation")
- local Aim_2 = Instance.new("BodyGyro")
- local ShoulderConstraint_2 = Instance.new("AlignPosition")
- local ElbowConstraint_2 = Instance.new("BallSocketConstraint")
- local OriginalSize_7 = Instance.new("Vector3Value")
- local RightShoulder = Instance.new("Motor6D")
- local OriginalPosition_15 = Instance.new("Vector3Value")
- local RightShoulderAttachment = Instance.new("Attachment")
- local OriginalPosition_14 = Instance.new("Vector3Value")
- local RightElbowRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_13 = Instance.new("Vector3Value")
- local RightShoulderRigAttachment = Instance.new("Attachment")
- local RightUpperArm = Instance.new("MeshPart")
- local WristConstraint_2 = Instance.new("AlignPosition")
- local OriginalSize_6 = Instance.new("Vector3Value")
- local RightElbow = Instance.new("Motor6D")
- local OriginalPosition_12 = Instance.new("Vector3Value")
- local RightWristRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_11 = Instance.new("Vector3Value")
- local RightElbowRigAttachment = Instance.new("Attachment")
- local RightLowerArm = Instance.new("MeshPart")
- local OriginalSize_5 = Instance.new("Vector3Value")
- local RightWrist = Instance.new("Motor6D")
- local OriginalPosition_10 = Instance.new("Vector3Value")
- local RightGripAttachment = Instance.new("Attachment")
- local OriginalPosition_9 = Instance.new("Vector3Value")
- local RightWristRigAttachment = Instance.new("Attachment")
- local RightHand = Instance.new("MeshPart")
- local ShoulderAlignment = Instance.new("AlignOrientation")
- local Aim = Instance.new("BodyGyro")
- local ShoulderConstraint = Instance.new("AlignPosition")
- local ElbowConstraint = Instance.new("BallSocketConstraint")
- local OriginalSize_4 = Instance.new("Vector3Value")
- local LeftShoulder = Instance.new("Motor6D")
- local OriginalPosition_8 = Instance.new("Vector3Value")
- local LeftShoulderAttachment = Instance.new("Attachment")
- local OriginalPosition_7 = Instance.new("Vector3Value")
- local LeftElbowRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_6 = Instance.new("Vector3Value")
- local LeftShoulderRigAttachment = Instance.new("Attachment")
- local LeftUpperArm = Instance.new("MeshPart")
- local WristConstraint = Instance.new("AlignPosition")
- local OriginalSize_3 = Instance.new("Vector3Value")
- local LeftElbow = Instance.new("Motor6D")
- local OriginalPosition_5 = Instance.new("Vector3Value")
- local LeftWristRigAttachment_2 = Instance.new("Attachment")
- local OriginalPosition_4 = Instance.new("Vector3Value")
- local LeftElbowRigAttachment = Instance.new("Attachment")
- local LeftLowerArm = Instance.new("MeshPart")
- local OriginalSize_2 = Instance.new("Vector3Value")
- local LeftWrist = Instance.new("Motor6D")
- local OriginalPosition_3 = Instance.new("Vector3Value")
- local LeftGripAttachment = Instance.new("Attachment")
- local OriginalPosition_2 = Instance.new("Vector3Value")
- local LeftWristRigAttachment = Instance.new("Attachment")
- local LeftHand = Instance.new("MeshPart")
- local OriginalSize = Instance.new("Vector3Value")
- local OriginalPosition = Instance.new("Vector3Value")
- local RootRigAttachment = Instance.new("Attachment")
- local HumanoidRootPart = Instance.new("Part")
- local Dummy = Instance.new("Model")
- Dummy.Name = "Dummy"
- Dummy.PrimaryPart = HumanoidRootPart
- Dummy.Parent = mas
- HumanoidRootPart.Massless = true
- HumanoidRootPart.Size = Vector3.new(2,2,1)
- HumanoidRootPart.Name = "HumanoidRootPart"
- HumanoidRootPart.CanCollide = false
- HumanoidRootPart.Transparency = 1
- HumanoidRootPart.CFrame = CFrame.new(118.2144,14.8212,86.635,1,0,0,0,1,0,0,0,1)
- HumanoidRootPart.Parent = Dummy
- RootRigAttachment.WorldPosition = Vector3.new(118.214,13.821,86.635)
- RootRigAttachment.CFrame = CFrame.new(0,-1,0,1,0,0,0,1,0,0,0,1)
- RootRigAttachment.WorldCFrame = CFrame.new(118.2144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- RootRigAttachment.Name = "RootRigAttachment"
- RootRigAttachment.Position = Vector3.new(0,-1,0)
- RootRigAttachment.Parent = HumanoidRootPart
- OriginalPosition.Name = "OriginalPosition"
- OriginalPosition.Value = Vector3.new(0,-0.35,0)
- OriginalPosition.Parent = RootRigAttachment
- OriginalSize.Name = "OriginalSize"
- OriginalSize.Value = Vector3.new(2,2,1)
- OriginalSize.Parent = HumanoidRootPart
- LeftHand.Massless = true
- LeftHand.Size = Vector3.new(1,0.3,1)
- LeftHand.Name = "LeftHand"
- LeftHand.CanCollide = false
- LeftHand.Transparency = 0.5
- LeftHand.CFrame = CFrame.new(116.7144,13.9711,86.635,1,0,0,0,1,0,0,0,1)
- LeftHand.Parent = Dummy
- LeftWristRigAttachment.WorldPosition = Vector3.new(116.715,14.096,86.635)
- LeftWristRigAttachment.CFrame = CFrame.new(0.0005,0.125,0,1,0,0,0,1,0,0,0,1)
- LeftWristRigAttachment.WorldCFrame = CFrame.new(116.7149,14.0962,86.635,1,0,0,0,1,0,0,0,1)
- LeftWristRigAttachment.Name = "LeftWristRigAttachment"
- LeftWristRigAttachment.Position = Vector3.new(0,0.125,0)
- LeftWristRigAttachment.Parent = LeftHand
- OriginalPosition_2.Name = "OriginalPosition"
- OriginalPosition_2.Value = Vector3.new(0,0.125,0)
- OriginalPosition_2.Parent = LeftWristRigAttachment
- LeftGripAttachment.WorldPosition = Vector3.new(116.714,13.821,86.635)
- LeftGripAttachment.WorldOrientation = Vector3.new(-90,0,0)
- LeftGripAttachment.CFrame = CFrame.new(0,-0.15,0,1,0,0,0,0,1,0,-1,0)
- LeftGripAttachment.SecondaryAxis = Vector3.new(0,0,-1)
- LeftGripAttachment.WorldCFrame = CFrame.new(116.7144,13.8212,86.635,1,0,0,0,0,1,0,-1,0)
- LeftGripAttachment.Name = "LeftGripAttachment"
- LeftGripAttachment.Orientation = Vector3.new(-90,0,0)
- LeftGripAttachment.WorldSecondaryAxis = Vector3.new(0,0,-1)
- LeftGripAttachment.Position = Vector3.new(0,-0.15,0)
- LeftGripAttachment.Parent = LeftHand
- OriginalPosition_3.Name = "OriginalPosition"
- OriginalPosition_3.Value = Vector3.new(0,-0.15,0)
- OriginalPosition_3.Parent = LeftGripAttachment
- LeftWrist.C1 = CFrame.new(0.0005,0.125,0,1,0,0,0,1,0,0,0,1)
- LeftWrist.C0 = CFrame.new(0.0005,-0.5009,0,1,0,0,0,1,0,0,0,1)
- LeftWrist.Name = "LeftWrist"
- LeftWrist.Part1 = LeftHand
- LeftWrist.Part0 = LeftLowerArm
- LeftWrist.Parent = LeftHand
- OriginalSize_2.Name = "OriginalSize"
- OriginalSize_2.Value = Vector3.new(1,0.3,1)
- OriginalSize_2.Parent = LeftHand
- LeftLowerArm.Massless = true
- LeftLowerArm.Size = Vector3.new(1,1.052,1)
- LeftLowerArm.Name = "LeftLowerArm"
- LeftLowerArm.CanCollide = false
- LeftLowerArm.Transparency = 0.5
- LeftLowerArm.CFrame = CFrame.new(116.7144,14.5971,86.635,1,0,0,0,1,0,0,0,1)
- LeftLowerArm.Parent = Dummy
- LeftElbowRigAttachment.WorldPosition = Vector3.new(116.715,14.856,86.635)
- LeftElbowRigAttachment.CFrame = CFrame.new(0.0005,0.2587,0,1,0,0,0,1,0,0,0,1)
- LeftElbowRigAttachment.WorldCFrame = CFrame.new(116.7149,14.8558,86.635,1,0,0,0,1,0,0,0,1)
- LeftElbowRigAttachment.Name = "LeftElbowRigAttachment"
- LeftElbowRigAttachment.Position = Vector3.new(0,0.259,0)
- LeftElbowRigAttachment.Parent = LeftLowerArm
- OriginalPosition_4.Name = "OriginalPosition"
- OriginalPosition_4.Value = Vector3.new(0,0.259,0)
- OriginalPosition_4.Parent = LeftElbowRigAttachment
- LeftWristRigAttachment_2.WorldPosition = Vector3.new(116.715,14.096,86.635)
- LeftWristRigAttachment_2.CFrame = CFrame.new(0.0005,-0.5009,0,1,0,0,0,1,0,0,0,1)
- LeftWristRigAttachment_2.WorldCFrame = CFrame.new(116.7149,14.0962,86.635,1,0,0,0,1,0,0,0,1)
- LeftWristRigAttachment_2.Name = "LeftWristRigAttachment"
- LeftWristRigAttachment_2.Position = Vector3.new(0,-0.501,0)
- LeftWristRigAttachment_2.Parent = LeftLowerArm
- OriginalPosition_5.Name = "OriginalPosition"
- OriginalPosition_5.Value = Vector3.new(0,-0.501,0)
- OriginalPosition_5.Parent = LeftWristRigAttachment_2
- LeftElbow.C1 = CFrame.new(0.0005,0.2587,0,1,0,0,0,1,0,0,0,1)
- LeftElbow.C0 = CFrame.new(0.0005,-0.3341,0,1,0,0,0,1,0,0,0,1)
- LeftElbow.Name = "LeftElbow"
- LeftElbow.Part1 = LeftLowerArm
- LeftElbow.Part0 = LeftUpperArm
- LeftElbow.Parent = LeftLowerArm
- OriginalSize_3.Name = "OriginalSize"
- OriginalSize_3.Value = Vector3.new(1,1.052,1)
- OriginalSize_3.Parent = LeftLowerArm
- WristConstraint.Attachment0 = LeftWristRigAttachment_2
- WristConstraint.RigidityEnabled = true
- WristConstraint.Attachment1 = LeftWristRigAttachment
- WristConstraint.Responsiveness = 30
- WristConstraint.Color = BrickColor.new("New Yeller")
- WristConstraint.Name = "WristConstraint"
- WristConstraint.ReactionForceEnabled = true
- WristConstraint.Parent = LeftLowerArm
- LeftUpperArm.Massless = true
- LeftUpperArm.Size = Vector3.new(1,1.169,1)
- LeftUpperArm.Name = "LeftUpperArm"
- LeftUpperArm.CanCollide = false
- LeftUpperArm.Transparency = 0.5
- LeftUpperArm.CFrame = CFrame.new(116.7144,15.1899,86.635,1,0,0,0,1,0,0,0,1)
- LeftUpperArm.Parent = Dummy
- LeftShoulderRigAttachment.WorldPosition = Vector3.new(117.214,15.584,86.635)
- LeftShoulderRigAttachment.CFrame = CFrame.new(0.5,0.3943,0,1,0,0,0,1,0,0,0,1)
- LeftShoulderRigAttachment.WorldCFrame = CFrame.new(117.2144,15.5842,86.635,1,0,0,0,1,0,0,0,1)
- LeftShoulderRigAttachment.Name = "LeftShoulderRigAttachment"
- LeftShoulderRigAttachment.Position = Vector3.new(0.5,0.394,0)
- LeftShoulderRigAttachment.Parent = LeftUpperArm
- OriginalPosition_6.Name = "OriginalPosition"
- OriginalPosition_6.Value = Vector3.new(0.5,0.394,0)
- OriginalPosition_6.Parent = LeftShoulderRigAttachment
- LeftElbowRigAttachment_2.WorldPosition = Vector3.new(116.715,14.856,86.635)
- LeftElbowRigAttachment_2.CFrame = CFrame.new(0.0005,-0.3341,0,1,0,0,0,1,0,0,0,1)
- LeftElbowRigAttachment_2.WorldCFrame = CFrame.new(116.7149,14.8558,86.635,1,0,0,0,1,0,0,0,1)
- LeftElbowRigAttachment_2.Name = "LeftElbowRigAttachment"
- LeftElbowRigAttachment_2.Position = Vector3.new(0,-0.334,0)
- LeftElbowRigAttachment_2.Parent = LeftUpperArm
- OriginalPosition_7.Name = "OriginalPosition"
- OriginalPosition_7.Value = Vector3.new(0,-0.334,0)
- OriginalPosition_7.Parent = LeftElbowRigAttachment_2
- LeftShoulderAttachment.WorldPosition = Vector3.new(116.714,15.774,86.635)
- LeftShoulderAttachment.CFrame = CFrame.new(0,0.5843,0,1,0,0,0,1,0,0,0,1)
- LeftShoulderAttachment.WorldCFrame = CFrame.new(116.7144,15.7742,86.635,1,0,0,0,1,0,0,0,1)
- LeftShoulderAttachment.Name = "LeftShoulderAttachment"
- LeftShoulderAttachment.Position = Vector3.new(0,0.584,0)
- LeftShoulderAttachment.Parent = LeftUpperArm
- OriginalPosition_8.Name = "OriginalPosition"
- OriginalPosition_8.Value = Vector3.new(0,0.584,0)
- OriginalPosition_8.Parent = LeftShoulderAttachment
- LeftShoulder.C1 = CFrame.new(0.5,0.3943,0,1,0,0,0,1,0,0,0,1)
- LeftShoulder.C0 = CFrame.new(-1,0.563,0,1,0,0,0,1,0,0,0,1)
- LeftShoulder.Name = "LeftShoulder"
- LeftShoulder.Part1 = LeftUpperArm
- LeftShoulder.Part0 = UpperTorso
- LeftShoulder.Parent = LeftUpperArm
- OriginalSize_4.Name = "OriginalSize"
- OriginalSize_4.Value = Vector3.new(1,1.169,1)
- OriginalSize_4.Parent = LeftUpperArm
- ElbowConstraint.Attachment0 = LeftElbowRigAttachment_2
- ElbowConstraint.TwistLimitsEnabled = true
- ElbowConstraint.Attachment1 = LeftElbowRigAttachment
- ElbowConstraint.LimitsEnabled = true
- ElbowConstraint.Name = "ElbowConstraint"
- ElbowConstraint.Parent = LeftUpperArm
- ShoulderConstraint.Attachment0 = LeftShoulderRigAttachment
- ShoulderConstraint.Attachment1 = LeftShoulderRigAttachment_2
- ShoulderConstraint.Responsiveness = 30
- ShoulderConstraint.Color = BrickColor.new("New Yeller")
- ShoulderConstraint.Name = "ShoulderConstraint"
- ShoulderConstraint.ReactionForceEnabled = true
- ShoulderConstraint.Parent = LeftUpperArm
- Aim.P = 20000
- Aim.MaxTorque = Vector3.new(40000,40000,40000)
- Aim.Name = "Aim"
- Aim.Parent = LeftUpperArm
- ShoulderAlignment.MaxTorque = 3000
- ShoulderAlignment.Attachment0 = LeftShoulderRigAttachment
- ShoulderAlignment.ReactionTorqueEnabled = true
- ShoulderAlignment.Attachment1 = LeftShoulderRigAttachment_2
- ShoulderAlignment.Responsiveness = 15
- ShoulderAlignment.Color = BrickColor.new("New Yeller")
- ShoulderAlignment.Name = "ShoulderAlignment"
- ShoulderAlignment.Parent = LeftUpperArm
- RightHand.Massless = true
- RightHand.Size = Vector3.new(1,0.3,1)
- RightHand.Name = "RightHand"
- RightHand.CanCollide = false
- RightHand.Transparency = 0.5
- RightHand.CFrame = CFrame.new(119.7144,13.9711,86.635,1,0,0,0,1,0,0,0,1)
- RightHand.Parent = Dummy
- RightWristRigAttachment.WorldPosition = Vector3.new(119.714,14.096,86.635)
- RightWristRigAttachment.CFrame = CFrame.new(0,0.125,0,1,0,0,0,1,0,0,0,1)
- RightWristRigAttachment.WorldCFrame = CFrame.new(119.7144,14.0962,86.635,1,0,0,0,1,0,0,0,1)
- RightWristRigAttachment.Name = "RightWristRigAttachment"
- RightWristRigAttachment.Position = Vector3.new(0,0.125,0)
- RightWristRigAttachment.Parent = RightHand
- OriginalPosition_9.Name = "OriginalPosition"
- OriginalPosition_9.Value = Vector3.new(0,0.125,0)
- OriginalPosition_9.Parent = RightWristRigAttachment
- RightGripAttachment.WorldPosition = Vector3.new(119.714,13.821,86.635)
- RightGripAttachment.WorldOrientation = Vector3.new(-90,0,0)
- RightGripAttachment.CFrame = CFrame.new(0,-0.15,0,1,0,0,0,0,1,0,-1,0)
- RightGripAttachment.SecondaryAxis = Vector3.new(0,0,-1)
- RightGripAttachment.WorldCFrame = CFrame.new(119.7144,13.8212,86.635,1,0,0,0,0,1,0,-1,0)
- RightGripAttachment.Name = "RightGripAttachment"
- RightGripAttachment.Orientation = Vector3.new(-90,0,0)
- RightGripAttachment.WorldSecondaryAxis = Vector3.new(0,0,-1)
- RightGripAttachment.Position = Vector3.new(0,-0.15,0)
- RightGripAttachment.Parent = RightHand
- OriginalPosition_10.Name = "OriginalPosition"
- OriginalPosition_10.Value = Vector3.new(0,-0.15,0)
- OriginalPosition_10.Parent = RightGripAttachment
- RightWrist.C1 = CFrame.new(0,0.125,0,1,0,0,0,1,0,0,0,1)
- RightWrist.C0 = CFrame.new(0,-0.5009,0,1,0,0,0,1,0,0,0,1)
- RightWrist.Name = "RightWrist"
- RightWrist.Part1 = RightHand
- RightWrist.Part0 = RightLowerArm
- RightWrist.Parent = RightHand
- OriginalSize_5.Name = "OriginalSize"
- OriginalSize_5.Value = Vector3.new(1,0.3,1)
- OriginalSize_5.Parent = RightHand
- RightLowerArm.Massless = true
- RightLowerArm.Size = Vector3.new(1,1.052,1)
- RightLowerArm.Name = "RightLowerArm"
- RightLowerArm.CanCollide = false
- RightLowerArm.Transparency = 0.5
- RightLowerArm.CFrame = CFrame.new(119.7144,14.5971,86.635,1,0,0,0,1,0,0,0,1)
- RightLowerArm.Parent = Dummy
- RightElbowRigAttachment.WorldPosition = Vector3.new(119.714,14.856,86.635)
- RightElbowRigAttachment.CFrame = CFrame.new(0,0.2586,0,1,0,0,0,1,0,0,0,1)
- RightElbowRigAttachment.WorldCFrame = CFrame.new(119.7144,14.8557,86.635,1,0,0,0,1,0,0,0,1)
- RightElbowRigAttachment.Name = "RightElbowRigAttachment"
- RightElbowRigAttachment.Position = Vector3.new(0,0.259,0)
- RightElbowRigAttachment.Parent = RightLowerArm
- OriginalPosition_11.Name = "OriginalPosition"
- OriginalPosition_11.Value = Vector3.new(0,0.259,0)
- OriginalPosition_11.Parent = RightElbowRigAttachment
- RightWristRigAttachment_2.WorldPosition = Vector3.new(119.714,14.096,86.635)
- RightWristRigAttachment_2.CFrame = CFrame.new(0,-0.5009,0,1,0,0,0,1,0,0,0,1)
- RightWristRigAttachment_2.WorldCFrame = CFrame.new(119.7144,14.0962,86.635,1,0,0,0,1,0,0,0,1)
- RightWristRigAttachment_2.Name = "RightWristRigAttachment"
- RightWristRigAttachment_2.Position = Vector3.new(0,-0.501,0)
- RightWristRigAttachment_2.Parent = RightLowerArm
- OriginalPosition_12.Name = "OriginalPosition"
- OriginalPosition_12.Value = Vector3.new(0,-0.501,0)
- OriginalPosition_12.Parent = RightWristRigAttachment_2
- RightElbow.C1 = CFrame.new(0,0.2586,0,1,0,0,0,1,0,0,0,1)
- RightElbow.C0 = CFrame.new(0,-0.3342,0,1,0,0,0,1,0,0,0,1)
- RightElbow.Name = "RightElbow"
- RightElbow.Part1 = RightLowerArm
- RightElbow.Part0 = RightUpperArm
- RightElbow.Parent = RightLowerArm
- OriginalSize_6.Name = "OriginalSize"
- OriginalSize_6.Value = Vector3.new(1,1.052,1)
- OriginalSize_6.Parent = RightLowerArm
- WristConstraint_2.Attachment0 = RightWristRigAttachment
- WristConstraint_2.RigidityEnabled = true
- WristConstraint_2.Attachment1 = RightWristRigAttachment_2
- WristConstraint_2.Responsiveness = 30
- WristConstraint_2.Color = BrickColor.new("New Yeller")
- WristConstraint_2.Name = "WristConstraint"
- WristConstraint_2.ReactionForceEnabled = true
- WristConstraint_2.Parent = RightLowerArm
- RightUpperArm.Massless = true
- RightUpperArm.Size = Vector3.new(1,1.169,1)
- RightUpperArm.Name = "RightUpperArm"
- RightUpperArm.CanCollide = false
- RightUpperArm.Transparency = 0.5
- RightUpperArm.CFrame = CFrame.new(119.7144,15.1899,86.635,1,0,0,0,1,0,0,0,1)
- RightUpperArm.Parent = Dummy
- RightShoulderRigAttachment.WorldPosition = Vector3.new(119.214,15.584,86.635)
- RightShoulderRigAttachment.CFrame = CFrame.new(-0.5,0.3943,0,1,0,0,0,1,0,0,0,1)
- RightShoulderRigAttachment.WorldCFrame = CFrame.new(119.2144,15.5842,86.635,1,0,0,0,1,0,0,0,1)
- RightShoulderRigAttachment.Name = "RightShoulderRigAttachment"
- RightShoulderRigAttachment.Position = Vector3.new(-0.5,0.394,0)
- RightShoulderRigAttachment.Parent = RightUpperArm
- OriginalPosition_13.Name = "OriginalPosition"
- OriginalPosition_13.Value = Vector3.new(-0.5,0.394,0)
- OriginalPosition_13.Parent = RightShoulderRigAttachment
- RightElbowRigAttachment_2.WorldPosition = Vector3.new(119.714,14.856,86.635)
- RightElbowRigAttachment_2.CFrame = CFrame.new(0,-0.3342,0,1,0,0,0,1,0,0,0,1)
- RightElbowRigAttachment_2.WorldCFrame = CFrame.new(119.7144,14.8557,86.635,1,0,0,0,1,0,0,0,1)
- RightElbowRigAttachment_2.Name = "RightElbowRigAttachment"
- RightElbowRigAttachment_2.Position = Vector3.new(0,-0.334,0)
- RightElbowRigAttachment_2.Parent = RightUpperArm
- OriginalPosition_14.Name = "OriginalPosition"
- OriginalPosition_14.Value = Vector3.new(0,-0.334,0)
- OriginalPosition_14.Parent = RightElbowRigAttachment_2
- RightShoulderAttachment.WorldPosition = Vector3.new(119.714,15.774,86.635)
- RightShoulderAttachment.CFrame = CFrame.new(0,0.5843,0,1,0,0,0,1,0,0,0,1)
- RightShoulderAttachment.WorldCFrame = CFrame.new(119.7144,15.7742,86.635,1,0,0,0,1,0,0,0,1)
- RightShoulderAttachment.Name = "RightShoulderAttachment"
- RightShoulderAttachment.Position = Vector3.new(0,0.584,0)
- RightShoulderAttachment.Parent = RightUpperArm
- OriginalPosition_15.Name = "OriginalPosition"
- OriginalPosition_15.Value = Vector3.new(0,0.584,0)
- OriginalPosition_15.Parent = RightShoulderAttachment
- RightShoulder.C1 = CFrame.new(-0.5,0.3943,0,1,0,0,0,1,0,0,0,1)
- RightShoulder.C0 = CFrame.new(1,0.563,0,1,0,0,0,1,0,0,0,1)
- RightShoulder.Name = "RightShoulder"
- RightShoulder.Part1 = RightUpperArm
- RightShoulder.Part0 = UpperTorso
- RightShoulder.Parent = RightUpperArm
- OriginalSize_7.Name = "OriginalSize"
- OriginalSize_7.Value = Vector3.new(1,1.169,1)
- OriginalSize_7.Parent = RightUpperArm
- ElbowConstraint_2.Attachment0 = RightElbowRigAttachment_2
- ElbowConstraint_2.TwistLimitsEnabled = true
- ElbowConstraint_2.Attachment1 = RightElbowRigAttachment
- ElbowConstraint_2.LimitsEnabled = true
- ElbowConstraint_2.Name = "ElbowConstraint"
- ElbowConstraint_2.Parent = RightUpperArm
- ShoulderConstraint_2.Attachment0 = RightShoulderRigAttachment
- ShoulderConstraint_2.Attachment1 = RightShoulderRigAttachment_2
- ShoulderConstraint_2.Responsiveness = 30
- ShoulderConstraint_2.Color = BrickColor.new("New Yeller")
- ShoulderConstraint_2.Name = "ShoulderConstraint"
- ShoulderConstraint_2.ReactionForceEnabled = true
- ShoulderConstraint_2.Parent = RightUpperArm
- Aim_2.P = 20000
- Aim_2.MaxTorque = Vector3.new(40000,40000,40000)
- Aim_2.Name = "Aim"
- Aim_2.Parent = RightUpperArm
- ShoulderAlignment_2.MaxTorque = 3000
- ShoulderAlignment_2.Attachment0 = RightShoulderRigAttachment
- ShoulderAlignment_2.ReactionTorqueEnabled = true
- ShoulderAlignment_2.Attachment1 = RightShoulderRigAttachment_2
- ShoulderAlignment_2.Responsiveness = 15
- ShoulderAlignment_2.Color = BrickColor.new("New Yeller")
- ShoulderAlignment_2.Name = "ShoulderAlignment"
- ShoulderAlignment_2.Parent = RightUpperArm
- UpperTorso.Massless = true
- UpperTorso.Size = Vector3.new(2,1.6,1)
- UpperTorso.Name = "UpperTorso"
- UpperTorso.CanCollide = false
- UpperTorso.Transparency = 0.5
- UpperTorso.CFrame = CFrame.new(118.2144,15.0212,86.635,1,0,0,0,1,0,0,0,1)
- UpperTorso.Parent = Dummy
- WaistRigAttachment.WorldPosition = Vector3.new(118.214,14.221,86.635)
- WaistRigAttachment.WorldOrientation = Vector3.new(0,90,0)
- WaistRigAttachment.CFrame = CFrame.new(0,-0.8,0,0,0,1,0,1,0,-1,0,0)
- WaistRigAttachment.Axis = Vector3.new(0,0,-1)
- WaistRigAttachment.WorldCFrame = CFrame.new(118.2144,14.2212,86.635,0,0,1,0,1,0,-1,0,0)
- WaistRigAttachment.Name = "WaistRigAttachment"
- WaistRigAttachment.WorldAxis = Vector3.new(0,0,-1)
- WaistRigAttachment.Orientation = Vector3.new(0,90,0)
- WaistRigAttachment.Position = Vector3.new(0,-0.8,0)
- WaistRigAttachment.Parent = UpperTorso
- OriginalPosition_16.Name = "OriginalPosition"
- OriginalPosition_16.Value = Vector3.new(0,-0.8,0)
- OriginalPosition_16.Parent = WaistRigAttachment
- NeckRigAttachment.WorldPosition = Vector3.new(118.214,15.821,86.635)
- NeckRigAttachment.CFrame = CFrame.new(0,0.8,0,1,0,0,0,1,0,0,0,1)
- NeckRigAttachment.WorldCFrame = CFrame.new(118.2144,15.8212,86.635,1,0,0,0,1,0,0,0,1)
- NeckRigAttachment.Name = "NeckRigAttachment"
- NeckRigAttachment.Position = Vector3.new(0,0.8,0)
- NeckRigAttachment.Parent = UpperTorso
- OriginalPosition_17.Name = "OriginalPosition"
- OriginalPosition_17.Value = Vector3.new(0,0.8,0)
- OriginalPosition_17.Parent = NeckRigAttachment
- LeftShoulderRigAttachment_2.WorldPosition = Vector3.new(117.214,15.584,86.635)
- LeftShoulderRigAttachment_2.WorldOrientation = Vector3.new(0,0,15)
- LeftShoulderRigAttachment_2.CFrame = CFrame.new(-1,0.563,0,0.9659,-0.2588,0,0.2588,0.9659,0,0,0,1)
- LeftShoulderRigAttachment_2.Axis = Vector3.new(0.966,0.259,0)
- LeftShoulderRigAttachment_2.SecondaryAxis = Vector3.new(-0.259,0.966,0)
- LeftShoulderRigAttachment_2.WorldCFrame = CFrame.new(117.2144,15.5842,86.635,0.9659,-0.2588,0,0.2588,0.9659,0,0,0,1)
- LeftShoulderRigAttachment_2.Name = "LeftShoulderRigAttachment"
- LeftShoulderRigAttachment_2.WorldAxis = Vector3.new(0.966,0.259,0)
- LeftShoulderRigAttachment_2.Orientation = Vector3.new(0,0,15)
- LeftShoulderRigAttachment_2.WorldSecondaryAxis = Vector3.new(-0.259,0.966,0)
- LeftShoulderRigAttachment_2.Position = Vector3.new(-1,0.563,0)
- LeftShoulderRigAttachment_2.Parent = UpperTorso
- OriginalPosition_18.Name = "OriginalPosition"
- OriginalPosition_18.Value = Vector3.new(-1,0.563,0)
- OriginalPosition_18.Parent = LeftShoulderRigAttachment_2
- RightShoulderRigAttachment_2.WorldPosition = Vector3.new(119.214,15.584,86.635)
- RightShoulderRigAttachment_2.WorldOrientation = Vector3.new(0,0,-15)
- RightShoulderRigAttachment_2.CFrame = CFrame.new(1,0.563,0,0.9659,0.2588,0,-0.2588,0.9659,0,0,0,1)
- RightShoulderRigAttachment_2.Axis = Vector3.new(0.966,-0.259,0)
- RightShoulderRigAttachment_2.SecondaryAxis = Vector3.new(0.259,0.966,0)
- RightShoulderRigAttachment_2.WorldCFrame = CFrame.new(119.2144,15.5842,86.635,0.9659,0.2588,0,-0.2588,0.9659,0,0,0,1)
- RightShoulderRigAttachment_2.Name = "RightShoulderRigAttachment"
- RightShoulderRigAttachment_2.WorldAxis = Vector3.new(0.966,-0.259,0)
- RightShoulderRigAttachment_2.Orientation = Vector3.new(0,0,-15)
- RightShoulderRigAttachment_2.WorldSecondaryAxis = Vector3.new(0.259,0.966,0)
- RightShoulderRigAttachment_2.Position = Vector3.new(1,0.563,0)
- RightShoulderRigAttachment_2.Parent = UpperTorso
- OriginalPosition_19.Name = "OriginalPosition"
- OriginalPosition_19.Value = Vector3.new(1,0.563,0)
- OriginalPosition_19.Parent = RightShoulderRigAttachment_2
- BodyFrontAttachment.WorldPosition = Vector3.new(118.214,14.821,86.135)
- BodyFrontAttachment.CFrame = CFrame.new(0,-0.2,-0.5,1,0,0,0,1,0,0,0,1)
- BodyFrontAttachment.WorldCFrame = CFrame.new(118.2144,14.8212,86.135,1,0,0,0,1,0,0,0,1)
- BodyFrontAttachment.Name = "BodyFrontAttachment"
- BodyFrontAttachment.Position = Vector3.new(0,-0.2,-0.5)
- BodyFrontAttachment.Parent = UpperTorso
- OriginalPosition_20.Name = "OriginalPosition"
- OriginalPosition_20.Value = Vector3.new(0,-0.2,-0.5)
- OriginalPosition_20.Parent = BodyFrontAttachment
- BodyBackAttachment.WorldPosition = Vector3.new(118.214,14.821,87.135)
- BodyBackAttachment.CFrame = CFrame.new(0,-0.2,0.5,1,0,0,0,1,0,0,0,1)
- BodyBackAttachment.WorldCFrame = CFrame.new(118.2144,14.8212,87.135,1,0,0,0,1,0,0,0,1)
- BodyBackAttachment.Name = "BodyBackAttachment"
- BodyBackAttachment.Position = Vector3.new(0,-0.2,0.5)
- BodyBackAttachment.Parent = UpperTorso
- OriginalPosition_21.Name = "OriginalPosition"
- OriginalPosition_21.Value = Vector3.new(0,-0.2,0.5)
- OriginalPosition_21.Parent = BodyBackAttachment
- LeftCollarAttachment.WorldPosition = Vector3.new(117.214,15.821,86.635)
- LeftCollarAttachment.WorldOrientation = Vector3.new(0,0,15)
- LeftCollarAttachment.CFrame = CFrame.new(-1,0.8,0,0.9659,-0.2588,0,0.2588,0.9659,0,0,0,1)
- LeftCollarAttachment.Axis = Vector3.new(0.966,0.259,0)
- LeftCollarAttachment.SecondaryAxis = Vector3.new(-0.259,0.966,0)
- LeftCollarAttachment.WorldCFrame = CFrame.new(117.2144,15.8212,86.635,0.9659,-0.2588,0,0.2588,0.9659,0,0,0,1)
- LeftCollarAttachment.Name = "LeftCollarAttachment"
- LeftCollarAttachment.WorldAxis = Vector3.new(0.966,0.259,0)
- LeftCollarAttachment.Orientation = Vector3.new(0,0,15)
- LeftCollarAttachment.WorldSecondaryAxis = Vector3.new(-0.259,0.966,0)
- LeftCollarAttachment.Position = Vector3.new(-1,0.8,0)
- LeftCollarAttachment.Parent = UpperTorso
- OriginalPosition_22.Name = "OriginalPosition"
- OriginalPosition_22.Value = Vector3.new(-1,0.8,0)
- OriginalPosition_22.Parent = LeftCollarAttachment
- RightCollarAttachment.WorldPosition = Vector3.new(119.214,15.821,86.635)
- RightCollarAttachment.WorldOrientation = Vector3.new(0,0,-15)
- RightCollarAttachment.CFrame = CFrame.new(1,0.8,0,0.9659,0.2588,0,-0.2588,0.9659,0,0,0,1)
- RightCollarAttachment.Axis = Vector3.new(0.966,-0.259,0)
- RightCollarAttachment.SecondaryAxis = Vector3.new(0.259,0.966,0)
- RightCollarAttachment.WorldCFrame = CFrame.new(119.2144,15.8212,86.635,0.9659,0.2588,0,-0.2588,0.9659,0,0,0,1)
- RightCollarAttachment.Name = "RightCollarAttachment"
- RightCollarAttachment.WorldAxis = Vector3.new(0.966,-0.259,0)
- RightCollarAttachment.Orientation = Vector3.new(0,0,-15)
- RightCollarAttachment.WorldSecondaryAxis = Vector3.new(0.259,0.966,0)
- RightCollarAttachment.Position = Vector3.new(1,0.8,0)
- RightCollarAttachment.Parent = UpperTorso
- OriginalPosition_23.Name = "OriginalPosition"
- OriginalPosition_23.Value = Vector3.new(1,0.8,0)
- OriginalPosition_23.Parent = RightCollarAttachment
- NeckAttachment.WorldPosition = Vector3.new(118.214,15.821,86.635)
- NeckAttachment.CFrame = CFrame.new(0,0.8,0,1,0,0,0,1,0,0,0,1)
- NeckAttachment.WorldCFrame = CFrame.new(118.2144,15.8212,86.635,1,0,0,0,1,0,0,0,1)
- NeckAttachment.Name = "NeckAttachment"
- NeckAttachment.Position = Vector3.new(0,0.8,0)
- NeckAttachment.Parent = UpperTorso
- OriginalPosition_24.Name = "OriginalPosition"
- OriginalPosition_24.Value = Vector3.new(0,0.8,0)
- OriginalPosition_24.Parent = NeckAttachment
- Waist.C1 = CFrame.new(0,-0.8,0,0,0,1,0,1,0,-1,0,0)
- Waist.C0 = CFrame.new(0,0.2,0,0,0,1,0,1,0,-1,0,0)
- Waist.Name = "Waist"
- Waist.Part1 = UpperTorso
- Waist.Part0 = LowerTorso
- Waist.Parent = UpperTorso
- OriginalSize_8.Name = "OriginalSize"
- OriginalSize_8.Value = Vector3.new(2,1.6,1)
- OriginalSize_8.Parent = UpperTorso
- NeckConstraint.UpperAngle = 10
- NeckConstraint.TwistUpperAngle = 15
- NeckConstraint.Attachment0 = NeckRigAttachment
- NeckConstraint.TwistLimitsEnabled = true
- NeckConstraint.Attachment1 = NeckRigAttachment_2
- NeckConstraint.TwistLowerAngle = -30
- NeckConstraint.LimitsEnabled = true
- NeckConstraint.Name = "NeckConstraint"
- NeckConstraint.Parent = UpperTorso
- WaistConstraint.Attachment0 = WaistRigAttachment
- WaistConstraint.Attachment1 = WaistRigAttachment_2
- WaistConstraint.Name = "WaistConstraint"
- WaistConstraint.LimitsEnabled = true
- WaistConstraint.Parent = UpperTorso
- LeftFoot.Size = Vector3.new(1,0.3,1)
- LeftFoot.Name = "LeftFoot"
- LeftFoot.CanCollide = false
- LeftFoot.Transparency = 0.5
- LeftFoot.CFrame = CFrame.new(117.7144,11.9712,86.635,1,0,0,0,1,0,0,0,1)
- LeftFoot.Parent = Dummy
- LeftAnkleRigAttachment.WorldPosition = Vector3.new(117.714,12.073,86.635)
- LeftAnkleRigAttachment.CFrame = CFrame.new(0,0.1019,0,1,0,0,0,1,0,0,0,1)
- LeftAnkleRigAttachment.WorldCFrame = CFrame.new(117.7144,12.0731,86.635,1,0,0,0,1,0,0,0,1)
- LeftAnkleRigAttachment.Name = "LeftAnkleRigAttachment"
- LeftAnkleRigAttachment.Position = Vector3.new(0,0.102,0)
- LeftAnkleRigAttachment.Parent = LeftFoot
- OriginalPosition_25.Name = "OriginalPosition"
- OriginalPosition_25.Value = Vector3.new(0,0.102,0)
- OriginalPosition_25.Parent = LeftAnkleRigAttachment
- LeftAnkle.C1 = CFrame.new(0,0.1019,0,1,0,0,0,1,0,0,0,1)
- LeftAnkle.C0 = CFrame.new(0,-0.5472,0,1,0,0,0,1,0,0,0,1)
- LeftAnkle.Name = "LeftAnkle"
- LeftAnkle.Part1 = LeftFoot
- LeftAnkle.Part0 = LeftLowerLeg
- LeftAnkle.Parent = LeftFoot
- OriginalSize_9.Name = "OriginalSize"
- OriginalSize_9.Value = Vector3.new(1,0.3,1)
- OriginalSize_9.Parent = LeftFoot
- BodyPosition.P = 100000
- BodyPosition.MaxForce = Vector3.new(inf,inf,inf)
- BodyPosition.Position = Vector3.new(1.469,0.65,-28.865)
- BodyPosition.Parent = LeftFoot
- BodyGyro.MaxTorque = Vector3.new(inf,inf,inf)
- BodyGyro.Parent = LeftFoot
- LeftLowerLeg.Size = Vector3.new(1,1.193,1)
- LeftLowerLeg.Name = "LeftLowerLeg"
- LeftLowerLeg.CanCollide = false
- LeftLowerLeg.Transparency = 0.5
- LeftLowerLeg.CFrame = CFrame.new(117.7144,12.6203,86.635,1,0,0,0,1,0,0,0,1)
- LeftLowerLeg.Parent = Dummy
- LeftKneeRigAttachment.WorldPosition = Vector3.new(117.714,12.999,86.635)
- LeftKneeRigAttachment.CFrame = CFrame.new(0,0.379,0,1,0,0,0,1,0,0,0,1)
- LeftKneeRigAttachment.WorldCFrame = CFrame.new(117.7144,12.9993,86.635,1,0,0,0,1,0,0,0,1)
- LeftKneeRigAttachment.Name = "LeftKneeRigAttachment"
- LeftKneeRigAttachment.Position = Vector3.new(0,0.379,0)
- LeftKneeRigAttachment.Parent = LeftLowerLeg
- OriginalPosition_26.Name = "OriginalPosition"
- OriginalPosition_26.Value = Vector3.new(0,0.379,0)
- OriginalPosition_26.Parent = LeftKneeRigAttachment
- LeftAnkleRigAttachment_2.WorldPosition = Vector3.new(117.714,12.073,86.635)
- LeftAnkleRigAttachment_2.CFrame = CFrame.new(0,-0.5472,0,1,0,0,0,1,0,0,0,1)
- LeftAnkleRigAttachment_2.WorldCFrame = CFrame.new(117.7144,12.0731,86.635,1,0,0,0,1,0,0,0,1)
- LeftAnkleRigAttachment_2.Name = "LeftAnkleRigAttachment"
- LeftAnkleRigAttachment_2.Position = Vector3.new(0,-0.547,0)
- LeftAnkleRigAttachment_2.Parent = LeftLowerLeg
- OriginalPosition_27.Name = "OriginalPosition"
- OriginalPosition_27.Value = Vector3.new(0,-0.547,0)
- OriginalPosition_27.Parent = LeftAnkleRigAttachment_2
- LeftKnee.C1 = CFrame.new(0,0.379,0,1,0,0,0,1,0,0,0,1)
- LeftKnee.C0 = CFrame.new(0,-0.4011,0,1,0,0,0,1,0,0,0,1)
- LeftKnee.Name = "LeftKnee"
- LeftKnee.Part1 = LeftLowerLeg
- LeftKnee.Part0 = LeftUpperLeg
- LeftKnee.Parent = LeftLowerLeg
- OriginalSize_10.Name = "OriginalSize"
- OriginalSize_10.Value = Vector3.new(1,1.193,1)
- OriginalSize_10.Parent = LeftLowerLeg
- KneeConstraint.UpperAngle = 5
- KneeConstraint.TwistUpperAngle = 60
- KneeConstraint.Attachment0 = LeftKneeRigAttachment
- KneeConstraint.TwistLimitsEnabled = true
- KneeConstraint.Attachment1 = LeftKneeRigAttachment_2
- KneeConstraint.TwistLowerAngle = 0
- KneeConstraint.LimitsEnabled = true
- KneeConstraint.Name = "KneeConstraint"
- KneeConstraint.Parent = LeftLowerLeg
- AnkleConstraint.UpperAngle = 20
- AnkleConstraint.TwistUpperAngle = 15
- AnkleConstraint.Attachment0 = LeftAnkleRigAttachment_2
- AnkleConstraint.TwistLimitsEnabled = true
- AnkleConstraint.Attachment1 = LeftAnkleRigAttachment
- AnkleConstraint.TwistLowerAngle = -70
- AnkleConstraint.LimitsEnabled = true
- AnkleConstraint.Name = "AnkleConstraint"
- AnkleConstraint.Parent = LeftLowerLeg
- LeftUpperLeg.Massless = true
- LeftUpperLeg.Size = Vector3.new(1,1.217,1)
- LeftUpperLeg.Name = "LeftUpperLeg"
- LeftUpperLeg.CanCollide = false
- LeftUpperLeg.Transparency = 0.5
- LeftUpperLeg.CFrame = CFrame.new(117.7144,13.4004,86.635,1,0,0,0,1,0,0,0,1)
- LeftUpperLeg.Parent = Dummy
- LeftHipRigAttachment.WorldPosition = Vector3.new(117.714,13.821,86.635)
- LeftHipRigAttachment.CFrame = CFrame.new(0,0.4208,0,1,0,0,0,1,0,0,0,1)
- LeftHipRigAttachment.WorldCFrame = CFrame.new(117.7144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- LeftHipRigAttachment.Name = "LeftHipRigAttachment"
- LeftHipRigAttachment.Position = Vector3.new(0,0.421,0)
- LeftHipRigAttachment.Parent = LeftUpperLeg
- OriginalPosition_28.Name = "OriginalPosition"
- OriginalPosition_28.Value = Vector3.new(0,0.421,0)
- OriginalPosition_28.Parent = LeftHipRigAttachment
- LeftKneeRigAttachment_2.WorldPosition = Vector3.new(117.714,12.999,86.635)
- LeftKneeRigAttachment_2.CFrame = CFrame.new(0,-0.4011,0,1,0,0,0,1,0,0,0,1)
- LeftKneeRigAttachment_2.WorldCFrame = CFrame.new(117.7144,12.9993,86.635,1,0,0,0,1,0,0,0,1)
- LeftKneeRigAttachment_2.Name = "LeftKneeRigAttachment"
- LeftKneeRigAttachment_2.Position = Vector3.new(0,-0.401,0)
- LeftKneeRigAttachment_2.Parent = LeftUpperLeg
- OriginalPosition_29.Name = "OriginalPosition"
- OriginalPosition_29.Value = Vector3.new(0,-0.401,0)
- OriginalPosition_29.Parent = LeftKneeRigAttachment_2
- LeftHip.C1 = CFrame.new(0,0.4208,0,1,0,0,0,1,0,0,0,1)
- LeftHip.C0 = CFrame.new(-0.5,-0.2,0,1,0,0,0,1,0,0,0,1)
- LeftHip.Name = "LeftHip"
- LeftHip.Part1 = LeftUpperLeg
- LeftHip.Part0 = LowerTorso
- LeftHip.Parent = LeftUpperLeg
- OriginalSize_11.Name = "OriginalSize"
- OriginalSize_11.Value = Vector3.new(1,1.217,1)
- OriginalSize_11.Parent = LeftUpperLeg
- HipConstraint.Attachment0 = LeftHipRigAttachment
- HipConstraint.Attachment1 = LeftHipRigAttachment_2
- HipConstraint.Responsiveness = 30
- HipConstraint.Color = BrickColor.new("New Yeller")
- HipConstraint.Name = "HipConstraint"
- HipConstraint.ReactionForceEnabled = true
- HipConstraint.Parent = LeftUpperLeg
- HipAlignment.MaxTorque = 3000
- HipAlignment.Attachment0 = LeftHipRigAttachment
- HipAlignment.ReactionTorqueEnabled = true
- HipAlignment.Attachment1 = LeftHipRigAttachment_2
- HipAlignment.Responsiveness = 15
- HipAlignment.Color = BrickColor.new("New Yeller")
- HipAlignment.Name = "HipAlignment"
- HipAlignment.Parent = LeftUpperLeg
- RightFoot.Size = Vector3.new(1,0.3,1)
- RightFoot.Name = "RightFoot"
- RightFoot.CanCollide = false
- RightFoot.Transparency = 0.5
- RightFoot.CFrame = CFrame.new(118.7144,11.9712,86.635,1,0,0,0,1,0,0,0,1)
- RightFoot.Parent = Dummy
- RightAnkleRigAttachment.WorldPosition = Vector3.new(118.714,12.073,86.635)
- RightAnkleRigAttachment.CFrame = CFrame.new(0,0.1019,0.0001,1,0,0,0,1,0,0,0,1)
- RightAnkleRigAttachment.WorldCFrame = CFrame.new(118.7144,12.0731,86.6351,1,0,0,0,1,0,0,0,1)
- RightAnkleRigAttachment.Name = "RightAnkleRigAttachment"
- RightAnkleRigAttachment.Position = Vector3.new(0,0.102,0)
- RightAnkleRigAttachment.Parent = RightFoot
- OriginalPosition_30.Name = "OriginalPosition"
- OriginalPosition_30.Value = Vector3.new(0,0.102,0)
- OriginalPosition_30.Parent = RightAnkleRigAttachment
- RightAnkle.C1 = CFrame.new(0,0.1019,0.0001,1,0,0,0,1,0,0,0,1)
- RightAnkle.C0 = CFrame.new(0,-0.5472,0.0001,1,0,0,0,1,0,0,0,1)
- RightAnkle.Name = "RightAnkle"
- RightAnkle.Part1 = RightFoot
- RightAnkle.Part0 = RightLowerLeg
- RightAnkle.Parent = RightFoot
- OriginalSize_12.Name = "OriginalSize"
- OriginalSize_12.Value = Vector3.new(1,0.3,1)
- OriginalSize_12.Parent = RightFoot
- BodyPosition_2.P = 100000
- BodyPosition_2.MaxForce = Vector3.new(inf,inf,inf)
- BodyPosition_2.Position = Vector3.new(2.469,0.65,-28.865)
- BodyPosition_2.Parent = RightFoot
- BodyGyro_2.MaxTorque = Vector3.new(inf,inf,inf)
- BodyGyro_2.Parent = RightFoot
- RightLowerLeg.Size = Vector3.new(1,1.193,1)
- RightLowerLeg.Name = "RightLowerLeg"
- RightLowerLeg.CanCollide = false
- RightLowerLeg.Transparency = 0.5
- RightLowerLeg.CFrame = CFrame.new(118.7144,12.6203,86.635,1,0,0,0,1,0,0,0,1)
- RightLowerLeg.Parent = Dummy
- RightKneeRigAttachment.WorldPosition = Vector3.new(118.714,12.999,86.635)
- RightKneeRigAttachment.CFrame = CFrame.new(0,0.3792,0,1,0,0,0,1,0,0,0,1)
- RightKneeRigAttachment.WorldCFrame = CFrame.new(118.7144,12.9995,86.635,1,0,0,0,1,0,0,0,1)
- RightKneeRigAttachment.Name = "RightKneeRigAttachment"
- RightKneeRigAttachment.Position = Vector3.new(0,0.379,0)
- RightKneeRigAttachment.Parent = RightLowerLeg
- OriginalPosition_31.Name = "OriginalPosition"
- OriginalPosition_31.Value = Vector3.new(0,0.379,0)
- OriginalPosition_31.Parent = RightKneeRigAttachment
- RightAnkleRigAttachment_2.WorldPosition = Vector3.new(118.714,12.073,86.635)
- RightAnkleRigAttachment_2.CFrame = CFrame.new(0,-0.5472,0.0001,1,0,0,0,1,0,0,0,1)
- RightAnkleRigAttachment_2.WorldCFrame = CFrame.new(118.7144,12.0731,86.6351,1,0,0,0,1,0,0,0,1)
- RightAnkleRigAttachment_2.Name = "RightAnkleRigAttachment"
- RightAnkleRigAttachment_2.Position = Vector3.new(0,-0.547,0)
- RightAnkleRigAttachment_2.Parent = RightLowerLeg
- OriginalPosition_32.Name = "OriginalPosition"
- OriginalPosition_32.Value = Vector3.new(0,-0.547,0)
- OriginalPosition_32.Parent = RightAnkleRigAttachment_2
- RightKnee.C1 = CFrame.new(0,0.3792,0,1,0,0,0,1,0,0,0,1)
- RightKnee.C0 = CFrame.new(0,-0.4009,0,1,0,0,0,1,0,0,0,1)
- RightKnee.Name = "RightKnee"
- RightKnee.Part1 = RightLowerLeg
- RightKnee.Part0 = RightUpperLeg
- RightKnee.Parent = RightLowerLeg
- OriginalSize_13.Name = "OriginalSize"
- OriginalSize_13.Value = Vector3.new(1,1.193,1)
- OriginalSize_13.Parent = RightLowerLeg
- AnkleConstraint_2.UpperAngle = 20
- AnkleConstraint_2.TwistUpperAngle = 15
- AnkleConstraint_2.Attachment0 = RightAnkleRigAttachment_2
- AnkleConstraint_2.TwistLimitsEnabled = true
- AnkleConstraint_2.Attachment1 = RightAnkleRigAttachment
- AnkleConstraint_2.TwistLowerAngle = -70
- AnkleConstraint_2.LimitsEnabled = true
- AnkleConstraint_2.Name = "AnkleConstraint"
- AnkleConstraint_2.Parent = RightLowerLeg
- KneeConstraint_2.UpperAngle = 5
- KneeConstraint_2.TwistUpperAngle = 60
- KneeConstraint_2.Attachment0 = RightKneeRigAttachment
- KneeConstraint_2.TwistLimitsEnabled = true
- KneeConstraint_2.Attachment1 = RightKneeRigAttachment_2
- KneeConstraint_2.TwistLowerAngle = 0
- KneeConstraint_2.LimitsEnabled = true
- KneeConstraint_2.Name = "KneeConstraint"
- KneeConstraint_2.Parent = RightLowerLeg
- RightUpperLeg.Massless = true
- RightUpperLeg.Size = Vector3.new(1,1.217,1)
- RightUpperLeg.Name = "RightUpperLeg"
- RightUpperLeg.CanCollide = false
- RightUpperLeg.Transparency = 0.5
- RightUpperLeg.CFrame = CFrame.new(118.7144,13.4004,86.635,1,0,0,0,1,0,0,0,1)
- RightUpperLeg.Parent = Dummy
- RightHipRigAttachment.WorldPosition = Vector3.new(118.714,13.821,86.635)
- RightHipRigAttachment.CFrame = CFrame.new(0,0.4208,-0.0001,1,0,0,0,1,0,0,0,1)
- RightHipRigAttachment.WorldCFrame = CFrame.new(118.7144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- RightHipRigAttachment.Name = "RightHipRigAttachment"
- RightHipRigAttachment.Position = Vector3.new(0,0.421,0)
- RightHipRigAttachment.Parent = RightUpperLeg
- OriginalPosition_33.Name = "OriginalPosition"
- OriginalPosition_33.Value = Vector3.new(0,0.421,0)
- OriginalPosition_33.Parent = RightHipRigAttachment
- RightKneeRigAttachment_2.WorldPosition = Vector3.new(118.714,12.999,86.635)
- RightKneeRigAttachment_2.CFrame = CFrame.new(0,-0.4009,0,1,0,0,0,1,0,0,0,1)
- RightKneeRigAttachment_2.WorldCFrame = CFrame.new(118.7144,12.9995,86.635,1,0,0,0,1,0,0,0,1)
- RightKneeRigAttachment_2.Name = "RightKneeRigAttachment"
- RightKneeRigAttachment_2.Position = Vector3.new(0,-0.401,0)
- RightKneeRigAttachment_2.Parent = RightUpperLeg
- OriginalPosition_34.Name = "OriginalPosition"
- OriginalPosition_34.Value = Vector3.new(0,-0.401,0)
- OriginalPosition_34.Parent = RightKneeRigAttachment_2
- RightHip.C1 = CFrame.new(0,0.4208,-0.0001,1,0,0,0,1,0,0,0,1)
- RightHip.C0 = CFrame.new(0.5,-0.2,0,1,0,0,0,1,0,0,0,1)
- RightHip.Name = "RightHip"
- RightHip.Part1 = RightUpperLeg
- RightHip.Part0 = LowerTorso
- RightHip.Parent = RightUpperLeg
- OriginalSize_14.Name = "OriginalSize"
- OriginalSize_14.Value = Vector3.new(1,1.217,1)
- OriginalSize_14.Parent = RightUpperLeg
- HipConstraint_2.Attachment0 = RightHipRigAttachment
- HipConstraint_2.Attachment1 = RightHipRigAttachment_2
- HipConstraint_2.Responsiveness = 30
- HipConstraint_2.Color = BrickColor.new("New Yeller")
- HipConstraint_2.Name = "HipConstraint"
- HipConstraint_2.ReactionForceEnabled = true
- HipConstraint_2.Parent = RightUpperLeg
- HipAlignment_2.MaxTorque = 3000
- HipAlignment_2.Attachment0 = RightHipRigAttachment
- HipAlignment_2.ReactionTorqueEnabled = true
- HipAlignment_2.Attachment1 = RightHipRigAttachment_2
- HipAlignment_2.Responsiveness = 15
- HipAlignment_2.Color = BrickColor.new("New Yeller")
- HipAlignment_2.Name = "HipAlignment"
- HipAlignment_2.Parent = RightUpperLeg
- LowerTorso.Massless = true
- LowerTorso.Size = Vector3.new(2,0.4,1)
- LowerTorso.Name = "LowerTorso"
- LowerTorso.CanCollide = false
- LowerTorso.Transparency = 0.5
- LowerTorso.CFrame = CFrame.new(118.2144,14.0212,86.635,1,0,0,0,1,0,0,0,1)
- LowerTorso.Parent = Dummy
- RootRigAttachment_2.WorldPosition = Vector3.new(118.214,13.821,86.635)
- RootRigAttachment_2.CFrame = CFrame.new(0,-0.2,0,1,0,0,0,1,0,0,0,1)
- RootRigAttachment_2.WorldCFrame = CFrame.new(118.2144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- RootRigAttachment_2.Name = "RootRigAttachment"
- RootRigAttachment_2.Position = Vector3.new(0,-0.2,0)
- RootRigAttachment_2.Parent = LowerTorso
- OriginalPosition_35.Name = "OriginalPosition"
- OriginalPosition_35.Value = Vector3.new(0,-0.2,0)
- OriginalPosition_35.Parent = RootRigAttachment_2
- WaistRigAttachment_2.WorldPosition = Vector3.new(118.214,14.221,86.635)
- WaistRigAttachment_2.WorldOrientation = Vector3.new(0,90,0)
- WaistRigAttachment_2.CFrame = CFrame.new(0,0.2,0,0,0,1,0,1,0,-1,0,0)
- WaistRigAttachment_2.Axis = Vector3.new(0,0,-1)
- WaistRigAttachment_2.WorldCFrame = CFrame.new(118.2144,14.2212,86.635,0,0,1,0,1,0,-1,0,0)
- WaistRigAttachment_2.Name = "WaistRigAttachment"
- WaistRigAttachment_2.WorldAxis = Vector3.new(0,0,-1)
- WaistRigAttachment_2.Orientation = Vector3.new(0,90,0)
- WaistRigAttachment_2.Position = Vector3.new(0,0.2,0)
- WaistRigAttachment_2.Parent = LowerTorso
- OriginalPosition_36.Name = "OriginalPosition"
- OriginalPosition_36.Value = Vector3.new(0,0.2,0)
- OriginalPosition_36.Parent = WaistRigAttachment_2
- LeftHipRigAttachment_2.WorldPosition = Vector3.new(117.714,13.821,86.635)
- LeftHipRigAttachment_2.CFrame = CFrame.new(-0.5,-0.2,0,1,0,0,0,1,0,0,0,1)
- LeftHipRigAttachment_2.WorldCFrame = CFrame.new(117.7144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- LeftHipRigAttachment_2.Name = "LeftHipRigAttachment"
- LeftHipRigAttachment_2.Position = Vector3.new(-0.5,-0.2,0)
- LeftHipRigAttachment_2.Parent = LowerTorso
- OriginalPosition_37.Name = "OriginalPosition"
- OriginalPosition_37.Value = Vector3.new(-0.5,-0.2,0)
- OriginalPosition_37.Parent = LeftHipRigAttachment_2
- RightHipRigAttachment_2.WorldPosition = Vector3.new(118.714,13.821,86.635)
- RightHipRigAttachment_2.CFrame = CFrame.new(0.5,-0.2,0,1,0,0,0,1,0,0,0,1)
- RightHipRigAttachment_2.WorldCFrame = CFrame.new(118.7144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- RightHipRigAttachment_2.Name = "RightHipRigAttachment"
- RightHipRigAttachment_2.Position = Vector3.new(0.5,-0.2,0)
- RightHipRigAttachment_2.Parent = LowerTorso
- OriginalPosition_38.Name = "OriginalPosition"
- OriginalPosition_38.Value = Vector3.new(0.5,-0.2,0)
- OriginalPosition_38.Parent = RightHipRigAttachment_2
- WaistCenterAttachment.WorldPosition = Vector3.new(118.214,13.821,86.635)
- WaistCenterAttachment.CFrame = CFrame.new(0,-0.2,0,1,0,0,0,1,0,0,0,1)
- WaistCenterAttachment.WorldCFrame = CFrame.new(118.2144,13.8212,86.635,1,0,0,0,1,0,0,0,1)
- WaistCenterAttachment.Name = "WaistCenterAttachment"
- WaistCenterAttachment.Position = Vector3.new(0,-0.2,0)
- WaistCenterAttachment.Parent = LowerTorso
- OriginalPosition_39.Name = "OriginalPosition"
- OriginalPosition_39.Value = Vector3.new(0,-0.2,0)
- OriginalPosition_39.Parent = WaistCenterAttachment
- WaistFrontAttachment.WorldPosition = Vector3.new(118.214,13.821,86.135)
- WaistFrontAttachment.CFrame = CFrame.new(0,-0.2,-0.5,1,0,0,0,1,0,0,0,1)
- WaistFrontAttachment.WorldCFrame = CFrame.new(118.2144,13.8212,86.135,1,0,0,0,1,0,0,0,1)
- WaistFrontAttachment.Name = "WaistFrontAttachment"
- WaistFrontAttachment.Position = Vector3.new(0,-0.2,-0.5)
- WaistFrontAttachment.Parent = LowerTorso
- OriginalPosition_40.Name = "OriginalPosition"
- OriginalPosition_40.Value = Vector3.new(0,-0.2,-0.5)
- OriginalPosition_40.Parent = WaistFrontAttachment
- WaistBackAttachment.WorldPosition = Vector3.new(118.214,13.821,87.135)
- WaistBackAttachment.CFrame = CFrame.new(0,-0.2,0.5,1,0,0,0,1,0,0,0,1)
- WaistBackAttachment.WorldCFrame = CFrame.new(118.2144,13.8212,87.135,1,0,0,0,1,0,0,0,1)
- WaistBackAttachment.Name = "WaistBackAttachment"
- WaistBackAttachment.Position = Vector3.new(0,-0.2,0.5)
- WaistBackAttachment.Parent = LowerTorso
- OriginalPosition_41.Name = "OriginalPosition"
- OriginalPosition_41.Value = Vector3.new(0,-0.2,0.5)
- OriginalPosition_41.Parent = WaistBackAttachment
- Root.C1 = CFrame.new(0,-0.2,0,1,0,0,0,1,0,0,0,1)
- Root.C0 = CFrame.new(0,-1,0,1,0,0,0,1,0,0,0,1)
- Root.Name = "Root"
- Root.Part1 = LowerTorso
- Root.Part0 = HumanoidRootPart
- Root.Parent = LowerTorso
- OriginalSize_15.Name = "OriginalSize"
- OriginalSize_15.Value = Vector3.new(2,0.4,1)
- OriginalSize_15.Parent = LowerTorso
- Head.TopSurface = Enum.SurfaceType.Smooth
- Head.Massless = true
- Head.Size = Vector3.new(2,1,1)
- Head.Name = "Head"
- Head.CanCollide = false
- Head.Transparency = 0.5
- Head.CFrame = CFrame.new(118.2144,16.3212,86.635,1,0,0,0,1,0,0,0,1)
- Head.BottomSurface = Enum.SurfaceType.Smooth
- Head.Parent = Dummy
- Mesh.Scale = Vector3.new(1.25,1.25,1.25)
- Mesh.Parent = Head
- OriginalSize_16.Name = "OriginalSize"
- OriginalSize_16.Value = Vector3.new(1.25,1.25,1.25)
- OriginalSize_16.Parent = Mesh
- FaceCenterAttachment.WorldPosition = Vector3.new(118.214,16.321,86.635)
- FaceCenterAttachment.WorldOrientation = Vector3.new(0,0,0)
- FaceCenterAttachment.CFrame = CFrame.new()
- FaceCenterAttachment.Axis = Vector3.new(1,0,0)
- FaceCenterAttachment.SecondaryAxis = Vector3.new(0,1,0)
- FaceCenterAttachment.WorldCFrame = CFrame.new(118.2144,16.3212,86.635,1,0,0,0,1,0,0,0,1)
- FaceCenterAttachment.Name = "FaceCenterAttachment"
- FaceCenterAttachment.WorldAxis = Vector3.new(1,0,0)
- FaceCenterAttachment.Orientation = Vector3.new(0,0,0)
- FaceCenterAttachment.WorldSecondaryAxis = Vector3.new(0,1,0)
- FaceCenterAttachment.Parent = Head
- OriginalPosition_42.Name = "OriginalPosition"
- OriginalPosition_42.Parent = FaceCenterAttachment
- FaceFrontAttachment.WorldPosition = Vector3.new(118.214,16.321,86.035)
- FaceFrontAttachment.WorldOrientation = Vector3.new(0,0,0)
- FaceFrontAttachment.CFrame = CFrame.new(0,0,-0.6,1,0,0,0,1,0,0,0,1)
- FaceFrontAttachment.Axis = Vector3.new(1,0,0)
- FaceFrontAttachment.SecondaryAxis = Vector3.new(0,1,0)
- FaceFrontAttachment.WorldCFrame = CFrame.new(118.2144,16.3212,86.035,1,0,0,0,1,0,0,0,1)
- FaceFrontAttachment.Name = "FaceFrontAttachment"
- FaceFrontAttachment.WorldAxis = Vector3.new(1,0,0)
- FaceFrontAttachment.Orientation = Vector3.new(0,0,0)
- FaceFrontAttachment.WorldSecondaryAxis = Vector3.new(0,1,0)
- FaceFrontAttachment.Position = Vector3.new(0,0,-0.6)
- FaceFrontAttachment.Parent = Head
- OriginalPosition_43.Name = "OriginalPosition"
- OriginalPosition_43.Value = Vector3.new(0,0,-0.6)
- OriginalPosition_43.Parent = FaceFrontAttachment
- HairAttachment.WorldPosition = Vector3.new(118.214,16.921,86.635)
- HairAttachment.WorldOrientation = Vector3.new(0,0,0)
- HairAttachment.CFrame = CFrame.new(0,0.6,0,1,0,0,0,1,0,0,0,1)
- HairAttachment.Axis = Vector3.new(1,0,0)
- HairAttachment.SecondaryAxis = Vector3.new(0,1,0)
- HairAttachment.WorldCFrame = CFrame.new(118.2144,16.9212,86.635,1,0,0,0,1,0,0,0,1)
- HairAttachment.Name = "HairAttachment"
- HairAttachment.WorldAxis = Vector3.new(1,0,0)
- HairAttachment.Orientation = Vector3.new(0,0,0)
- HairAttachment.WorldSecondaryAxis = Vector3.new(0,1,0)
- HairAttachment.Position = Vector3.new(0,0.6,0)
- HairAttachment.Parent = Head
- OriginalPosition_44.Name = "OriginalPosition"
- OriginalPosition_44.Value = Vector3.new(0,0.6,0)
- OriginalPosition_44.Parent = HairAttachment
- HatAttachment.WorldPosition = Vector3.new(118.214,16.921,86.635)
- HatAttachment.WorldOrientation = Vector3.new(0,0,0)
- HatAttachment.CFrame = CFrame.new(0,0.6,0,1,0,0,0,1,0,0,0,1)
- HatAttachment.Axis = Vector3.new(1,0,0)
- HatAttachment.SecondaryAxis = Vector3.new(0,1,0)
- HatAttachment.WorldCFrame = CFrame.new(118.2144,16.9212,86.635,1,0,0,0,1,0,0,0,1)
- HatAttachment.Name = "HatAttachment"
- HatAttachment.WorldAxis = Vector3.new(1,0,0)
- HatAttachment.Orientation = Vector3.new(0,0,0)
- HatAttachment.WorldSecondaryAxis = Vector3.new(0,1,0)
- HatAttachment.Position = Vector3.new(0,0.6,0)
- HatAttachment.Parent = Head
- OriginalPosition_45.Name = "OriginalPosition"
- OriginalPosition_45.Value = Vector3.new(0,0.6,0)
- OriginalPosition_45.Parent = HatAttachment
- NeckRigAttachment_2.WorldPosition = Vector3.new(118.214,15.821,86.635)
- NeckRigAttachment_2.CFrame = CFrame.new(0,-0.5,0,1,0,0,0,1,0,0,0,1)
- NeckRigAttachment_2.WorldCFrame = CFrame.new(118.2144,15.8212,86.635,1,0,0,0,1,0,0,0,1)
- NeckRigAttachment_2.Name = "NeckRigAttachment"
- NeckRigAttachment_2.Position = Vector3.new(0,-0.5,0)
- NeckRigAttachment_2.Parent = Head
- OriginalPosition_46.Name = "OriginalPosition"
- OriginalPosition_46.Value = Vector3.new(0,-0.5,0)
- OriginalPosition_46.Parent = NeckRigAttachment_2
- face.Name = "face"
- face.Texture = "rbxasset://textures/face.png"
- face.Parent = Head
- Neck.C1 = CFrame.new(0,-0.5,0,1,0,0,0,1,0,0,0,1)
- Neck.C0 = CFrame.new(0,0.8,0,1,0,0,0,1,0,0,0,1)
- Neck.Name = "Neck"
- Neck.Part1 = Head
- Neck.Part0 = UpperTorso
- Neck.Parent = Head
- OriginalSize_17.Name = "OriginalSize"
- OriginalSize_17.Value = Vector3.new(2,1,1)
- OriginalSize_17.Parent = Head
- face_2.Name = "face"
- face_2.Texture = "rbxasset://textures/face.png"
- face_2.Parent = Head
- Humanoid.HipHeight = 2
- Humanoid.RigType = Enum.HumanoidRigType.R15
- Humanoid.Parent = Dummy
- local mas = script
- local Script = Instance.new("Script")
- local Humanoid = Instance.new("Humanoid")
- local Face = Instance.new("Decal")
- local Head = Instance.new("Part")
- local RightArm = Instance.new("Part")
- local LeftArm = Instance.new("Part")
- local RightLeg = Instance.new("Part")
- local LeftLeg = Instance.new("Part")
- local Neck = Instance.new("Motor6D")
- local RightShoulder = Instance.new("Motor6D")
- local LeftShoulder = Instance.new("Motor6D")
- local RightHip = Instance.new("Motor6D")
- local LeftHip = Instance.new("Motor6D")
- local Torso = Instance.new("Part")
- local RootHip = Instance.new("Motor6D")
- local HumanoidRootPart = Instance.new("Part")
- local Mover = Instance.new("Model")
- Mover.Name = "Mover"
- Mover.PrimaryPart = HumanoidRootPart
- Mover.Parent = mas
- HumanoidRootPart.TopSurface = Enum.SurfaceType.Smooth
- HumanoidRootPart.Size = Vector3.new(2,2,1)
- HumanoidRootPart.Name = "HumanoidRootPart"
- HumanoidRootPart.Transparency = 0.5
- HumanoidRootPart.CFrame = CFrame.new(129.3425,3,41.6619,1,0,0,0,1,0,0,0,1)
- HumanoidRootPart.BottomSurface = Enum.SurfaceType.Smooth
- HumanoidRootPart.Parent = Mover
- RootHip.C1 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)
- RootHip.C0 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)
- RootHip.MaxVelocity = 0.1
- RootHip.Name = "Root Hip"
- RootHip.Part1 = Torso
- RootHip.Part0 = HumanoidRootPart
- RootHip.Parent = HumanoidRootPart
- Torso.TopSurface = Enum.SurfaceType.Smooth
- Torso.Size = Vector3.new(2,2,1)
- Torso.Name = "Torso"
- Torso.CanCollide = false
- Torso.CFrame = CFrame.new(129.3425,3,41.6619,1,0,0,0,1,0,0,0,1)
- Torso.BottomSurface = Enum.SurfaceType.Smooth
- Torso.Parent = Mover
- LeftHip.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
- LeftHip.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
- LeftHip.MaxVelocity = 0.1
- LeftHip.Name = "Left Hip"
- LeftHip.Part1 = LeftLeg
- LeftHip.Part0 = Torso
- LeftHip.Parent = Torso
- RightHip.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
- RightHip.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
- RightHip.MaxVelocity = 0.1
- RightHip.Name = "Right Hip"
- RightHip.Part1 = RightLeg
- RightHip.Part0 = Torso
- RightHip.Parent = Torso
- LeftShoulder.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
- LeftShoulder.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
- LeftShoulder.MaxVelocity = 0.1
- LeftShoulder.Name = "Left Shoulder"
- LeftShoulder.Part1 = LeftArm
- LeftShoulder.Part0 = Torso
- LeftShoulder.Parent = Torso
- RightShoulder.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0)
- RightShoulder.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
- RightShoulder.MaxVelocity = 0.1
- RightShoulder.Name = "Right Shoulder"
- RightShoulder.Part1 = RightArm
- RightShoulder.Part0 = Torso
- RightShoulder.Parent = Torso
- Neck.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
- Neck.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
- Neck.MaxVelocity = 0.1
- Neck.Name = "Neck"
- Neck.Part1 = Head
- Neck.Part0 = Torso
- Neck.Parent = Torso
- LeftLeg.TopSurface = Enum.SurfaceType.Smooth
- LeftLeg.Size = Vector3.new(1,2,1)
- LeftLeg.Name = "Left Leg"
- LeftLeg.CanCollide = false
- LeftLeg.CFrame = CFrame.new(128.8425,1,41.6619,1,0,0,0,1,0,0,0,1)
- LeftLeg.BottomSurface = Enum.SurfaceType.Smooth
- LeftLeg.Parent = Mover
- RightLeg.TopSurface = Enum.SurfaceType.Smooth
- RightLeg.Size = Vector3.new(1,2,1)
- RightLeg.Name = "Right Leg"
- RightLeg.CanCollide = false
- RightLeg.CFrame = CFrame.new(129.8425,1,41.6619,1,0,0,0,1,0,0,0,1)
- RightLeg.BottomSurface = Enum.SurfaceType.Smooth
- RightLeg.Parent = Mover
- LeftArm.TopSurface = Enum.SurfaceType.Smooth
- LeftArm.Size = Vector3.new(1,2,1)
- LeftArm.Name = "Left Arm"
- LeftArm.CanCollide = false
- LeftArm.CFrame = CFrame.new(127.8425,3,41.6619,1,0,0,0,1,0,0,0,1)
- LeftArm.BottomSurface = Enum.SurfaceType.Smooth
- LeftArm.Parent = Mover
- RightArm.TopSurface = Enum.SurfaceType.Smooth
- RightArm.Size = Vector3.new(1,2,1)
- RightArm.Name = "Right Arm"
- RightArm.CanCollide = false
- RightArm.CFrame = CFrame.new(130.8425,3,41.6619,1,0,0,0,1,0,0,0,1)
- RightArm.BottomSurface = Enum.SurfaceType.Smooth
- RightArm.Parent = Mover
- Head.TopSurface = Enum.SurfaceType.Smooth
- Head.Size = Vector3.new(2,1,1)
- Head.Name = "Head"
- Head.CFrame = CFrame.new(129.3425,4.5,41.6619,1,0,0,0,1,0,0,0,1)
- Head.BottomSurface = Enum.SurfaceType.Smooth
- Head.Parent = Mover
- Face.Name = "Face"
- Face.Texture = "rbxasset://textures/face.png"
- Face.Parent = Head
- Humanoid.WalkSpeed = 12
- Humanoid.Parent = Mover
- local StudsOffset = 0.1 -- Character height offset (make negative if you're too high)
- local Smoothness = 0.3 -- Character interpolation (0.1 - 1 = smooth - rigid)
- local AnchorCharacter = true -- Prevent physics from causing inconsistencies (Keep this on for accurate tool positioning)
- local HideCharacter = false -- Hide character on a faraway platform
- local NoCollision = true -- Disable collision with nearby players
- local RagdollEnabled = false -- Use your character instead of hats (NetworkOwner vulnerability)
- local RagdollHeadMovement = true -- Move your head separately from your body (+9 second wait)
- local AutoRun = false -- Rerun script on respawn
- local AutoRespawn = true -- Reset when your virtual body dies
- local WearAllAccessories = true -- Use all leftover hats for the head
- local AccurateHandPosition = false -- Position your Roblox hands according to your real hands
- local AccessorySettings = {
- LeftArm = "LavanderHair"; -- Name of hat used as this limb
- RightArm = "Pal Hair"; -- Name of hat used as this limb
- LeftLeg = "Kate Hair"; -- Name of hat used as this limb
- RightLeg = "Hat1"; -- Name of hat used as this limb
- Torso = "SeeMonkey"; -- Name of hat used as this limb
- Head = true; -- Are extra hats assumed to be worn?
- BlockArms = true; -- Remove accessory meshes of this limb
- BlockLegs = true; -- Remove accessory meshes of this limb
- BlockTorso = true; -- Remove accessory meshes of this limb
- LimbOffset = CFrame.Angles(math.rad(90), 0, 0); -- Don't touch
- }
- local FootPlacementSettings = {
- RightOffset = Vector3.new(.5, 0, 0),
- LeftOffset = Vector3.new(-.5, 0, 0),
- }
- --|| Script:
- local Script = nil;
- local Pointer = nil;
- -- My coding style changed throughout this a lot lol
- Script = function()
- --[[
- Variables
- --]]
- local Players = game:GetService("Players")
- local Client = Players.LocalPlayer
- local Character = Client.Character or Client.CharacterAdded:Wait()
- local WeldBase = Character:WaitForChild("HumanoidRootPart")
- local ArmBase = Character:FindFirstChild("RightHand") or Character:FindFirstChild("Right Arm") or WeldBase
- local Backpack = Client:WaitForChild("Backpack")
- local Mouse = Client:GetMouse()
- local Camera = workspace.CurrentCamera
- local VRService = game:GetService("VRService")
- local VRReady = VRService.VREnabled
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local HttpService = game:GetService("HttpService")
- local StarterGui = game:GetService("StarterGui")
- local HeadAccessories = {};
- local UsedAccessories = {};
- local Pointer = false;
- local Point1 = false;
- local Point2 = false;
- local VirtualRig = script.Dummy
- local VirtualBody = script.Mover
- local Anchor = Instance.new("Part")
- Anchor.Anchored = true
- Anchor.Transparency = 1
- Anchor.CanCollide = false
- Anchor.Parent = workspace
- if RagdollEnabled then
- if script:FindFirstChild("Network") then
- Network = require(script.Network)
- else
- Network = loadstring(game:HttpGet("https://pastebin.com/raw/bJms9qqM", true))()
- end
- Network:Claim();
- end
- --[[
- Character Protection
- --]]
- local CharacterCFrame = WeldBase.CFrame
- if not RagdollEnabled then
- Character.Humanoid.AnimationPlayed:Connect(function(Animation)
- Animation:Stop()
- end)
- for _, Track in next, Character.Humanoid:GetPlayingAnimationTracks() do
- Track:Stop()
- end
- wait(.5)
- if HideCharacter then
- local Platform = Instance.new("Part")
- Platform.Anchored = true
- Platform.Size = Vector3.new(100, 5, 100)
- Platform.CFrame = CFrame.new(0, 10000, 0)
- Platform.Transparency = 1
- Platform.Parent = workspace
- Character:MoveTo(Platform.Position + Vector3.new(0, 5, 0))
- wait(.5)
- end
- if AnchorCharacter then
- for _, Part in pairs(Character:GetChildren()) do
- if Part:IsA("BasePart") then
- Part.Anchored = true
- end
- end
- end
- end
- --[[
- Functions
- --]]
- function Tween(Object, Style, Direction, Time, Goal)
- local tweenInfo = TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction])
- local tween = game:GetService("TweenService"):Create(Object, tweenInfo, Goal)
- tween.Completed:Connect(function()
- tween:Destroy()
- end)
- tween:Play()
- return tween
- end
- local function GetMotorForLimb(Limb)
- for _, Motor in next, Character:GetDescendants() do
- if Motor:IsA("Motor6D") and Motor.Part1 == Limb then
- return Motor
- end
- end
- end
- local function CreateAlignment(Limb, Part0)
- local Attachment0 = Instance.new("Attachment", Part0 or Anchor)
- local Attachment1 = Instance.new("Attachment", Limb)
- local Orientation = Instance.new("AlignOrientation")
- local Position = Instance.new("AlignPosition")
- Orientation.Attachment0 = Attachment1
- Orientation.Attachment1 = Attachment0
- Orientation.RigidityEnabled = false
- Orientation.MaxTorque = 20000
- Orientation.Responsiveness = 40
- Orientation.Parent = Character.HumanoidRootPart
- Position.Attachment0 = Attachment1
- Position.Attachment1 = Attachment0
- Position.RigidityEnabled = false
- Position.MaxForce = 40000
- Position.Responsiveness = 40
- Position.Parent = Character.HumanoidRootPart
- Limb.Massless = false
- local Motor = GetMotorForLimb(Limb)
- if Motor then
- Motor:Destroy()
- end
- return function(CF, Local)
- if Local then
- Attachment0.CFrame = CF
- else
- Attachment0.WorldCFrame = CF
- end
- end;
- end
- local function GetExtraTool()
- for _, Tool in next, Character:GetChildren() do
- if Tool:IsA("Tool") and not Tool.Name:match("LIMB_TOOL") then
- return Tool
- end
- end
- end
- local function GetGripForHandle(Handle)
- for _, Weld in next, Character:GetDescendants() do
- if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
- return Weld
- end
- end
- wait(.2)
- for _, Weld in next, Character:GetDescendants() do
- if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
- return Weld
- end
- end
- end
- local function CreateRightGrip(Handle)
- local RightGrip = Instance.new("Weld")
- RightGrip.Name = "RightGrip"
- RightGrip.Part1 = Handle
- RightGrip.Part0 = WeldBase
- RightGrip.Parent = WeldBase
- return RightGrip
- end
- local function CreateAccessory(Accessory, DeleteMeshes)
- if not Accessory then
- return
- end
- local HatAttachment = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
- local HeadAttachment = VirtualRig:FindFirstChild(HatAttachment.Name, true)
- local BasePart = HeadAttachment.Parent
- local HatAtt = HatAttachment.CFrame
- local HeadAtt = HeadAttachment.CFrame
- if DeleteMeshes then
- if Accessory.Handle:FindFirstChild("Mesh") then
- Accessory.Handle.Mesh:Destroy()
- end
- end
- wait()
- local Handle = Accessory:WaitForChild("Handle")
- if Handle:FindFirstChildWhichIsA("Weld", true) then
- Handle:FindFirstChildWhichIsA("Weld", true):Destroy()
- Handle:BreakJoints()
- else
- Handle:BreakJoints()
- end
- Handle.Massless = true
- Handle.Transparency = 0.5
- UsedAccessories[Accessory] = true
- local RightGrip = CreateRightGrip(Handle)
- wait()
- for _, Object in pairs(Handle:GetDescendants()) do
- if not Object:IsA("BasePart") then
- pcall(function()
- Object.Transparency = 1
- end)
- pcall(function()
- Object.Enabled = false
- end)
- end
- end
- return Handle, RightGrip, HatAtt, HeadAtt, BasePart;
- end
- local function GetHeadAccessories()
- for _, Accessory in next, Character:GetChildren() do
- if Accessory:IsA("Accessory") and not UsedAccessories[Accessory] then
- local Handle, RightGrip, HatAtt, HeadAtt, BasePart = CreateAccessory(Accessory)
- table.insert(HeadAccessories, {Handle, RightGrip, HatAtt, HeadAtt, BasePart})
- do
- Handle.Transparency = 1
- end
- if not WearAllAccessories then
- break
- end
- end
- end
- end
- --[[
- VR Replication Setup
- --]]
- if not RagdollEnabled then
- LeftHandle, LeftHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftArm), AccessorySettings.BlockArms)
- RightHandle, RightHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightArm), AccessorySettings.BlockArms)
- LeftHipHandle, LeftLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftLeg), AccessorySettings.BlockLegs)
- RightHipHandle, RightLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightLeg), AccessorySettings.BlockLegs)
- TorsoHandle, TorsoGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.Torso), AccessorySettings.BlockTorso)
- GetHeadAccessories()
- elseif RagdollEnabled then
- if RagdollHeadMovement then
- Permadeath()
- MoveHead = CreateAlignment(Character["Head"])
- end
- MoveRightArm = CreateAlignment(Character["Right Arm"])
- MoveLeftArm = CreateAlignment(Character["Left Arm"])
- MoveRightLeg = CreateAlignment(Character["Right Leg"])
- MoveLeftLeg = CreateAlignment(Character["Left Leg"])
- MoveTorso = CreateAlignment(Character["Torso"])
- MoveRoot = CreateAlignment(Character.HumanoidRootPart)
- if RagdollHeadMovement then
- for _, Accessory in next, Character:GetChildren() do
- if Accessory:IsA("Accessory") and Accessory:FindFirstChild("Handle") then
- local Attachment1 = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
- local Attachment0 = Character:FindFirstChild(tostring(Attachment1), true)
- local Orientation = Instance.new("AlignOrientation")
- local Position = Instance.new("AlignPosition")
- print(Attachment1, Attachment0, Accessory)
- Orientation.Attachment0 = Attachment1
- Orientation.Attachment1 = Attachment0
- Orientation.RigidityEnabled = false
- Orientation.ReactionTorqueEnabled = true
- Orientation.MaxTorque = 20000
- Orientation.Responsiveness = 40
- Orientation.Parent = Character.Head
- Position.Attachment0 = Attachment1
- Position.Attachment1 = Attachment0
- Position.RigidityEnabled = false
- Position.ReactionForceEnabled = true
- Position.MaxForce = 40000
- Position.Responsiveness = 40
- Position.Parent = Character.Head
- end
- end
- end
- end
- --[[
- Movement
- --]]
- VirtualRig.Name = "VirtualRig"
- VirtualRig.RightFoot.BodyPosition.Position = CharacterCFrame.p
- VirtualRig.LeftFoot.BodyPosition.Position = CharacterCFrame.p
- VirtualRig.Parent = workspace
- VirtualRig:SetPrimaryPartCFrame(CharacterCFrame)
- VirtualRig.Humanoid.Health = 0
- VirtualRig:BreakJoints()
- --
- VirtualBody.Parent = workspace
- VirtualBody.Name = "VirtualBody"
- VirtualBody.Humanoid.WalkSpeed = 8
- VirtualBody.Humanoid.CameraOffset = Vector3.new(0, StudsOffset, 0)
- VirtualBody:SetPrimaryPartCFrame(CharacterCFrame)
- VirtualBody.Humanoid.Died:Connect(function()
- print("Virtual death")
- if AutoRespawn then
- Character:BreakJoints()
- if RagdollHeadMovement and RagdollEnabled then
- Network:Unclaim()
- Respawn()
- end
- end
- end)
- --
- Camera.CameraSubject = VirtualBody.Humanoid
- Character.Humanoid.WalkSpeed = 0
- Character.Humanoid.JumpPower = 1
- for _, Part in next, VirtualBody:GetChildren() do
- if Part:IsA("BasePart") then
- Part.Transparency = 1
- end
- end
- for _, Part in next, VirtualRig:GetChildren() do
- if Part:IsA("BasePart") then
- Part.Transparency = 1
- end
- end
- if not VRReady then
- VirtualRig.RightUpperArm.ShoulderConstraint.RigidityEnabled = true
- VirtualRig.LeftUpperArm.ShoulderConstraint.RigidityEnabled = true
- end
- local OnMoving = RunService.Stepped:Connect(function()
- local Direction = Character.Humanoid.MoveDirection
- local Start = VirtualBody.HumanoidRootPart.Position
- local Point = Start + Direction * 6
- local Gyro = VirtualBody.HumanoidRootPart:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", VirtualBody.HumanoidRootPart)
- Gyro.MaxTorque = Vector3.new(0, 100000, 0)
- Gyro.CFrame = Camera:GetRenderCFrame() + Direction
- if Pointer.Beam.Enabled then
- Point = Pointer.Target.WorldCFrame.p
- end
- VirtualBody.Humanoid:MoveTo(Point)
- end)
- Character.Humanoid.Jumping:Connect(function()
- VirtualBody.Humanoid.Jump = true
- end)
- UserInputService.JumpRequest:Connect(function()
- VirtualBody.Humanoid.Jump = true
- end)
- --[[
- VR Replication
- --]]
- if RagdollEnabled then
- for _, Part in pairs(Character:GetDescendants()) do
- if Part:IsA("BasePart") and Part.Name == "Handle" and Part.Parent:IsA("Accessory") then
- Part.LocalTransparencyModifier = 1
- elseif Part:IsA("BasePart") and Part.Transparency < 0.5 then
- Part.LocalTransparencyModifier = 0.5
- end
- if not Part:IsA("BasePart") and not Part:IsA("AlignPosition") and not Part:IsA("AlignOrientation") then
- pcall(function()
- Part.Transparency = 1
- end)
- pcall(function()
- Part.Enabled = false
- end)
- end
- end
- end
- local FootUpdateDebounce = tick()
- local function FloorRay(Part, Distance)
- local Position = Part.CFrame.p
- local Target = Position - Vector3.new(0, Distance, 0)
- local Line = Ray.new(Position, (Target - Position).Unit * Distance)
- local FloorPart, FloorPosition, FloorNormal = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character})
- if FloorPart then
- return FloorPart, FloorPosition, FloorNormal, (FloorPosition - Position).Magnitude
- else
- return nil, Target, Vector3.new(), Distance
- end
- end
- local function Flatten(CF)
- local X,Y,Z = CF.X,CF.Y,CF.Z
- local LX,LZ = CF.lookVector.X,CF.lookVector.Z
- return CFrame.new(X,Y,Z) * CFrame.Angles(0,math.atan2(LX,LZ),0)
- end
- local FootTurn = 1
- local function FootReady(Foot, Target)
- local MaxDist
- if Character.Humanoid.MoveDirection.Magnitude > 0 then
- MaxDist = .5
- else
- MaxDist = 1
- end
- local PastThreshold = (Foot.Position - Target.Position).Magnitude > MaxDist
- local PastTick = tick() - FootUpdateDebounce >= 2
- if PastThreshold or PastTick then
- FootUpdateDebounce = tick()
- end
- return
- PastThreshold
- or
- PastTick
- end
- local function FootYield()
- local RightFooting = VirtualRig.RightFoot.BodyPosition
- local LeftFooting = VirtualRig.LeftFoot.BodyPosition
- local LowerTorso = VirtualRig.LowerTorso
- local UpperTorso = VirtualRig.UpperTorso
- local Timer = 0.15
- local Yield = tick()
- repeat
- RunService.RenderStepped:Wait()
- if
- math.abs(LowerTorso.Position.Y - RightFooting.Position.Y) > 4
- or
- math.abs(LowerTorso.Position.Y - LeftFooting.Position.Y) > 4
- or
- ((UpperTorso.Position - RightFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > VirtualBody.Humanoid.WalkSpeed / 2.5
- or
- ((UpperTorso.Position - LeftFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > VirtualBody.Humanoid.WalkSpeed / 2.5
- then
- break
- end
- until tick() - Yield >= Timer
- end
- local function UpdateFooting()
- if not VirtualRig:FindFirstChild("LowerTorso") then
- wait()
- return
- end
- local Floor, FloorPosition, FloorNormal, Dist = FloorRay(VirtualRig.LowerTorso, 3)
- Dist = math.clamp(Dist, 0, 5)
- local Humanoid = VirtualBody.Humanoid
- local MoveDirection = ((Pointer.Target.WorldPosition - VirtualRig.LowerTorso.Position) * Vector3.new(1, 0, 1)).Unit
- if not Pointer.Beam.Enabled and Humanoid.MoveDirection.Magnitude == 0 then
- MoveDirection = Vector3.new(0, 0, 0)
- end
- local FootTarget =
- VirtualRig.LowerTorso.CFrame *
- CFrame.new(FootPlacementSettings.RightOffset) -
- Vector3.new(0, Dist, 0) +
- MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 4.2)
- if FootReady(VirtualRig.RightFoot, FootTarget) then
- VirtualRig.RightFoot.BodyPosition.Position = FootTarget.p
- VirtualRig.RightFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
- end
- FootYield()
- local FootTarget =
- VirtualRig.LowerTorso.CFrame *
- CFrame.new(FootPlacementSettings.LeftOffset) -
- Vector3.new(0, Dist, 0) +
- MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 4.2)
- if FootReady(VirtualRig.LeftFoot, FootTarget) then
- VirtualRig.LeftFoot.BodyPosition.Position = FootTarget.p
- VirtualRig.LeftFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
- end
- end
- local function UpdateTorsoPosition()
- if not RagdollEnabled then
- if TorsoHandle then
- local Positioning = VirtualRig.UpperTorso.CFrame
- if not TorsoGrip or not TorsoGrip.Parent then
- TorsoGrip = CreateRightGrip(TorsoHandle)
- end
- local Parent = TorsoGrip.Parent
- TorsoGrip.C1 = CFrame.new()
- TorsoGrip.C0 = TorsoGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * CFrame.new(0, -0.25, 0) * AccessorySettings.LimbOffset), Smoothness)
- TorsoGrip.Parent = nil
- TorsoGrip.Parent = Parent
- end
- else
- local Positioning = VirtualRig.UpperTorso.CFrame
- MoveTorso(Positioning * CFrame.new(0, -0.25, 0))
- MoveRoot(Positioning * CFrame.new(0, -0.25, 0))
- end
- end
- local function UpdateLegPosition()
- if not RagdollEnabled then
- if RightHipHandle then
- local Positioning =
- VirtualRig.RightLowerLeg.CFrame
- : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
- + Vector3.new(0, 0.5, 0)
- if not RightHipHandle or not RightHipHandle.Parent then
- RightLegGrip = CreateRightGrip(RightHipHandle)
- end
- local Parent = RightLegGrip.Parent
- RightLegGrip.C1 = CFrame.new()
- RightLegGrip.C0 = RightLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
- RightLegGrip.Parent = nil
- RightLegGrip.Parent = Parent
- end
- if LeftHipHandle then
- local Positioning =
- VirtualRig.LeftLowerLeg.CFrame
- : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
- + Vector3.new(0, 0.5, 0)
- if not LeftLegGrip or not LeftLegGrip.Parent then
- LeftLegGrip = CreateRightGrip(LeftHipHandle)
- end
- local Parent = LeftLegGrip.Parent
- LeftLegGrip.C1 = CFrame.new()
- LeftLegGrip.C0 = LeftLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
- LeftLegGrip.Parent = nil
- LeftLegGrip.Parent = Parent
- end
- else
- do
- local Positioning =
- VirtualRig.RightLowerLeg.CFrame
- : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
- * CFrame.Angles(0, math.rad(180), 0)
- + Vector3.new(0, 0.5, 0)
- MoveRightLeg(Positioning)
- end
- do
- local Positioning =
- VirtualRig.LeftLowerLeg.CFrame
- : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
- * CFrame.Angles(0, math.rad(180), 0)
- + Vector3.new(0, 0.5, 0)
- MoveLeftLeg(Positioning)
- end
- end
- end
- warn("VRReady is", VRReady)
- local function OnUserCFrameChanged(UserCFrame, Positioning, IgnoreTorso)
- local Positioning = Camera.CFrame * Positioning
- if ((VRReady and UserCFrame == Enum.UserCFrame.Head) or not VRReady) and not IgnoreTorso then
- UpdateTorsoPosition()
- UpdateLegPosition()
- end
- if not RagdollEnabled then
- if UserCFrame == Enum.UserCFrame.Head and AccessorySettings.Head then
- for _, Table in next, HeadAccessories do
- local Handle, RightGrip, HatAtt, HeadAtt, BasePart = unpack(Table)
- local LocalPositioning = Positioning
- if not RightGrip or not RightGrip.Parent then
- RightGrip = CreateRightGrip(Handle)
- Table[2] = RightGrip
- end
- local Parent = RightGrip.Parent
- if BasePart then
- LocalPositioning = BasePart.CFrame * HeadAtt
- end
- RightGrip.C1 = HatAtt
- RightGrip.C0 = RightGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(LocalPositioning), Smoothness)
- RightGrip.Parent = nil
- RightGrip.Parent = Parent
- end
- elseif RightHandle and UserCFrame == Enum.UserCFrame.RightHand and AccessorySettings.RightArm then
- local HandPosition = Positioning
- local LocalPositioning = Positioning
- if not RightHandGrip or not RightHandGrip.Parent then
- RightHandGrip = CreateRightGrip(RightHandle)
- end
- if AccurateHandPosition then
- HandPosition = HandPosition * CFrame.new(0, 0, 1)
- else
- HandPosition = HandPosition * CFrame.new(0, 0, .5)
- end
- if not VRReady then
- local HeadRotation = Camera.CFrame - Camera.CFrame.p
- HandPosition = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
- --LocalPositioning = (HeadRotation + (HandPosition * CFrame.new(0, 0, 1)).p) * CFrame.Angles(math.rad(-45), 0, 0)
- LocalPositioning = HandPosition * CFrame.new(0, 0, 1) * CFrame.Angles(math.rad(-180), 0, 0)
- if Point2 then
- VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
- elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
- VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
- end
- elseif not AccurateHandPosition then
- LocalPositioning = HandPosition * CFrame.new(0, 0, -1)
- end
- local Parent = RightHandGrip.Parent
- RightHandGrip.C1 = CFrame.new()
- RightHandGrip.C0 = RightHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
- RightHandGrip.Parent = nil
- RightHandGrip.Parent = Parent
- --
- local EquippedTool = GetExtraTool()
- if EquippedTool and EquippedTool:FindFirstChild("Handle") then
- local EquippedGrip = GetGripForHandle(EquippedTool.Handle)
- local Parent = EquippedGrip.Parent
- local ArmBaseCFrame = ArmBase.CFrame
- if ArmBase.Name == "Right Arm" then
- ArmBaseCFrame = ArmBaseCFrame
- end
- EquippedGrip.C1 = EquippedTool.Grip
- EquippedGrip.C0 = EquippedGrip.C0:Lerp(ArmBaseCFrame:ToObjectSpace(LocalPositioning), Smoothness)
- EquippedGrip.Parent = nil
- EquippedGrip.Parent = Parent
- end
- elseif LeftHandle and UserCFrame == Enum.UserCFrame.LeftHand and AccessorySettings.LeftArm then
- local HandPosition = Positioning
- if not LeftHandGrip or not LeftHandGrip.Parent then
- LeftHandGrip = CreateRightGrip(LeftHandle)
- end
- if AccurateHandPosition then
- HandPosition = HandPosition * CFrame.new(0, 0, 1)
- else
- HandPosition = HandPosition * CFrame.new(0, 0, .5)
- end
- if not VRReady then
- HandPosition = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
- --warn("Setting HandPosition to hands")
- if Point1 then
- VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
- elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
- VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
- end
- end
- local Parent = LeftHandGrip.Parent
- LeftHandGrip.C1 = CFrame.new()
- LeftHandGrip.C0 = LeftHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
- LeftHandGrip.Parent = nil
- LeftHandGrip.Parent = Parent
- end
- end
- if RagdollEnabled then
- if UserCFrame == Enum.UserCFrame.Head and RagdollHeadMovement then
- MoveHead(Positioning)
- elseif UserCFrame == Enum.UserCFrame.RightHand then
- local Positioning = Positioning
- if not VRReady then
- Positioning = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5)
- elseif AccurateHandPosition then
- Positioning = Positioning * CFrame.new(0, 0, 1)
- end
- if VRReady then
- Positioning = Positioning * AccessorySettings.LimbOffset
- end
- MoveRightArm(Positioning)
- if Point2 then
- VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
- elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
- VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
- end
- elseif UserCFrame == Enum.UserCFrame.LeftHand then
- local Positioning = Positioning
- if not VRReady then
- Positioning = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5)
- elseif AccurateHandPosition then
- Positioning = Positioning * CFrame.new(0, 0, 1)
- end
- if VRReady then
- Positioning = Positioning * AccessorySettings.LimbOffset
- end
- MoveLeftArm(Positioning)
- if Point1 then
- VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
- elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
- VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
- end
- end
- end
- if UserCFrame == Enum.UserCFrame.Head then
- VirtualRig.Head.CFrame = Positioning
- VirtualRig.HumanoidRootPart.CFrame = Positioning
- elseif UserCFrame == Enum.UserCFrame.RightHand and VRReady then
- VirtualRig.RightHand.CFrame = Positioning
- elseif UserCFrame == Enum.UserCFrame.LeftHand and VRReady then
- VirtualRig.LeftHand.CFrame = Positioning
- end
- if not VRReady and VirtualRig.LeftHand.Anchored then
- VirtualRig.RightHand.Anchored = false
- VirtualRig.LeftHand.Anchored = false
- elseif VRReady and not VirtualRig.LeftHand.Anchored then
- VirtualRig.RightHand.Anchored = true
- VirtualRig.LeftHand.Anchored = true
- end
- end
- local CFrameChanged = VRService.UserCFrameChanged:Connect(OnUserCFrameChanged)
- local OnStepped = RunService.Stepped:Connect(function()
- for _, Part in pairs(VirtualRig:GetChildren()) do
- if Part:IsA("BasePart") then
- Part.CanCollide = false
- end
- end
- if RagdollEnabled then
- for _, Part in pairs(Character:GetChildren()) do
- if Part:IsA("BasePart") then
- Part.CanCollide = false
- end
- end
- end
- if NoCollision then
- for _, Player in pairs(Players:GetPlayers()) do
- if Player ~= Client and Player.Character then
- local Char = Player.Character
- local Descendants = Player.Character:GetChildren()
- local IsClose, Part = false, Char.PrimaryPart or Char:FindFirstChild("Head") or Char:FindFirstChildWhichIsA("BasePart")
- if Part and (Camera.CFrame.Position - Part.Position).Magnitude < 30 then
- IsClose = true
- end
- if IsClose then
- for i = 1, #Descendants do
- local Part = Descendants[i]
- if Part:IsA("BasePart") then
- Part.CanCollide = false
- Part.Velocity = Vector3.new()
- Part.RotVelocity = Vector3.new()
- end
- end
- end
- end
- end
- end
- end)
- local OnRenderStepped = RunService.Stepped:Connect(function()
- Camera.CameraSubject = VirtualBody.Humanoid
- if RagdollEnabled then
- Character.HumanoidRootPart.CFrame = VirtualRig.UpperTorso.CFrame
- Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
- end
- if not VRReady then
- OnUserCFrameChanged(Enum.UserCFrame.Head, CFrame.new(0, 0, 0))
- OnUserCFrameChanged(Enum.UserCFrame.RightHand, CFrame.new(0, 0, 0), true)
- OnUserCFrameChanged(Enum.UserCFrame.LeftHand, CFrame.new(0, 0, 0), true)
- end
- end)
- spawn(function()
- while Character and Character.Parent do
- FootYield()
- UpdateFooting()
- end
- end)
- --[[
- Non-VR Support + VR Mechanics
- --]]
- local OnInput = UserInputService.InputBegan:Connect(function(Input, Processed)
- if not Processed then
- if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
- Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
- CameraOffset = Vector3.new(0, StudsOffset - 1.5, 0)
- })
- end
- if Input.KeyCode == Enum.KeyCode.X then
- if RagdollEnabled and RagdollHeadMovement then
- Network:Unclaim()
- Respawn()
- end
- end
- if Input.KeyCode == Enum.KeyCode.C or Input.KeyCode == Enum.KeyCode.ButtonB then
- Pointer.Beam.Enabled = true
- Pointer.Target.ParticleEmitter.Enabled = true
- elseif Input.KeyCode == Enum.KeyCode.ButtonY then
- VirtualBody.Humanoid:MoveTo(Pointer.Target.WorldCFrame.p)
- Pointer.Beam.Enabled = true
- Pointer.Target.ParticleEmitter.Enabled = true
- end
- end
- if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
- Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
- WalkSpeed = 16
- })
- end
- if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
- Point1 = true
- end
- if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
- Point2 = true
- end
- if VRReady and Input.KeyCode == Enum.KeyCode.ButtonX then
- --Character:BreakJoints()
- if RagdollEnabled and RagdollHeadMovement then
- Character:BreakJoints()
- Network:Unclaim()
- Respawn()
- end
- end
- end)
- local OnInputEnded = UserInputService.InputEnded:Connect(function(Input, Processed)
- if not Processed then
- if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
- Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
- CameraOffset = Vector3.new(0, StudsOffset, 0)
- })
- elseif Input.KeyCode == Enum.KeyCode.ButtonB or Input.KeyCode == Enum.KeyCode.C then
- if Mouse.Target and (Mouse.Hit.p - Camera.CFrame.p).Magnitude < 1000 then
- VirtualBody:MoveTo(Pointer.Target.WorldCFrame.p)
- VirtualRig:SetPrimaryPartCFrame(Pointer.Target.WorldCFrame)
- VirtualRig.RightFoot.BodyPosition.Position = Pointer.Target.WorldCFrame.p
- VirtualRig.LeftFoot.BodyPosition.Position = Pointer.Target.WorldCFrame.p
- end
- Pointer.Beam.Enabled = false
- Pointer.Target.ParticleEmitter.Enabled = false
- elseif Input.KeyCode == Enum.KeyCode.ButtonY then
- VirtualBody.Humanoid:MoveTo(Pointer.Target.WorldCFrame.p)
- Pointer.Beam.Enabled = false
- Pointer.Target.ParticleEmitter.Enabled = false
- end
- end
- if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
- Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
- WalkSpeed = 8
- })
- end
- if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
- Point1 = false
- end
- if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
- Point2 = false
- end
- end)
- --[[
- Proper Cleanup
- --]]
- local OnReset
- OnReset = Client.CharacterAdded:Connect(function()
- OnReset:Disconnect();
- CFrameChanged:Disconnect();
- OnStepped:Disconnect();
- OnRenderStepped:Disconnect();
- OnMoving:Disconnect();
- OnInput:Disconnect();
- OnInputEnded:Disconnect();
- VirtualRig:Destroy();
- VirtualBody:Destroy();
- if RagdollEnabled then
- Network:Unclaim();
- end
- if AutoRun then
- delay(2, function()
- Script()
- end)
- end
- end)
- do
- --[[
- Functions
- --]]
- local Players = game:GetService("Players")
- local Client = Players.LocalPlayer
- local VRService = game:GetService("VRService")
- local VRReady = VRService.VREnabled
- local UserInputService = game:GetService("UserInputService")
- local RunService = game:GetService("RunService")
- local Camera = workspace.CurrentCamera
- --[[
- Code
- --]]
- if VRReady or true then
- Pointer = game:GetObjects("rbxassetid://4476173280")[1]
- Pointer.Parent = workspace
- Pointer.Beam.Enabled = false
- Pointer.Target.ParticleEmitter.Enabled = false
- local RenderStepped = RunService.RenderStepped:Connect(function()
- if Pointer.Beam.Enabled then
- local RightHand = Camera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.RightHand)
- local Target = RightHand * CFrame.new(0, 0, -10)
- local Line = Ray.new(RightHand.p, (Target.p - RightHand.p).Unit * 10000)
- local Part, Position = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character, Pointer})
- local Distance = (Position - RightHand.p).Magnitude
- Pointer.Target.Position = Vector3.new(0, 0, -Distance)
- Pointer.CFrame = RightHand
- end
- end)
- local Input = UserInputService.InputBegan:Connect(function(Input)
- end)
- --
- local CharacterAdded
- CharacterAdded = Client.CharacterAdded:Connect(function()
- RenderStepped:Disconnect()
- Input:Disconnect()
- CharacterAdded:Disconnect()
- Pointer:Destroy()
- Pointer = nil
- end)
- else
- return
- end
- end
- end;
- Permadeath = function()
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- warn("50%")
- game.Players.LocalPlayer.Character=ch
- wait(6)
- warn("100%")
- end;
- Respawn = function()
- local ch = game.Players.LocalPlayer.Character
- local prt=Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name="Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 =Instance.new("Part", prt)
- z2.Name="Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 =Instance.new("Humanoid", prt)
- z3.Name="Humanoid"
- z1.Position = Vector3.new(0,9999,0)
- z2.Position = Vector3.new(0,9991,0)
- game.Players.LocalPlayer.Character=prt
- wait(5)
- game.Players.LocalPlayer.Character=ch
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement