Hello, So I made this over shoulder camera script and what it does is, whenever a player equips a tool, the script (local) will check if a bool value exist, if it does then it will check if the the bool value is “true” if it is, then the shoulder camera thing will happen, i used a module script to make it easier for me and that local script is located in starterplayerScripts,
Script:
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local Module = require(ReplicatedStorage:WaitForChild(“EnhancedCameraSystem”))
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
while wait() do
if Character:FindFirstChildOfClass(“Tool”) then
local Tool = Character:FindFirstChildOfClass(“Tool”)
if Tool:FindFirstChild(“IsWeapon”) then
if Tool.IsWeapon.Value == true then
Module:Alignment(true)
Module:CameraMode(“Reset”)
else
Module:Alignment(false)
end
else
Module:Alignment(false)
end
else
Module:Alignment(false)
end
end
So I am new to this forum and I am not good with catagories, and I don’t want this topic to be moderated like my other last topic so if you have any suggestions on what to do with the code I wrote then please reply for what good changes I should do to it because I am not sure if it woud fully work.