-- Decompiled with the Synapse X Luau decompiler.


script.Parent.RemoteEvent.OnClientEvent:Connect(function()
	local v1 = script.Parent.WeightImage:Clone();
	v1.Parent = script.Parent;
	v1:TweenPosition(UDim2.new(0.7, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Elastic, 0.5, true);
	v1.Visible = true;
	game:GetService("Debris"):AddItem(v1, 1);
	coroutine.resume(coroutine.create(function()
		for v2 = 1, 15 do
			game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(math.random(-100, 100) / 1000, math.random(-100, 100) / 1000, math.random(-100, 100) / 1000);
			wait();
		end;
		game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(0, 0, 0);
	end));
	while wait() do
		v1.Rotation = v1.Rotation + 10;	
	end;
end);
game.ReplicatedStorage.Hit.OnClientEvent:Connect(function(p1)
	script.Parent.Hit.Text = "Hit " .. p1;
	script.Parent.Hit.Visible = true;
	workspace.Ding:Play();
	for v3 = 1, 10 do
		script.Parent.Hit.Rotation = 5;
		wait(0.1);
		script.Parent.Hit.Rotation = -5;
		wait(0.1);
	end;
	script.Parent.Hit.Rotation = 0;
	script.Parent.Hit.Visible = false;
end);
