I am working on a project that is like a waiting simulator, and I need this code!
Thanks!
Hi promaster1111,
Players > Player > PlayerScripts > CameraScript
local players = game:GetService("Players"); local player = players.LocalPlayer; local cam_script = player:WaitForChild("PlayerScripts"):WaitForChild("CameraScript"); cam_script.Disabled = true;
Players > Player > PlayerScripts > ControlScript
local players = game:GetService("Players"); local player = players.LocalPlayer; local char = player.Character or player.CharacterAdded:Wait(); local root = char:WaitForChild("HumanoidRootPart"); local seat = workspace.Seat; -- This is the seat. local control_script = player:WaitForChild("PlayerScripts"):WaitForChild("ControlScript"); control_script.Disabled = true; root.CFrame = seat.CFrame;
Thanks,
Best regards,
~~ KingLoneCat
Closed as Not Constructive by User#19524
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?