--script.Parent.ScreenGui.Parent = game.ServerStorage


script.Parent.Equipped:Connect(function(Hit)
	script.Parent.Hand.Equip:Play()
	
	
	if script.Parent.Configuration.HasAbility.Value == true then
			script.Parent.AbilityServer.Disabled = false
	script.Parent.Ability.Disabled = false
	player = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
	Mobile = script.Parent.MobileGui:Clone()
	
	Mobile.Parent = player.PlayerGui

	end
end)

script.Parent.Unequipped:Connect(function(Hit2)
	script.Parent.Hand.Equip:Stop()
	
	if script.Parent.Configuration.HasAbility.Value == true then
			script.Parent.AbilityServer.Disabled = true
	script.Parent.Ability.Disabled = true
	Mobile:Destroy()

	end
end)
