mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-18 03:21:54 +00:00
UDP flashlight working and fix some type errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user