Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local HTTPService = game:GetService("HttpService")
- local SerializationV3 = loadstring(HTTPService:GetAsync("https://pastebin.com/raw/f6cPYWUb"))()
- function Import(Id)
- local ContainerScript = NS([[
- script.DescendantRemoving:Connect(function(x)
- local Parent = x.Parent
- wait()
- x:Clone().Parent = Parent
- end)
- ]],workspace)
- ContainerScript.Name = Id
- local Container = Instance.new("Model",ContainerScript)
- local Parts = SerializationV3.InflateBuildData(HTTPService:JSONDecode(HTTPService:GetAsync(("http://www.f3xteam.com/bt/export/%s"):format(Id))))
- for Index,Part in next,Parts do
- Part.Parent = Container
- if Index%100 == 0 then
- wait()
- end
- end
- Container:MakeJoints()
- end
- owner.Chatted:Connect(function(Message)
- local Ids = Message:lower():gsub("^/e ",""):match("^im/(.+)")
- if Ids then
- for Id in Ids:gmatch("(%w%w%w%w)") do
- Import(Id)
- print("Imported "..Id)
- wait()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement