mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-14 14:51:55 +00:00
13 lines
591 B
Lua
13 lines
591 B
Lua
local HumanoidRPSettings = require(script:WaitForChild("HumanoidRootPart"))
|
|
local CameraModule = require(script:WaitForChild("Camera"))
|
|
|
|
local Character = script.Parent
|
|
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
|
|
local Humanoid = Character:WaitForChild("Humanoid")
|
|
local CurrentCamera = workspace.CurrentCamera
|
|
|
|
local HRPSettings = HumanoidRPSettings.constructor(HumanoidRootPart)
|
|
local CameraConsturctor = CameraModule.constructor(CurrentCamera, HumanoidRootPart, Humanoid)
|
|
|
|
HRPSettings:DisableRobloxSounds()
|
|
CameraConsturctor:EnableBobbing() |