UDP flashlight working and fix some type errors

This commit is contained in:
2024-03-02 02:58:45 -05:00
parent dd5677daa0
commit 0d08e341b2
13 changed files with 158 additions and 132 deletions

View File

@@ -16,8 +16,10 @@ type Waist = Motor6D
type NeckC0 = CFrame
type WaistC0 = CFrame
type UDP = UnreliableRemoteEvent
type struct_Spine = {
Remote: UnreliableRemoteEvent,
Remote: UDP,
Head: Head,
UpperTorso: UpperTorso,
Neck: Neck,
@@ -36,7 +38,7 @@ function Spine.constructor(Head: Head, UpperTorso: UpperTorso)
self.UpperTorso = UpperTorso
self.Neck = Head:WaitForChild("Neck") :: Neck
self.Waist = UpperTorso:WaitForChild("Waist") :: Waist
self.Remote = Remote :: UnreliableRemoteEvent
self.Remote = Remote :: UDP
self.NeckC0 = self.Neck.C0
self.WaistC0 = self.Waist.C0