Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  2. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  3. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  4. if plr.Character.Torso.Anchored == true then
  5. for y,t in pairs(plr.Character:GetChildren()) do
  6. if t:IsA("Part") then
  7. t.Anchored = false
  8. end
  9. end
  10. else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement