-- if player rig is R6 swap to R15 and vice versa on click


Player = game:GetService("Players").LocalPlayer
Camera = workspace.CurrentCamera
repeat task.wait() until Player.Character

script.Parent.MouseButton1Down:Connect(function()
	local OGCamCF = Camera.CFrame
	game.ReplicatedStorage.Events.RigSwap:FireServer()
	task.wait(.2)
	script.Parent.Parent.Parent.ScreenBlocker.Visible = true
	task.wait(.15)
	workspace.CurrentCamera.CFrame = OGCamCF
	task.wait(.1)
	script.Parent.Parent.Parent.ScreenBlocker.Visible = false
end)
