Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cmdlp = game:GetService("Players").LocalPlayer
- for i,v in pairs(cmdlp.Character:GetDescendants()) do
- if v:IsA("SpecialMesh") then
- if v.TextureId == "http://www.roblox.com/asset/?id=4753340322" then
- v.Parent.Parent.Name = "Box1"
- elseif v.TextureId == "http://www.roblox.com/asset/?id=4683708967" then
- v.Parent.Parent.Name = "Keyboard"
- end
- end
- end
- for _, hat in pairs(cmdlp.Character.Humanoid:GetAccessories()) do
- if hat.Handle ~= nil then
- if hat.Name == "Box1" then
- local tool = Instance.new("Tool", cmdlp.Backpack)
- tool.Name = hat.Name
- tool.Parent = cmdlp.Character
- tool.GripPos = Vector3.new(0.86, 2.24, -1.5)
- tool.GripRight = Vector3.new(0, 0, -1)
- tool.GripUp = Vector3.new(0, 1, 0)
- tool.GripForward = Vector3.new(-1, 0, -0)
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld"):Destroy()
- hathandle.Parent = tool
- hathandle.Massless = true
- elseif hat.Name == "Keyboard" then
- local tool = Instance.new("Tool", cmdlp.Backpack)
- tool.Name = hat.Name
- tool.Parent = cmdlp.Character
- tool.GripPos = Vector3.new(-1.16, -1.096, -0.559)
- tool.GripRight = Vector3.new(-0.851, -0.525, -0.003)
- tool.GripUp = Vector3.new(0.011, -0.013, -1)
- tool.GripForward = Vector3.new(-0.525, 0.851, -0.016)
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld"):Destroy()
- hathandle.Parent = tool
- hathandle.Massless = true
- elseif hat.Name == "Meshes/AstronyautNAccessory" then
- local tool = Instance.new("Tool", cmdlp.Backpack)
- tool.Name = hat.Name
- tool.Parent = cmdlp.Character
- tool.GripPos = Vector3.new(-1.51, -0.33, -1.93)
- tool.GripRight = Vector3.new(-1, 0, -0.017)
- tool.GripUp = Vector3.new(0, 1, 0)
- tool.GripForward = Vector3.new(-0.017, 0, 1)
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld"):Destroy()
- hathandle.Parent = tool
- hathandle.Massless = true
- elseif hat.Name == "Box" then
- local tool = Instance.new("Tool", cmdlp.Backpack)
- tool.Name = hat.Name
- tool.Parent = cmdlp.Character
- tool.GripPos = Vector3.new(-2.05, 2.42, -1.66)
- tool.GripRight = Vector3.new(-2.05, 2.42, -1.66)
- tool.GripUp = Vector3.new(0, 1, 0)
- tool.GripForward = Vector3.new(-0.999, 0, 0.035)
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld"):Destroy()
- hathandle.Parent = tool
- hathandle.Massless = true
- elseif hat.Name == "DragonShoulderBuddy" then
- local tool = Instance.new("Tool", cmdlp.Backpack)
- tool.Name = hat.Name
- tool.Parent = cmdlp.Character
- tool.GripPos = Vector3.new(-0.71, 0.05, -1.32)
- tool.GripRight = Vector3.new(-0.875, 0, 0.485)
- tool.GripUp = Vector3.new(0, 1, 0)
- tool.GripForward = Vector3.new(0.485, 0, 0.875)
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld"):Destroy()
- hathandle.Parent = tool
- hathandle.Massless = true
- end
- end
- end
- cmdlp.Character.Humanoid.HipHeight = -.2
- local anims = cmdlp.Character.Animate
- local sit = anims.sit:FindFirstChildOfClass("Animation").AnimationId
- anims.idle:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.walk:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.run:FindFirstChildOfClass("Animation").AnimationId = sit
- anims.jump:FindFirstChildOfClass("Animation").AnimationId = sit
- local Anim = Instance.new("Animation")
- Anim.AnimationId = sit
- local k = cmdlp.Character.Humanoid:LoadAnimation(Anim)
- k:Play()
- k:AdjustSpeed(1)
- k:Destroy()
- Anim:Destroy()
- cmdlp.Character.Animate.Disabled = true
Advertisement
Add Comment
Please, Sign In to add comment