script.Parent.RemoteEvent.OnClientEvent:Connect(function()local Y=script.Parent.WeightImage:Clone()Y.Parent=script.Parent Y:TweenPosition(UDim2.new(.7,0,.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic,.5,true)Y.Visible=true;(game:GetService("\068\101\098\114\105\115")):AddItem(Y,1)coroutine.resume(coroutine.create(function()for Y=1,15,1 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 Y.Rotation=Y.Rotation+10 end end)game.ReplicatedStorage.Hit.OnClientEvent:Connect(function(Y)script.Parent.Hit.Text="\072\105\116 "..Y script.Parent.Hit.Visible=true workspace.Ding:Play()for Y=1,10,1 do script.Parent.Hit.Rotation=5 wait(.1)script.Parent.Hit.Rotation=-5 wait(.1)end script.Parent.Hit.Rotation=0 script.Parent.Hit.Visible=false end)


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);
