From f8ef17e3f5544d74da5761c892edea14426b95a4 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Wed, 23 Apr 2025 12:23:35 -0700
Subject: [PATCH] roblox_emulator: TweenService:Create() stub

---
 lib/roblox_emulator/src/runner/instance/instance.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/roblox_emulator/src/runner/instance/instance.rs b/lib/roblox_emulator/src/runner/instance/instance.rs
index 6285f4f..a735a00 100644
--- a/lib/roblox_emulator/src/runner/instance/instance.rs
+++ b/lib/roblox_emulator/src/runner/instance/instance.rs
@@ -438,7 +438,7 @@ const GET_SERVICE:ClassFunctionPointer=cf!(|lua,_this,service:mlua::String|{
 		//dom.root_ref()==this.referent ?
 		let service=&*service.to_str()?;
 		match service{
-			"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"=>{
+			"Lighting"|"RunService"|"Players"|"Workspace"|"MaterialService"|"TweenService"=>{
 				let referent=find_first_child_of_class(dom,dom.root(),service)
 				.map(|instance|instance.referent())
 				.unwrap_or_else(||
@@ -470,6 +470,9 @@ static CLASS_FUNCTION_DATABASE:CFD=phf::phf_map!{
 	"Sound"=>phf::phf_map!{
 		"Play"=>NO_OP,
 	},
+	"TweenService"=>phf::phf_map!{
+		"Create"=>NO_OP,
+	},
 };
 
 /// A store of created functions for each Roblox class.