Just like every other infinite yield problem out there, It infinite yields upon attempting to require the Ez Camera Shake module from serverscriptservice, here:
if not game:IsLoaded() then
game.Loaded:Wait()
end
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ContextActionService = game:GetService("ContextActionService")
local ServerScriptService = game:GetService("ServerScriptService")
local runService = game:GetService("RunService")
local Players = game:GetService("Players")
local player = game.Players.LocalPlayer
local character = player.Character
if not character or not character.Parent then
character = player.CharacterAdded:wait()
end
local mouse = player:GetMouse()
local Root = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")
local HumRoot = character:WaitForChild("HumanoidRootPart")
local animator = humanoid:WaitForChild("Animator")
local tool = script.Parent --
local gui = player.PlayerGui:WaitForChild("Attacks")
local CameraShaker = require(game:GetService("ServerScriptService"):WaitForChild("CameraShaker")) -- errors infinite yield here
local camera = workspace.CurrentCamera
Infinite yield possible on 'ServerScriptService:WaitForChild("CameraShakere")' - Studio
sorry for lack of info, i couldnt seem to solve this problem with other posts solutions.