Upscalefanatic3

(Roblox) Force Camera on Players Script

Jan 5th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local plrs = game:GetService'Players'
  2. local target = "Jack_Hase"
  3. ------------------
  4. local lplr = plrs.LocalPlayer
  5. local CameraOutfit = Instance.new("SpecialMesh", lplr.Character.Torso)
  6. CameraOutfit.MeshId = "rbxassetid://703305403"
  7. CameraOutfit.TextureId = "rbxassetid://703305926"
  8. CameraOutfit.Scale = Vector3.new(0.02,0.02,0.02)
  9. lplr.Character["Right Arm"].Transparency = 1
  10. lplr.Character["Left Arm"].Transparency = 1
  11. lplr.Character["Right Leg"].Transparency = 1
  12. lplr.Character["Left Leg"].Transparency = 1
  13. lplr.Character.Head.Transparency = 1
  14. --[[local BuzzNoise = Instance.new("Sound", lplr.Character.Head)
  15. BuzzNoise.SoundId = ""
  16. BuzzNoise.Volume = 1
  17. ]]--
  18. local ok = plrs[target]
  19. local lplr = plrs.LocalPlayer
  20. game:GetService'RunService'.RenderStepped:Connect(function()
  21. local idk2 = CFrame.new(lplr.Character.PrimaryPart.Position,ok.Character.PrimaryPart.Position)
  22. local idk = idk2-Vector3.new(0,idk2.Y,0)+Vector3.new(0,lplr.Character.PrimaryPart.Position.Y,0)
  23. lplr.Character:SetPrimaryPartCFrame(idk)
  24. end)
Add Comment
Please, Sign In to add comment