Universal Script 📌
1.7k Views
11 Executions

rotation copier

Universal Script 📌
hellohell666
hellohell666Published 5
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

this script makes you look the same direction the player is looking (hopefully) :)

View Raw
getgenv().rotationcopier = false -- false to disable
local target = "twinki" -- can be shortened

-- actual code
local function getFullTargetUser()
	for i,v in pairs(game:GetService("Players"):GetPlayers()) do
		if string.find(v.Name, target) then
			return v.Name
		end
	end
end
local fulluser = getFullTargetUser()
local targethrp = workspace[fulluser].HumanoidRootPart
local cam = workspace.CurrentCamera
while getgenv().rotationcopier == true do
	cam.CFrame = CFrame.new(targethrp.CFrame.Position, targethrp.CFrame.LookVector * 100)
	task.wait()
end


Comments

2
Log in to join the conversation. Login
v00ccx's profile picture
v00ccx1 year ago

u can use getchangedproperty position or orentation its less laggier and more optimizable

2
GuyWhoScripts's profile picture
GuyWhoScripts1 year ago

Actually tuff

1