Run it
Copy the script and paste it into your executor.
local RunService = game:GetService("RunService")
local Player = game.Players.LocalPlayer
local char = Player.Character or Player.CharacterAdded:Wait()
local head = char:WaitForChild("Head")
local headMesh = head:FindFirstChildWhichIsA("SpecialMesh")
local tool = Player:FindFirstChild("SyncAPI", true) or game.ReplicatedStorage:FindFirstChild("SyncAPI", true)
if not tool then return end
local server = tool.Parent.SyncAPI.ServerEndpoint
myHats = {}
_, thing (char:())
thing:() thing:()
mesh = thing.Handle:()
mesh
.(myHats, {
part = thing.Handle,
mesh = mesh.MeshId
})
time =
off =
target =
smooth =
acc =
rate = /
.ShakeSistemi =
RunService.RenderStepped:((dt)
.ShakeSistemi
time = time + dt *
target = .(time) *
off = off + (target - off) * dt * smooth
acc = acc + dt
acc >= rate
acc =
stuff = {
{
Part = head,
MeshId = headMesh.MeshId,
Offset = .(off, , )
}
}
_, hat (myHats)
.(stuff, {
Part = hat.part,
MeshId = hat.mesh,
Offset = .(off, , )
})
server:(, stuff)
)real

Universal