Control NPC script

MADE BY rfvfgbbbb

FEATURE:

  • CONTROL NPC
    • By pressing t to go to your body 
    • replace username with your user name in local username = game.Workspace.username
local LocalPlayerPla = game:GetService("Players").LocalPlayer
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local username = game.Workspace.username
Mouse.Button1Down:connect(function()
if Mouse.Target ~= nil and Mouse.Target.Parent.Name ~= "Workspace" and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then

local Char = Mouse.Target.Parent
Player.Character = Mouse.Target.Parent
workspace.CurrentCamera.CameraSubject = Char
Char.Animate.Disabled = true
wait(0.01)
Char.Animate.Disabled = false
end
end)
game:GetService("UserInputService").InputBegan:Connect(function(Key)
    if Key.KeyCode == Enum.KeyCode.T then

Player.Character =  username
workspace.CurrentCamera.CameraSubject =  username
  username.Animate.Disabled = true
wait(0.01)
  username.Animate.Disabled = false
end
end)
local LocalPlayerPla = game:GetService("Players").LocalPlayer
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
Mouse.Button1Down:connect(function()
if Mouse.Target ~= nil and Mouse.Target.Parent.Name ~= "Workspace" and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then

local Char = Mouse.Target.Parent
Player.Character = Mouse.Target.Parent
workspace.CurrentCamera.CameraSubject = Char
wait()
Char.Animate.Disabled = false
end
end)
game:GetService("UserInputService").InputBegan:Connect(function(Key)
    if Key.KeyCode == Enum.KeyCode.T then

Player.Character =  username
workspace.CurrentCamera.CameraSubject =  username
wait()
Char.Animate.Disabled = false
end
end)

⚠️ Warning: Do not download any extensions or anything other than .txt/.lua file, because script will download only in .txt/.lua format or It will redirect you to a pastebin link.

📋 Notice: If you find any of the scripts patched or not working, please report it to Forever4D through Discord. The script will be removed or marked as patched!