local T=game:GetService("\082\117\110\083\101\114\118\105\099\101")local V=require(game.ReplicatedStorage.ReGui)V:Init()local h=V:Window({Position=UDim2.fromOffset(10,10);Size=UDim2.fromOffset(500,300),NoMove=true;NoResize=true,NoSelect=true,NoTitleBar=true})local D=h:Viewport({Model=V:InsertPrefab("\082\049\053 \082\105\103");Size=UDim2.fromScale(1,1),Clone=true;Border=false})local C=D.Model T.RenderStepped:Connect(function(T)local V=30*T local h=C:GetPivot()*CFrame.Angles(0,math.rad(V),0)C:PivotTo(h)end)
local RunService = game:GetService("RunService")

local ReGui = require(game.ReplicatedStorage.ReGui)
ReGui:Init()

local Window = ReGui:Window({
	Position = UDim2.fromOffset(10,10),
	Size = UDim2.fromOffset(500, 300),
	NoMove = true,
	NoResize = true,
	NoSelect = true,
	NoTitleBar = true, 
})

local Viewport = Window:Viewport({
	Model = ReGui:InsertPrefab("R15 Rig"),
	Size = UDim2.fromScale(1, 1),
	Clone = true,
	Border = false
})

--// Spin rig
local Model = Viewport.Model
RunService.RenderStepped:Connect(function(DeltaTime)
	local Y = 30 * DeltaTime
	local Pivot = Model:GetPivot() * CFrame.Angles(0, math.rad(Y) ,0)
	Model:PivotTo(Pivot)
end)
